Jwplayer字幕和分辨率

时间:2017-08-01 09:05:35

标签: javascript html jwplayer

我想在Jwpalyer中添加字幕和分辨率选项 代码

<script type="text/javascript">
    //Note: JW Player 7 now requires a license key. Please make sure to include this on your page if you are self-hosting.
    //jwplayer.key = "Ywok59g9j93GtuSU7+axNzjIp/TBfiK4s0vvYg==";
    var videoPlayer = jwplayer('my_video').setup({
        file: 'http://content.jwplatform.com/videos/IMUjQRAB-kNspJqnJ.mp4',
        image:'http://assets-jpcust.jwpsrv.com/thumbs/F5K02Tmh-720.jpg',
        width: '640',
        height: 360,
        //autostart: true,
        skin: {
            name: "flat"
        },
        //timeSliderAbove: true,
        //Adding your brand: Logo & Right-click
        logo: {
            file: './jw-logo/logo_flat.png',
            logoBar: './jw-logo/logo_bar.png',
            position: 'top-left',
            link: 'http://codecanyon.net/user/facetheme'
        },
        abouttext: "Flat Skin Retina for JW7",
        aboutlink: "http://codecanyon.net/user/facetheme",
    });
    videoPlayer.on('ready',function() {
        jwLogoBar.addLogo(videoPlayer);
    });
</script> 

我搜索了很多但找不到足够的答案,我希望在这里得到足够的答案

0 个答案:

没有答案