Open bbbo opened 7 years ago
From which JSON?
For Drive Premium the VOD qualities are present in the embed code examples.
For hls level selection there is hlsQualities: "drive"
: https://flowplayer.org/docs/plugins.html#hlsjs-configuration
the advantage would be Premium users would not need to copy the qualities settings or the whole embed code manually for each setup, they could just use a template where only the video id changes.
But that's what the simple embed code does? Or, to put it another way, how to obtain the JSON from the simple embed code in a "normal" setup? Without an ajax call which may have timing side-effects (especially in an automatic setup)? What obvious thing am I missing?
which retrieves the available resolutions from the JSON and auto-populates the array of available varinats