Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

YouTube iframe API - "unknown" player quality #1

Open
aaronleopold opened this issue Nov 16, 2021 · 0 comments
Open

YouTube iframe API - "unknown" player quality #1

aaronleopold opened this issue Nov 16, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@aaronleopold
Copy link
Owner

When I build this application, the onPlayerReady event does not fire on some videos. If you try and play/pause the video, the onError will of course trigger since the player was not loaded, however the error event has the following debug information in seemingly most instances of this occurring:

"{ \"debug_playbackQuality\": \"unknown\" }"

Running the app in development, I see that for the same video I get current quality: – "unknown" without error (i.e. the player successfully loads and plays the video audio).

suggestedQuality field in the loadPlaylist argument object is deprecated, and you cannot specify quality when creating the player. Because of all this combined with the fact that it only occurs in production environments, I am currently unsure of how to correct this.

@aaronleopold aaronleopold added the bug Something isn't working label Nov 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant