Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Youtube player startSeconds and ready event not working #29986

Merged
merged 2 commits into from
Nov 11, 2024

Conversation

crisbeto
Copy link
Member

@crisbeto crisbeto commented Nov 8, 2024

Includes the following fixes for the youtube-player:

fix(youtube-player): startSeconds not applied when using placeholder

Fixes that the startSeconds input wasn't doing anything if there's a placeholder. This used to work, but seems to have broken during the transition to using the placeholder.

fix(youtube-player): ready event not emitting

Fixes that the youtube-player's ready event wasn't emitting. The issue is that we create the outputs lazily based on a stream of newly-created players, however that stream emits after the ready event.

Fixes #29874.

Fixes that the `startSeconds` input wasn't doing anything if there's a placeholder. This used to work, but seems to have broken during the transition to using the placeholder.

Fixes angular#29874.
Fixes that the `youtube-player`'s `ready` event wasn't emitting. The issue is that we create the outputs lazily based on a stream of newly-created players, however that stream emits after the `ready` event.

Relates to angular#29874.
@crisbeto crisbeto added the target: patch This PR is targeted for the next patch release label Nov 8, 2024
@crisbeto crisbeto requested a review from a team as a code owner November 8, 2024 09:05
@crisbeto crisbeto requested review from andrewseguin and wagnermaciel and removed request for a team November 8, 2024 09:05
@crisbeto crisbeto added the merge: preserve commits When the PR is merged, a rebase and merge should be performed label Nov 8, 2024
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Nov 11, 2024
@crisbeto crisbeto removed the request for review from andrewseguin November 11, 2024 18:23
@crisbeto crisbeto added target: rc This PR is targeted for the next release-candidate and removed target: patch This PR is targeted for the next patch release labels Nov 11, 2024
@crisbeto crisbeto merged commit 96afa88 into angular:main Nov 11, 2024
27 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action: merge The PR is ready for merge by the caretaker merge: preserve commits When the PR is merged, a rebase and merge should be performed target: rc This PR is targeted for the next release-candidate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug(YouTubePlayer): startSeconds and ready not working
2 participants