Skip to content

Quicktube should not use Youtube YT.Player until API is loaded #7

@thibaudcolas

Description

@thibaudcolas

There needs to be a check in our code that the YT/Vimeo APIs are loaded before we start interacting with them. For Youtube, here is the code we had before, but were not using:

// This seems to be a requirement of the YouTube Player API for iframe embeds
// https://developers.google.com/youtube/iframe_api_reference#Requirements
window.onYouTubeIframeAPIReady = () => {

};

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions