1

I am trying to get rid of all the controls on my JWPlayer except play and progress bar.

I did this:-

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(); 
        }
    });

But it just shows all of them.

halfer
  • 19,824
  • 17
  • 99
  • 186
Steve
  • 2,546
  • 8
  • 49
  • 94
  • In order to do this in JW6, you need to build a custom skin with only the controlbar present. We have a skin SDK available on our developer site here - http://developer.longtailvideo.com/trac/ – emaxsaun May 30 '13 at 17:40
  • You can see my answer on: http://stackoverflow.com/a/36430044/1386969 Dont forget to smile :) – lidox Apr 08 '16 at 12:45

1 Answers1

1

If you want to remove certain buttons from controlbar you have to customize your own skin and remove them from skin xml file.

Stefan
  • 11
  • 1