dongxiequ3724 2015-06-18 17:10
浏览 129
已采纳

JWPlayer Javascript加载文件

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

  • 写回答

1条回答 默认 最新

  • dongshuzhuo5659 2015-06-18 19:29
    关注

    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

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥100 set_link_state
  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号
  • ¥15 基于单片机的靶位控制系统
  • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度