Skip to content
This repository was archived by the owner on Mar 23, 2018. It is now read-only.

Commit 5693c87

Browse files
committed
1.8.9
Fixes #548
1 parent 3b15b96 commit 5693c87

File tree

8 files changed

+11
-11
lines changed

8 files changed

+11
-11
lines changed

bin/update.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"addons": {
33
"unlisted-particle@particlecore.github.io": {
44
"updates": [{
5-
"version": "1.8.8",
5+
"version": "1.8.9",
66
"update_link": "https://github.com/ParticleCore/Particle/raw/master/dist/YouTubePlus.xpi",
77
"applications": {
88
"gecko": {

dist/Particle.nex

-1.58 KB
Binary file not shown.

dist/YouTubePlus.xpi

-6.24 KB
Binary file not shown.

src/Opera/JS/YouTubePlus.user.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// ==UserScript==
2-
// @version 1.8.7
2+
// @version 1.8.8
33
// @name YouTube +
44
// @namespace https://github.com/ParticleCore
55
// @description YouTube with more freedom
@@ -601,6 +601,7 @@
601601
player = document.getElementById("movie_player");
602602
if (player) {
603603
player.setPlaybackQuality(user_settings.VID_DFLT_QLTY);
604+
player.cueVideoByPlayerVars(b.args);
604605
}
605606
return temp;
606607
};
@@ -639,7 +640,7 @@
639640
}
640641
function modPlayerCreate(original) {
641642
return function (a, b) {
642-
var temp, player;
643+
var temp;
643644
temp = a.id || a;
644645
if (temp !== "player-api" && temp !== "upsell-video") {
645646
return original.apply(this, arguments);
@@ -649,7 +650,6 @@
649650
original.apply(this, arguments);
650651
} else if (typeof a === "object") {
651652
player_instance = original.apply(this, arguments);
652-
player = document.getElementById("movie_player");
653653
if (user_settings.VID_PLR_FIT) {
654654
resizePlayer();
655655
}
@@ -2374,7 +2374,7 @@
23742374
holder = document.createElement("link");
23752375
holder.rel = "stylesheet";
23762376
holder.type = "text/css";
2377-
holder.href = "https://particlecore.github.io/Particle/stylesheets/YouTubePlus.css?v=1.8.7";
2377+
holder.href = "https://particlecore.github.io/Particle/stylesheets/YouTubePlus.css?v=1.8.8";
23782378
document.documentElement.appendChild(holder);
23792379
}
23802380
holder = document.createElement("script");

src/Opera/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"manifest_version": 2,
33
"name": "Particle",
4-
"version": "1.8.7",
4+
"version": "1.8.9",
55
"description": "YouTube with more freedom",
66
"default_locale": "en",
77
"icons": {

src/Userscript/YouTubePlus.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -601,6 +601,7 @@
601601
player = document.getElementById("movie_player");
602602
if (player) {
603603
player.setPlaybackQuality(user_settings.VID_DFLT_QLTY);
604+
player.cueVideoByPlayerVars(b.args);
604605
}
605606
return temp;
606607
};
@@ -639,7 +640,7 @@
639640
}
640641
function modPlayerCreate(original) {
641642
return function (a, b) {
642-
var temp, player;
643+
var temp;
643644
temp = a.id || a;
644645
if (temp !== "player-api" && temp !== "upsell-video") {
645646
return original.apply(this, arguments);
@@ -649,7 +650,6 @@
649650
original.apply(this, arguments);
650651
} else if (typeof a === "object") {
651652
player_instance = original.apply(this, arguments);
652-
player = document.getElementById("movie_player");
653653
if (user_settings.VID_PLR_FIT) {
654654
resizePlayer();
655655
}

src/Webextension/JS/YouTubePlus.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -601,6 +601,7 @@
601601
player = document.getElementById("movie_player");
602602
if (player) {
603603
player.setPlaybackQuality(user_settings.VID_DFLT_QLTY);
604+
player.cueVideoByPlayerVars(b.args);
604605
}
605606
return temp;
606607
};
@@ -639,7 +640,7 @@
639640
}
640641
function modPlayerCreate(original) {
641642
return function (a, b) {
642-
var temp, player;
643+
var temp;
643644
temp = a.id || a;
644645
if (temp !== "player-api" && temp !== "upsell-video") {
645646
return original.apply(this, arguments);
@@ -649,7 +650,6 @@
649650
original.apply(this, arguments);
650651
} else if (typeof a === "object") {
651652
player_instance = original.apply(this, arguments);
652-
player = document.getElementById("movie_player");
653653
if (user_settings.VID_PLR_FIT) {
654654
resizePlayer();
655655
}

src/Webextension/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"manifest_version": 2,
33
"name": "YouTube Plus",
4-
"version": "1.8.8",
4+
"version": "1.8.9",
55
"description": "YouTube with more freedom",
66
"default_locale": "en",
77
"icons": {

0 commit comments

Comments
 (0)