使用jwplayer 6.11视频无法在ipad上播放 [英] Using jwplayer 6.11 video not Play on ipad

查看:160
本文介绍了使用jwplayer 6.11视频无法在ipad上播放的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们使用JW Player 6.11进行视频播放.mp4& .flv,但无法使用.

We using JW Player 6.11 for video play .mp4 & .flv but not work on.

  1. ios7
  2. iPhone

那时候该如何在iPad上修复这个问题?

How can I fix this one for at that time for iPad?

function playvideo() {
        jwplayer("mediaplayer").setup({
            playlist: [{

                    sources: [
                    { file: "<?php echo $this->getUrl().'Content/video/'.trim($_product->getVideourl());?>",
                        //type: 'html5',
                    }
            ],

            title: "Play"
        }
        ],

        controlbar: "none",
        height:388,
        width: 610,
        streamer: "rtmp://s14flalja9b5hr.cloudfront.net/cfx/st",
        startparam: "ec_seek",
        fallback: false, 
        repeat: false, 
        autostart: true, 
        primary: 'flash', 
        bufferlength: '30',
        stretching: 'fill',
        onpause: 'true',
        events: {
            onReady: function() { 
                    var t = setInterval(function() {
                            jwplayer("mediaplayer").play();
                            clearInterval(t);
                    }, 500); 
            },
            onComplete: function() { 
                    var t = setInterval(function() {
                            jwplayer("mediaplayer").remove();
                            clearInterval(t);
                    }, 500); 

            },
        }
        });

jwplayer

推荐答案

RTMP是仅Flash协议.无论您使用哪种播放器脚本,都需要Flash.它不能在移动设备(iOS,Android)上使用,因为它们都不支持Flash.

RTMP is a Flash-only protocol. It requires Flash, no matter what player script you use. It can't be used on a mobile device (iOS, Android) because none of them supports Flash.

任何移动设备上也没有自动启动功能,这是设备本身的设计方式,您无法覆盖它.

There is also no autostart on any mobile device - that's the way the devices themselves are designed, and you can't override that.

这篇关于使用jwplayer 6.11视频无法在ipad上播放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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