Fixed loop breakage

This commit is contained in:
Maxim Stewart 2020-08-01 23:27:38 -05:00
parent 41e26c35a6
commit e578231d76
3 changed files with 5 additions and 5 deletions

View File

@ -11,9 +11,8 @@ Better YouTube + works to improve the YouTube experience by providing quick acce
* It shows volume level as you scroll.
* It lets Unix, Linux, and MacOS systems have the ability to download the video using native app calls.
# Version: 1.5.3
* Refactored a little
* Readded loader check
# Version: 1.5.4
* Fixed loop breakage
# Download
https://addons.mozilla.org/en-US/firefox/addon/better-youtube-plus/

View File

@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "Better Youtube +",
"version": "1.5.3",
"version": "1.5.4",
"description": "Enhancements for Youtube to have a better experience.",
"applications": {

View File

@ -43,7 +43,7 @@
let ytMaxDefaultImg, ytHqDefaultImg, ytAMaxDefaultImg, ytAHqDefaultImg; // Thumbnail images
let mainContentArea, playerWindow, containerOfPlyrWndow, video; // Youtube Player container
let videoTimeLength, videoTimeCurent, ytRangeStart, ytRangeEnd,
slugInputTag, endlessPlayTag, ytVideoIntervalLoop;
slugInputTag, endlessPlayTag, ytVideoIntervalLoop, loopingInterval;
let poppedContainer, videoSlug, volumeLbl, part;
let modalHasBeenClosed = false;
@ -454,6 +454,7 @@
}
const downloadVideo = () => {
console.log("Downloading: " + video.baseURI);
browser.runtime.sendMessage( { "url": video.baseURI } );
}