Home >Backend Development >PHP Tutorial >javascript - jwplayer can't play Qiniu external link?

javascript - jwplayer can't play Qiniu external link?

WBOY
WBOYOriginal
2016-08-04 09:19:151096browse

Qiniu external link:http://7xrjj0.com1.z0.glb.clouddn.com/%40%2Fvideo/2047/f72a4e11-d0c1-42e9-bbff-aab2ee9958c1
jwplayer local video can be played:

<code>    <script type = "text/javascript" >

       jwplayer ( "container" ). setup ({

                          flashplayer : "/jwplayer/player.swf" ,

                          file : "./band.mp4" ,

                          height : 270 ,

                          width : 480

      });

   </script></code>

The above file: is changed to an external link address, the video cannot be played, and the error message is as follows:
Error loading player:
No playable sources found

Let me ask you experts, what is the reason?

Reply content:

Qiniu external link:http://7xrjj0.com1.z0.glb.clouddn.com/%40%2Fvideo/2047/f72a4e11-d0c1-42e9-bbff-aab2ee9958c1
jwplayer local video can be played:

<code>    <script type = "text/javascript" >

       jwplayer ( "container" ). setup ({

                          flashplayer : "/jwplayer/player.swf" ,

                          file : "./band.mp4" ,

                          height : 270 ,

                          width : 480

      });

   </script></code>

The above file: is changed to an external link address, the video cannot be played, and the error message is as follows:
Error loading player:
No playable sources found

Let me ask you experts, what is the reason?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn