This repository was archived by the owner on Mar 23, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 8 files changed +11
-11
lines changed
Expand file tree Collapse file tree 8 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 22 "addons" : {
3344 "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" : {
Original file line number Diff line number Diff line change 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
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 } ;
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 ) ;
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 }
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" ) ;
Original file line number Diff line number Diff line change 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" : {
Original file line number Diff line number Diff line change 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 } ;
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 ) ;
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 }
Original file line number Diff line number Diff line change 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 } ;
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 ) ;
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 }
Original file line number Diff line number Diff line change 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" : {
You can’t perform that action at this time.
0 commit comments