Hi Guys,
The following video is having issues when opening in full screen mode with the latest version of safari.
Sometimes when you click full screen, It will open full screen in the browser window like HTML5 style. However, usually it opens full screen and brings up the safari / html5 default control bar in addition to the JW Player.
Code Below.
Any Guidance Appreciated.
Stuart
<div id="player1"></div>
<script type="text/javascript">
jwplayer("player1").setup({
autostart: "true",
controlbar: "over",
flashplayer: "/assets/components/jwplayer58/player.swf",
image: "image.jpg",
width: 610,
height:350,
skin: "/assets/components/jwplayer5/bekle.zip",
levels: [
{file: "filename.mp4"}
],
plugins:{
"gapro-2": {}
}
});
</script>
@Stuart
I am assuming that you mean clicking on the control bar 'fullscreen',right?
I am not having any issues using Safari.
If I click on the controlbar 'fullscreen' icon it goes full screen and returns to normal when I click on the icon again.
In looking at the code of the link above, I notice a couple of things
<script type="text/javascript" src="http://static.thailand.tv/jwplayer58/jwplayer.js"></script>This should be placed within the head elements and not in the body unless it is just above the closing body element
levels: [{file: "name of file.mp4"}
],
Although correct IF you are planning to use additional video formats BUT isn't really needed IF you are just using the mp4 format thus file: "name of file.mp4" is suffice.