
Loading JW library content with auto quality
We have an account with a few vidoes uploaded to the library.
Given an already loaded player (v7), to change to a new video, we do something like
player.load([
{ sources: [
{ file: 'http://content.jwplatform.com/videos/playerId-video_id_720.mp4' },
{ file: 'http://content.jwplatform.com/videos/playerId-video_id_480.mp4' },
{ file: 'http://content.jwplatform.com/videos/playerId-video_id_240.mp4' }
] }
]);
This format allows manual toggling of the quality. However, I can see that if I use the embed code provided for the uploaded video (in the content tab), there is an 'auto' option. Is there a way to reference the content source through the api without changing the embed url to achieve the same thing?