Playback.prototype.toggleFullscreen = function(e){ e.stopPropagation(); if (this.video) { if (this.video.webkitEnterFullscreen) this.video.webkitEnterFullscreen(); else fullscreen(this.video); } };
pointer.on('fullscreen', function() { var fs = fullscreen(element) fs.once('attain', function() { pointer.request() }).request() })
module.exports = function fullscreenOnce(ele) { var f = fullscreen(ele) f.on('error', console.error.bind(console, 'Could not full screen!')) return onetime(f.request) }