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

HD controlbar icon toggle based on selection, when levels greater than 2

Is there any way of making the HD controlbar icon display differently based on the selected (or better yet, currently playing) level, when there are more than 2 levels available? I know there is the hdButton vs hdButtonOff toggle that happens when there are only two levels.

I've been tasked with making the player "more like Youtube" -- namely:
1. have the highest level at the top of the list, rather than the bottom -- I did that by reversing the supplied array of levels.
2. put a little "HD" flag over the settings gear icon when it's playing > 480p. I haven't yet found a way to do this; if it can be done via skin, or my monitoring the current level and changing the button via the API, I'd be happy to have any pointers.


1 Community Answers


JW Player Support Agent  
0 rated :


The following link has a great list of information specific to our skins and the parameters you can modify. As for your request to add the cog icon over the HD button, you can potentially achieve this by creating a custom script within your embed that checks the current quality setting in the player jwplayer().getCurrentQuality() then have that trigger an event that pulls in the new icon for any stream 720 and over. I’ve also included links to our JS APi page that can be a tremendous help.

JS APi Guide:
Skinning XML:


This question has received the maximum number of answers.