Youtube-player: add @input for youtube playlistId
未关闭
area: youtube-player
feature
P4
- 主要语言
- TypeScript
- 星标
- 25k
- 派生
- 6.8k
- 平均合并
- 1 天 8 小时
- 30 天内合并 PR
- 91
描述
### 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.
贡献指南
调研方向
从 Youtube-player 组件开始,跟踪 videoId 输入如何应用到 playerVars。按描述添加对应的 playlistId 输入,然后验证通过 Angular 输入加载播放列表可以正常工作,同时保持现有的 videoId 行为不变。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- angular, typescript
- 领域
- frontend
- Issue 类型
- 功能
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100