flowplayer / flowplayer-quality-selector

Quality selection plugin for Flowplayer HTML5
MIT License
7 stars 5 forks source link

add qualities: drive option #19

Open bbbo opened 7 years ago

bbbo commented 7 years ago

which retrieves the available resolutions from the JSON and auto-populates the array of available varinats

phloxic commented 7 years ago

From which JSON?

phloxic commented 7 years ago

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

bbbo commented 7 years ago

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.

phloxic commented 7 years ago

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?