Skip to content

mobile Controlbar 添加 clarity , 页面展示为undefined。 #4

Description

@allenYetu211

设备: IOS | ANDROID 所有机型、 chrome | Safari 浏览器

配置信息:

const list = [
  {
    name:"高清",
    src:"http://securelive.ainemo.com/devnemo"
  },
 {
    name:"标清",
    src:"http://securelive.ainemo.com/devnemo"
 }
]

const option = {
        wrapper: '#wrapper', // video dom容器
        src,
        box: 'native' ,
        isLive: true,
        autoplay: true, // 注:flv直播中autoplay设置false无效
        controls: true,
        preload: true,
        playsInline: true,
        x5VideoPlayerFullscreen: true,
        x5VideoOrientation: 'landscape|portrait',
        xWebkitAirplay: true,
        muted: true,
        disableUA: ['Mozilla/5.0 (Linux; Android 4.4.2; HM NOTE 1TD Build/KOT49H; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/62.0.3202.97 Mobile Safari/537.36'],
        plugin: [{
          name: 'chimeeMobiControlbar',
          children: {
            play: true,
            progressBar: false,
            clarity: {
                list
            },
            screen: true
          }
        }]
    }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions