Reputation: 3791
setPlaybackQuality() does not work anymore, even on official YT Api Demo: https://developers.google.com/youtube/youtube_player_demo
What has changed in the work of the YouTube Iframe api?
Upvotes: 4
Views: 2152
Reputation: 5817
For those still interested, I tried setPlaybackQualityRange()
as a drop-in replacement, and it works just fine.
Upvotes: 0
Reputation: 3791
So, finally, answer from Google:
setPlaybackQuality is now considered a "no-op"; calling this function will not change the player behavior. The player will use a variety of signals to determine the optimal playback quality.
Users are able to manually request a specific playback quality via the quality selector in the player controls.
Upvotes: 2
Reputation: 1738
You can read in this issue that the functionality is no longer supported, the method is still there, but as a no-op.
due to changes in our player infrastructure, the player will no longer honor requests to set a manual playback quality via the API. As documented, the player has always made a "best effort" to respect the requested quality.
The documentation will be updated in the future to indicate this call is no longer supported, though it will still be available as a "no-op" for compatibility purposes.
Upvotes: 4
Reputation: 13469
It was also reported in this thread. You could file a bug report if you think this is a bug.
Upvotes: 0