Skip to content

Few features not working correctly when navigating to video for the first time #976

@ParticleCore

Description

@ParticleCore

While working on the fix #975 for I found that the method used to tell when the player is ready is not being called when the user navigates to a video for the first time:

window.onYouTubePlayerReady = (function (original) {
return function (api) {
listeners?.forEach(listener => listener?.(api));
original?.apply(this, arguments);
};
}(window.onYouTubePlayerReady));

This means that any feature that only depends on this method being called (default quality, annotations control, etc.) will not be working correctly in that scenario. Will have to find a workaround for this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions