dongxiequ3724 2015-06-18 09: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 11: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

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

报告相同问题?

悬赏问题

  • ¥15 vscode开发micropython,import模块出现异常
  • ¥20 Excel数据自动录入表单并提交
  • ¥30 silcavo仿真,30分钟,只需要代码
  • ¥15 FastReport 怎么实现打印后马上关闭打印预览窗口
  • ¥15 利用3支股票数据估计其均值和方差的95%置信区间。
  • ¥15 微信小程序运行一项功能时,弹出未知错误弹框,检查代码没有问题
  • ¥15 ATAC测序生成self-pseudo replicates之前是否要进行去线粒体reads
  • ¥15 python模糊字匹配函数问题
  • ¥20 谁刷目标页面的uv记录器上数据,数据只记录跳转的数值
  • ¥30 数据库软件的安装方法
手机看
程序员都在用的中文IT技术交流社区

程序员都在用的中文IT技术交流社区

专业的中文 IT 技术社区,与千万技术人共成长

专业的中文 IT 技术社区,与千万技术人共成长

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

客服 返回
顶部