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

javascript - jwplayer can't play Qiniu external link?

WBOY
Release: 2016-08-04 09:19:15
Original
1092 people have browsed it

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>
Copy after login
Copy after login

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>
Copy after login
Copy after login

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?

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template