Youtube-player: add @input for youtube playlistId
- Langage dominant
- TypeScript
- Étoiles
- 25k
- Forks
- 6.8k
- Merge moyen
- 1 j 8 h
- PR mergées (30 j)
- 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.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par le composant Youtube-player et suivez la manière dont l’input videoId est appliqué à playerVars. Ajoutez l’input playlistId parallèle comme décrit, puis vérifiez que le chargement de la playlist fonctionne via un input Angular, tout en laissant le comportement existant de videoId inchangé.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- angular, typescript
- Domaine
- frontend
- Type d'issue
- Fonctionnalité
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100