Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

wrongly applied jw-flag-audio-player in all browsers


jw-flag-audio-player is applied to my statiC video in chrome and firefox and safari.
i can remove the class on load and things go pretty smoothly but i shouldn't have to.

my set up is:

var playerInstance = jwplayer("videoPlayer");
playerInstance.setup({
//flashplayer: '/js/jwplayer-7.2.4/jwplayer.flash.swf',
sources :[
{ file: "http://techslides.com/demos/sample-videos/small.mp4" },
{ file: "http://techslides.com/demos/sample-videos/small.webm" },
{ file: "http://techslides.com/demos/sample-videos/small.flv" }
],
image: "image.jpg",
tracks: [{
file: "file.vtt",
kind:'chapters'
}],
skin : {
name : "myskin"
},
"width": "100%",
"height": "calc(100vh - 200px)"
});

why would it be interpreted as an audio player?

1 Community Answers

James Herrieven

User  
0 rated :

If "calc(100vh - 200px)" is deemed to equate to less than 40px then the player will go into "Audio mode". Do you have an example page to look at?

James Herrieven
===================================================
Powered by Haiku
http://powered-by-haiku.co.uk/
---------------------------------------------------
Tatami for Online Video
http://dev.powered-by-haiku.co.uk/solutions/tatami/
---------------------------------------------------
skype: JamesHerrieven
email: james[at]haiku[dot]co[dot]uk
===================================================

This question has received the maximum number of answers.