Improved reliability entering Picture in Picture mode

This commit is contained in:
amarcu5
2017-05-29 23:17:15 +01:00
parent 4669f9453c
commit 3b51e261db
3 changed files with 3 additions and 3 deletions
Binary file not shown.
+2 -2
View File
@@ -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
View File
@@ -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>