简体   繁体   中英

JWPlayer Javascript Load of file

Can someone tell me why this script doesn't work, it used to work on JW Player 5.x but now when they updated JwPlayer it doesn't work... the error I get is:

"Error loading player: No playable sources found"

Here is my code: PasteBin link

I would very much appreciate it if someone helps me, I have worked on it more then a week now and it's not working...

Right now I have the newest version of JWpLayer.

The whole point of this code is that the Javascript loads the link from: playlist_mysql.php

and here is what is shown on:

playlist_mysql.php

http://Example.com/mp3/2%20Unlimited%20-%20Jump%20For%20Joy.mp3|9|196|2 Unlimited|Jump for Joy

where the the player has to load the link

and seek to the 9-th second and it has to refresh after: 196 seconds where it's going to load another link from playlist_mysql.php

For JW6, you need to have a file loaded when the player first sets up.

Example:

file: 'dummy.mp4',

That will fix the error you are getting.

Also,

container.sendEvent

Is for JW4.

If you want to adjust things you need to use our new API to do that - http://support.jwplayer.com/customer/portal/articles/1413089-javascript-api-reference

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM