Laker-Compendium icon indicating copy to clipboard operation
Laker-Compendium copied to clipboard

Problems playing back video fullscreen - try Videojs instead of default video player

Open k8fisher opened this issue 14 years ago • 2 comments

Hi just wondering if anyone else has had problems getting video to expand automativally to full screen? In both landscape and portrait (without the nasty black border ? E.g. It launches looking exactly as if the user had pressed the fullscreen button.

Atm Ive tried putting each setting I can do in css and html, looks as follows:

Does anyone have any thoughts / hadf the same before?

Any ideas very much welcome as Im at a loss and have tried every property I can think of.

Kate

CSS --------------- /** default layout **/ .winePlayer { padding:0px;} .dossier-start-bg{ padding:0px; width:768px; min-width:768px; }

/** ipad portrait **/ .dossier-start-bg{ padding:0px; width:768px; min-width:768px; }

/** ipad landscape **/ .dossier-start-bg{ padding:0px; width:1024px; min-width:1024px;

}

IN PAGE /** HEAD**/ document.getElementByTagName('video')[0].webkitEnterFullscreen();

/** BODY OF PAGE **/

k8fisher avatar Oct 26 '11 15:10 k8fisher

Yay if anyone else has this problem try!!! videojs instead of the default videoplayer setup. It works great!

http://videojs.com/#adding-videojs

k8fisher avatar Oct 27 '11 09:10 k8fisher

You used this to have video as your starting page background?

mtamony avatar Dec 07 '12 00:12 mtamony