sampotts/plyr

Captions with Shaka Player

Open

#750 opened on Jan 5, 2018

View on GitHub
 (5 comments) (0 reactions) (0 assignees)JavaScript (25,318 stars) (2,856 forks)batch import
Help WantedImprovementStreaming

Description

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.

Contributor guide