Element and player and for displaying and playing a video with SRT subtitles
MIT License
Element and player and for displaying and playing a video with SRT subtitles. Built for watching subtitled video content with Chromecast tab casting.
<body>
<subrip-video-layer src=".../subtitles.srt">
<video controls src=".../movie.mp4"></video>
</subrip-video-layer>
</body>
The url from which to load the SRT file.
<video>
tag events, so the contained video tag cannot be added or removed to and from the element dynamically.