![](https://secure.gravatar.com/avatar/26f7b11a92110258f2018cf1ee8afb6a?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
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>