jwplayer 6 multiple source tag
Hello,
I am trying to use playlists with JWPlayer6 in order to set multiple sources to a video. This is how I do:
jwplayer("myElement").setup({
playlist: [{
title: "test",
sources: [
{file: "http://localhost/jwplayer6/videos/test.webm"},
{file: "http://localhost/jwplayer6/videos/test.ogv"}
]
}]
});
However, I always get only one source in the video tag :
<video x-webkit-airplay="allow" src="http://localhost/jwplayer6/videos/test.webm"></video>
Is it the normal behavior ? Shouldn't I get something like:
<video x-webkit-airplay="allow" src="http://localhost/jwplayer6/videos/test.webm">
<source src="http://localhost/jwplayer6/videos/test.webm"></source>
<source src="http://localhost/jwplayer6/videos/test.ogv"></source>
</video>