mirror of https://github.com/FreeTubeApp/FreeTube
Change text for max comments
This commit is contained in:
parent
10dfc2c147
commit
fc66812001
|
@ -91,7 +91,9 @@
|
||||||
"abab": {
|
"abab": {
|
||||||
"version": "1.0.4",
|
"version": "1.0.4",
|
||||||
"resolved": "https://registry.npmjs.org/abab/-/abab-1.0.4.tgz",
|
"resolved": "https://registry.npmjs.org/abab/-/abab-1.0.4.tgz",
|
||||||
"integrity": "sha1-X6rZwsB/YN12dw9xzwJbYqY8/U4="
|
"integrity": "sha1-X6rZwsB/YN12dw9xzwJbYqY8/U4=",
|
||||||
|
"dev": true,
|
||||||
|
"optional": true
|
||||||
},
|
},
|
||||||
"abbrev": {
|
"abbrev": {
|
||||||
"version": "1.1.1",
|
"version": "1.1.1",
|
||||||
|
|
|
@ -28,8 +28,6 @@
|
||||||
function invidiousAPI(resource, id, params, success) {
|
function invidiousAPI(resource, id, params, success) {
|
||||||
let requestUrl = 'https://www.invidio.us/api/v1/' + resource + '/' + id + '?' + $.param(params);
|
let requestUrl = 'https://www.invidio.us/api/v1/' + resource + '/' + id + '?' + $.param(params);
|
||||||
|
|
||||||
let requestUrl = 'https://www.googleapis.com/youtube/v3/' + resource + '?' + $.param(params);
|
|
||||||
|
|
||||||
if (useTor) {
|
if (useTor) {
|
||||||
tor.request(requestUrl, (err, res, body) => {
|
tor.request(requestUrl, (err, res, body) => {
|
||||||
if (!err && res.statusCode == 200) {
|
if (!err && res.statusCode == 200) {
|
||||||
|
@ -82,4 +80,4 @@ function youtubedlGetInfo(videoId, callback) {
|
||||||
ft.log('Success');
|
ft.log('Success');
|
||||||
callback(info);
|
callback(info);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -95,13 +95,10 @@
|
||||||
<p class='miniPLVideoChannelName'>{{video.channelName}}</p>
|
<p class='miniPLVideoChannelName'>{{video.channelName}}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
|
||||||
<div class='smallButton' v-on:click='copy("invidio.us", videoId)'>
|
|
||||||
COPY INVIDIOUS LINK
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id='showComments'>
|
<div id='showComments'>
|
||||||
Show Comments <i class="far fa-comments"></i> (Max of 100)
|
Show Comments <i class="far fa-comments"></i> (Max of 20)
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id='comments' :data-video-id="videoId">
|
<div id='comments' :data-video-id="videoId">
|
||||||
|
|
Loading…
Reference in New Issue