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

jw player 7 primary flash not working


I am creating a project. I need to play musics in background.
I want to play musics with jw player. But when I set the primary to flash i got html5 player. Here is my JS function:

<script type="text/javascript">
function playtrack(id)
{
var playerInstance = jwplayer("myElement");
playerInstance.setup({
primary: 'flash',
file: 'http://localhost/zaycev2/static/file/tracks/' + id + '/play.mp3',
width: 640,
height: 480,
autostart: true
});
}
</script>

2 Community Answers

ayxano

User  
2 rated :

No it is working... Sorry =)

Heidi

JW Player Support Agent  
1 rated :

Hi, I’m going to resolve this for now if you don’t have further questions.

This question has received the maximum number of answers.