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

Adding HD toggle to JS code

In regard to answer , an embed code template is shown, however it isn't indicated how to amend the regular JS from the "Build your embed code" option after uploading a video. Can someone explain how to add the HD code to the JS so that it renders on a website?

1 Community Answers


JW Player Support Agent  
0 rated :

Hi, Bill.

The embeds from the “Publish Mode” feature of the Account Dashboard use a HLS stream generated from your content as a primary source, with a MP4 file as a fallback source in case the HLS stream cannot be played. Since HLS is an adaptive format, it will automatically show the HD menu and allow the viewer to manually switch between qualities.

However, HLS playback is not enabled for you since you are using a Free account, so our player will always play the MP4, which is only one quality. If you want to include choices for different qualities of your content, you will not be able to use the Publish Mode feature and will have to embed your content as shown on the HD Quality Toggling article.

Please let me know if you need any more help or have any other questions.

Thank you!

This question has received the maximum number of answers.