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

YouTube iframe API - "unknown" player quality #1

@aaronleopold

Description

@aaronleopold

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions