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

Default = true on 720p HD not working


Hi there - I'm trying to ensure that my video loads 720p first, but despite using the "default": "true" rule it still defaults to the lowest quality on first play. Here is my code:

<p>
<script type="text/javascript">// <![CDATA[
var playerInstance = jwplayer("myElement"); playerInstance.setup({ image: "https://content.jwplatform.com/thumbs/zHdQaFaJ-720.jpg", sources: [{ file: "https://content.jwplatform.com/videos/hWGbrnMk-m5FPqbOk.mp4", label: "1080p HD" },{ file: "https://content.jwplatform.com/videos/hWGbrnMk-ftuthvwX.mp4", label: "720p HD", "default": "true" },{ file: "https://content.jwplatform.com/videos/hWGbrnMk-jhWYPkbM.mp4", label: "480p HD" },{ file: "https://content.jwplatform.com/videos/hWGbrnMk-MjyyZUCx.mp4", label: "320p SD" },] });</p>
// ]]></script>
<script src="//content.jwplatform.com/players/hWGbrnMk-6DEGdSDY.js" type="text/javascript"></script>
</p>

3 Community Answers

Todd

JW Player Support Agent  
1 rated :

I don’t think default: ‘true’ works on multiple sources, but it should work on captions tracks.

If you want the 720p video to load first, use it as the first source.

dsadeghi

User  
0 rated :

I have tried changing the order of the sources but it doesn't seem to have any effect on what shows in the dropdown or what plays first. Is there anything I'm missing?

Todd

JW Player Support Agent  
1 rated :

I just realized you have the Free versions of our player, so you are not getting the HLS version of the video. Our player includes all available transcodes and the lowest quality version is listed first in the playlist for the single line embed <script src="//content.jwplatform.com/players/hWGbrnMk-6DEGdSDY.js" type="text/javascript"></script>

I will escalate this to our engineers to see if we can get a higher quality version listed first.

This question has received the maximum number of answers.