mirror of
https://github.com/videojs/video.js.git
synced 2025-01-13 10:32:26 +02:00
Fixed issue with Safari on Leopard (10.5) fullscreen not working.
This commit is contained in:
parent
9fb3f8923e
commit
d18c9082bc
@ -1,4 +1,5 @@
|
||||
// INCLUDES A COPY OF THE FLOWPLAYER JAVASCRIPT LIBRARY
|
||||
VideoJS.options.flashPlayer = "flowplayer"; // Set default flash player to Flowplayer.
|
||||
VideoJS.flashPlayers.flowplayer = {
|
||||
|
||||
flashPlayerVersion: 9,
|
||||
|
2
video.js
2
video.js
@ -863,7 +863,7 @@ VideoJS.player.extend({
|
||||
supportsFullScreen: function(){
|
||||
if(typeof this.video.webkitEnterFullScreen == 'function') {
|
||||
// Seems to be broken in Chromium/Chrome
|
||||
if (!navigator.userAgent.match("Chrome")) {
|
||||
if (!navigator.userAgent.match("Chrome") && !navigator.userAgent.match("Mac OS X 10.5")) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user