sampotts/plyr

Captions with Shaka Player

Open

#750 创建于 2018年1月5日

在 GitHub 查看
 (5 评论) (0 反应) (0 负责人)JavaScript (25,318 star) (2,856 fork)batch import
Help WantedImprovementStreaming

描述

using shaka player I couldn't add a track to player nor manually neither programmatically.

Manually

placing <track src="src" kind="subtitles" > inside <video>

Programatically

using shaka player addTextTrack(uri, language, kind, mime, opt_codecopt, opt_labelopt) method

In both ways, the vtt file is fetched from the server but it doesn't show anything. using first method cause a cc icon appear next to the volume control but it doesn't do anything.

贡献者指南

Captions with Shaka Player · sampotts/plyr#750 | Good First Issue