I want to force the Dailymotion player to always show the highest resolution available for any given embedded video. If you manually set the player to 1080p during a video with that resolution available, and the next video in the playlist is only available in 240,380,480 then you get 380p (so you need to click 480, again, manually). If you manually set the playback to "optimal", then you often get a truly suboptimal resolution.
The old player API supported setting the playback quality via setPlaybackQuality
(as per the player on many other sites). The new player doesn't seem to support this anymore.
How to either:
a) set the playback quality via JavaScript?, or
b) configure the embedded player to always play the highest available resolution?