angular / angular/components

Youtube-player: add @input for youtube playlistId

Open
#29,210 0 comments 0 reactions 0 assignees View on GitHub
area: youtube-player feature P4
Dominant language
TypeScript
Stars
25k
Forks
6.8k
Avg merge
1d 8h
Merged PRs (30d)
91

Description

### Feature Description

Currently, you can load a video using the `videoId` input. But a playlist has to be loaded via the `playerVars.list`.
Can we make the loading of media a bit more consistent and add a `playlistId` input for us to use?
Internally that can just add it to the playerVars if that is how Youtube likes it.

### Use Case

Loading of video or playlist Ids using Angular inputs and not having to use playerVars.

Contributor guide

Open the contributing guide

Research direction

Start at the Youtube-player component and trace how the videoId input is applied to playerVars. Add the parallel playlistId input as described, then verify that playlist loading works through an Angular input while existing videoId behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.