Flash插件无法加载-JWPlayer [英] Flash plugin failed to load - jwplayer

查看:468
本文介绍了Flash插件无法加载-JWPlayer的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 jsfiddle 中设置了普通的jwplayer.

Link : https://jsfiddle.net/hiteshbhilai2010/nL9tazxo/12/

,但它在视频播放器屏幕中引发了错误.

请帮助我调试此问题

解决方案

不知道为什么发生了Flash插件不受支持的错误,但是我将主要播放器模式更改为html5,从而为您解决了此问题. /p>

https://jsfiddle.net/simsketch/nL9tazxo/14/

jwplayer("player-widget-container").setup({
    file: "http://182.70.125.99/edge360/videos/cam1/fast.mp4",
    title: "title",
    width: 500,
    height: 300,
    primary: 'html5'
  });

希望这会有所帮助!

注意:在jsfiddle上,您无需像示例中那样包含jquery或doc ready包装器.

I have normal jwplayer set up here in jsfiddle.

Link : https://jsfiddle.net/hiteshbhilai2010/nL9tazxo/12/

but it is throwing the error in video player screen.

Please help me debug this issue

解决方案

Not sure why the flash plugin not supported error is happening, but I changed the primary player mode to explicitly be html5, which solves the issue here for you.

https://jsfiddle.net/simsketch/nL9tazxo/14/

jwplayer("player-widget-container").setup({
    file: "http://182.70.125.99/edge360/videos/cam1/fast.mp4",
    title: "title",
    width: 500,
    height: 300,
    primary: 'html5'
  });

Hope this helps!

Note: On jsfiddle, you don't need to include jquery or the doc ready wrapper as you had done in your example.

这篇关于Flash插件无法加载-JWPlayer的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆