Flash plugin failed to load - jwplayer

2019-07-19 22:30发布

问题:

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

回答1:

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.