javascript - HTML5: Video on the iPad - Custom Zoom Control -


i've created smaller uiwebview on ipad, , i've written own html5 controllers video. when maximize video it's showing pure black screen (rather actual video). sound still working , can still pause , hit play, have black video. (also when go minimized mode video isn't there more).

this of course works fine in web browser, not on ipad.

here maximize code:

function fullscreenon(){     videoisfullscreen = true;     videoorigwidth = video.offsetwidth;     videoorigheight = video.offsetheight;     video.style.width = window.innerwidth + "px";     video.style.height = window.innerheight + "px";     video.style.position = "fixed";     video.style.left = 0;     video.style.top = 0;     controls.style.position = "fixed";     positioncontroller();      fullscreencontrol.classname = "fs-active control";   }    function fullscreenoff(){     videoisfullscreen = false;     video.style.width = videoorigwidth + "px";     video.style.height = videoorigheight + "px";     video.style.position = "static";     controls.style.position = "absolute";     positioncontroller();     fullscreencontrol.classname = "control";   } 

the video variable container.

if entertains you.. screenshot: screenshot of black window

cheers

i'm working on similar, , i've found setting position = 'absolute' on video element causes stop displaying video.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -