These are chat archives for jwplayer/jwplayer

12th
Dec 2016
artur-michalak
@artur-michalak
Dec 12 2016 10:47
Hi guys, can you have a look on this issue? jwplayer/jwplayer#1585 it's quite important as encrypted hls is big part of our business
Eric Jackson Wood
@ericjacksonwood
Dec 12 2016 17:50
In case anyone else runs into this audio player issue, I was able to solve it by using CSS instead of JS to control the with of the audio player. My pen has been updated here: http://codepen.io/ericjacksonwood/pen/KNexme
Eric Jackson Wood
@ericjacksonwood
Dec 12 2016 21:13
Agh... Turns out because of how I'm setting this up, I'm going to need to find a way to size the div without using CSS. I was looking through the configuration option documentation found here (https://developer.jwplayer.com/jw-player/docs/developer-guide/customization/configuration-reference/) and under 'Appearance' it says you can set the width based on pixels or percentage. If you check out my pen, you'll see that when I set the width as a percentage, the 40px height gets ignored. If you try to change that '100%' width to '100px' width, the 40px height works fine. http://codepen.io/ericjacksonwood/pen/KNexme
Eric Jackson Wood
@ericjacksonwood
Dec 12 2016 23:05
I was able to solve this as well using JS only: width: "", height: 40 - updated codepen here: http://codepen.io/ericjacksonwood/pen/KNexme