Youtube-player: add @input for youtube playlistId
- Lenguaje dominante
- TypeScript
- Estrellas
- 25k
- Forks
- 6.8k
- Merge medio
- 1 d 8 h
- PR fusionados (30 d)
- 91
Descripción
### 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.
Guía de contribución
Línea de trabajo
Comienza por el componente Youtube-player y sigue cómo se aplica el input videoId a playerVars. Añade el input playlistId paralelo tal como se describe y verifica después que la carga de la playlist funciona mediante un input de Angular, mientras el comportamiento existente de videoId permanece sin cambios.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- angular, typescript
- Área
- frontend
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100