Youtube-player: add @input for youtube playlistId
- Vorherrschende Sprache
- TypeScript
- Sterne
- 25k
- Forks
- 6.8k
- Ø Merge
- 1 T. 8 Std.
- Gemergte PRs (30 T.)
- 91
Beschreibung
### 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.
Beitragsleitfaden
Rechercherichtung
Beginne mit der Youtube-player-Komponente und verfolge, wie der videoId-Input auf playerVars angewendet wird. Füge den parallelen playlistId-Input wie beschrieben hinzu und überprüfe anschließend, dass das Laden der Playlist über einen Angular-Input funktioniert, während das bestehende videoId-Verhalten unverändert bleibt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- angular, typescript
- Bereich
- frontend
- Issue-Typ
- Feature
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100