Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

How to remove the video function


Hi Guys,

Been trying to set up a responsive full width audio only player but cant for the life of me remove the video part of the player!

Any help would be massively appreciated.

div id="player"></div>
<script type="text/javascript">
var playerInstance = jwplayer("player");
playerInstance.setup({
primary: 'html5',
playlist: [{
sources: [{
file: "http://edge.mixlr.com/channel/otuyv",
type: 'mp3'
}]
}],
width: "100%",
aspectratio: "16:9"
});
</script>

1 Community Answers

Randy

JW Player Support Agent  
0 rated :

Hello,

You can simply use a video height of 30px and this will place the player in an audio only state: “height”: 30,

Please let me know it this works for you or if I can answer any additional questions.

Randy

This question has received the maximum number of answers.