Improved Youtube support

Moved PiP mode button left of the Full screen button
This commit is contained in:
amarcu5
2017-04-30 14:32:40 +01:00
parent 9ff8dbd130
commit f55abf20d5
3 changed files with 5 additions and 2 deletions

Binary file not shown.

View File

@@ -317,11 +317,14 @@ const resources = {
previousButton.title = previousTitle;
});
},
buttonInsertBefore: function(/** Element */ parent) {
return parent.lastChild;
},
buttonParent: function() {
const e = document.getElementById('movie_player') || document.getElementById('player');
return e && e.querySelector('.ytp-right-controls');
},
buttonStyle: 'transform:scale(0.7)',
buttonStyle: 'transform:scale(0.68)',
videoElement: function() {
const e = document.getElementById('movie_player') || document.getElementById('player');
return e && e.querySelector('video.html5-main-video');

View File

@@ -10,7 +10,7 @@
<key>CFBundleShortVersionString</key>
<string>0.1.2</string>
<key>CFBundleVersion</key>
<string>14</string>
<string>15</string>
<key>Developer Identifier</key>
<string>BQ6Q24MF9X</string>
<key>URL</key>