1
0
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:
Steve Heffernan 2010-12-01 16:18:50 -08:00
parent 9fb3f8923e
commit d18c9082bc
2 changed files with 2 additions and 1 deletions

View File

@ -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,

View File

@ -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;
}
}