mirror of
https://github.com/gosticks/PiPer.git
synced 2026-10-06 07:26:55 +00:00
Improved LittleThings support
Moved PiP mode button left of the Full screen button and fixed bug that occasionally prevents button from showing
This commit is contained in:
Binary file not shown.
+5
-4
@@ -328,14 +328,15 @@ const resources = {
|
||||
'littlethings': {
|
||||
buttonClassName: 'jw-icon jw-icon-inline jw-button-color jw-reset jw-icon-logo',
|
||||
buttonElementType: 'div',
|
||||
buttonInsertBefore: function(/** Element */ parent) {
|
||||
return parent.lastChild;
|
||||
},
|
||||
buttonParent: function() {
|
||||
const e = document.getElementById('player');
|
||||
return e && e.querySelector('.jw-controlbar-right-group');
|
||||
return document.querySelector('.jw-controlbar-right-group');
|
||||
},
|
||||
buttonStyle: 'width:38px',
|
||||
videoElement: function() {
|
||||
const e = document.getElementById('player');
|
||||
return e && e.querySelector('video.jw-video');
|
||||
return document.querySelector('video.jw-video');
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.2.1</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>57</string>
|
||||
<string>58</string>
|
||||
<key>Developer Identifier</key>
|
||||
<string>BQ6Q24MF9X</string>
|
||||
<key>URL</key>
|
||||
|
||||
Reference in New Issue
Block a user