【问题标题】:Configuring the Control Bar buttons on JWPlayer在 JWPlayer 上配置控制栏按钮
【发布时间】:2018-01-26 08:41:21
【问题描述】:

我正在尝试摆脱 JWPlayer 上的所有控件,但播放和进度条除外。

我这样做了:-

jwplayer("myvideo").setup({
            autostart: true,

            controlBarMode:'floating',
            "controls": {
              "enableFullscreen": false,
              "enablePlay": false,
              "enablePause": false,
              "enableMute": true,
              "enableVolume": true
            },

            flashplayer: "scripts/vendor/jwplayer/player.swf",
            file: $scope.getCurrentSlide().video
        });
        if (!$scope.getCurrentSlide().video.length) {
            $(".video").hide(); 
        }
        else {
            $(".video").show(); 
        }
    });

但它只显示了所有这些。

【问题讨论】:

标签: jwplayer


【解决方案1】:

如果您想从控制栏中删除某些按钮,您必须自定义自己的皮肤并将它们从皮肤 xml 文件中删除。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多