mirror of
https://github.com/gosticks/PiPer.git
synced 2026-10-06 07:26:55 +00:00
Improved reliability entering Picture in Picture mode
This commit is contained in:
Binary file not shown.
+2
-2
@@ -74,8 +74,8 @@ const addButton = function(parent) {
|
||||
return;
|
||||
}
|
||||
|
||||
const presentationMode = 'inline' === video.webkitPresentationMode ? 'picture-in-picture' : 'inline';
|
||||
video.webkitSetPresentationMode(presentationMode);
|
||||
const mode = video.webkitPresentationMode == 'picture-in-picture' ? 'inline' : 'picture-in-picture';
|
||||
video.webkitSetPresentationMode(mode);
|
||||
});
|
||||
|
||||
log('Picture in Picture button created');
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.2.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>27</string>
|
||||
<string>28</string>
|
||||
<key>Developer Identifier</key>
|
||||
<string>BQ6Q24MF9X</string>
|
||||
<key>URL</key>
|
||||
|
||||
Reference in New Issue
Block a user