Clappr HTML5播放器加载插件

时间:2018-08-15 11:58:36

标签: javascript jquery html5 clappr

在Clappr播放器中,播放器初始化后如何动态加载插件?

            var playerElement = document.getElementById("player-wrapper");

            var player = new Clappr.Player({
                source: 'http://clappr.io/highline.mp4',
                baseUrl: '/latest',
                poster: 'http://clappr.io/poster.png',
                mute: true,
                height: 360,
                width: 640,                   
            });

            player.attachTo(playerElement);

0 个答案:

没有答案