开发者

flowplayer large size video is not playing

开发者 https://www.devze.com 2023-04-01 23:20 出处:网络
I have embedded flowplayer in my site but the flowplayer is not playing video with 321 MB size. It is working fine with the small size videos. All videos are in MP4 formats and placed at Amazon cloud

I have embedded flowplayer in my site but the flowplayer is not playing video with 321 MB size.

It is working fine with the small size videos. All videos are in MP4 formats and placed at Amazon cloud computing.

This is the code I am using to play those videos:-

<script type="text/javascript" src="path/to/js/flowplayer/example/flowplayer-3.2.6.min.js"></script>

<a href="amazon/url/of/video.mp4"
 style="display:block;width:520px;height:330px"  
 id="player"> 
</a>

flowplayer("player", "path/to/flowswf/flowplayer/flowplayer-3.2.7.swf", {
    autoBuffering : false,      // set a Player property
    onError: function(errorCode, errorMessage) {
        alert(errorCode);
        alert(errorMessage);                      开发者_JAVA技巧 
    }
 });

Is it a limitation of flowplayer?

How can I play large size videos like 321 MB?

Thanks


According to this page you need to use RTMP to stream from Amazon. Looks like FlowPlayer needs to be configured to use a RTMP plugin. Maybe this will help ;-)

0

精彩评论

暂无评论...
验证码 换一张
取 消