-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: youtube-player
Description
Is this a regression?
- Yes, this behavior used to work in the previous version
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 a videoId
property. However, the player won't initialize if videoId
is missing.
Reproduction
<youtube-player [playerVars]="playerVars"></youtube-player>
playerVars = {
list: 'LISTID',
listtype: 'playlist'
};
Expected Behavior
If video is specified in playerVars
, don't require videoId
property to have a value
Actual Behavior
No player displayed when videoId
is missing
Environment
- Angular: 16.1.6
- Operating System: Windows 10
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: youtube-player