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

Where do I put the HD Quality Toggling embed code

Hi, I understand that there is a tutorial for how to add a video quality selector to your video player and it gives you an embed code example for you to modify. I've modified it and added the information that is specific to my video but I don't know where I'm supposed to add this piece of code. I used the embed code for a video player in my website (iframe, but I want to add the quality selector and I tried putting the code right after the iframe (after the iframe closing tag, "</iframe>") like so:

<iframe src="//" width="640" height="360" frameborder="0" scrolling="auto" allowfullscreen>
var playerInstance = jwplayer("myElement");
image: "",
sources: [{
file: "",
label: "1080p"
file: "",
label: "720p"
file: "",
label: "480p"
file: "",
label: "360p",
"default": "true"

But that doesn't seem to do anything so I guess that's not where that's supposed to go. Thanks in advance for any help.

Best regards.

1 Community Answers


JW Player Support Agent  
0 rated :


You might consider placing the above code within the jwplayer setup block. Also, the following webpage might be of use as well:


This question has received the maximum number of answers.