-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
bug(youtube-player): videoId required for initialization #27529
Labels
area: youtube-player
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Comments
andrewseguin
added
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
area: youtube-player
and removed
needs triage
This issue needs to be triaged by the team
labels
Aug 1, 2023
jamesikanos
added a commit
to jamesikanos/angular-material-components
that referenced
this issue
Aug 5, 2023
…lar#27529) When using a YouTube Player, it is possible to specify a playlist without specifying a videoId. This is useful when you want to play a playlist and don't have a VideoId. Previously, the player would not initialise if a VideoId wasn't specified but a Playlist was specified, even though the YouTube API supports this use case. This commit adds support for this use case.
jamesikanos
added a commit
to jamesikanos/angular-material-components
that referenced
this issue
Aug 5, 2023
…lar#27529) When using a YouTube Player, it is possible to specify a playlist without specifying a videoId. This is useful when you want to play a playlist and don't have a VideoId. Previously, the player would not initialise if a VideoId wasn't specified but a Playlist was specified, even though the YouTube API supports this use case. This commit adds support for this use case.
crisbeto
pushed a commit
that referenced
this issue
Aug 7, 2023
…) (#27588) * fix(youtube-player): Allow playlists without specifying videoId (#27529) When using a YouTube Player, it is possible to specify a playlist without specifying a videoId. This is useful when you want to play a playlist and don't have a VideoId. Previously, the player would not initialise if a VideoId wasn't specified but a Playlist was specified, even though the YouTube API supports this use case. This commit adds support for this use case. * refactor(youtube-player): fixed spelling mistake
crisbeto
pushed a commit
that referenced
this issue
Aug 7, 2023
…) (#27588) * fix(youtube-player): Allow playlists without specifying videoId (#27529) When using a YouTube Player, it is possible to specify a playlist without specifying a videoId. This is useful when you want to play a playlist and don't have a VideoId. Previously, the player would not initialise if a VideoId wasn't specified but a Playlist was specified, even though the YouTube API supports this use case. This commit adds support for this use case. * refactor(youtube-player): fixed spelling mistake (cherry picked from commit d41be3d)
crisbeto
pushed a commit
that referenced
this issue
Aug 7, 2023
…) (#27588) * fix(youtube-player): Allow playlists without specifying videoId (#27529) When using a YouTube Player, it is possible to specify a playlist without specifying a videoId. This is useful when you want to play a playlist and don't have a VideoId. Previously, the player would not initialise if a VideoId wasn't specified but a Playlist was specified, even though the YouTube API supports this use case. This commit adds support for this use case. * refactor(youtube-player): fixed spelling mistake (cherry picked from commit d41be3d)
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
area: youtube-player
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Is this a regression?
The previous version in which this bug was not present was
No response
Description
Using
playerVars
, it is possible to specify a video/list to play upon initialization - eliminating the (redundant) need to specify avideoId
property. However, the player won't initialize ifvideoId
is missing.Reproduction
<youtube-player [playerVars]="playerVars"></youtube-player>
Expected Behavior
If video is specified in
playerVars
, don't requirevideoId
property to have a valueActual Behavior
No player displayed when
videoId
is missingEnvironment
The text was updated successfully, but these errors were encountered: