Commit a71d6246 authored by Anssi Piirainen's avatar Anssi Piirainen
Browse files

Merge pull request #30 from flowplayer/issue26

Issue #26: make isFullscreen return something meaningful
parents 37bc862e bc138217
...@@ -564,7 +564,10 @@ $f.addPlugin("ipad", function(options) { ...@@ -564,7 +564,10 @@ $f.addPlugin("ipad", function(options) {
} }
video.fp_isFullscreen = function() { video.fp_isFullscreen = function() {
return false; //video.webkitDisplayingFullscreen; var isfullscreen = video.webkitDisplayingFullscreen;
if (isfullscreen !== undefined)
return isfullscreen;
return false;
} }
video.fp_toggleFullscreen = function() { video.fp_toggleFullscreen = function() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment