Commit bc138217 authored by Christian Ebert's avatar Christian Ebert
Browse files

Issue #26: make isFullscreen return something meaningful

parent 0c0b7813
......@@ -564,7 +564,10 @@ $f.addPlugin("ipad", function(options) {
}
video.fp_isFullscreen = function() {
return false; //video.webkitDisplayingFullscreen;
var isfullscreen = video.webkitDisplayingFullscreen;
if (isfullscreen !== undefined)
return isfullscreen;
return false;
}
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