An open API service indexing awesome lists of open source software.

https://github.com/gkjohnson/subrip-video-layer-element

Element and player and for displaying and playing a video with SRT subtitles
https://github.com/gkjohnson/subrip-video-layer-element

html javascript srt srt-subtitles video web-components webcomponents

Last synced: 7 months ago
JSON representation

Element and player and for displaying and playing a video with SRT subtitles

Awesome Lists containing this project

README

          

# video-subrip-layer-element

Element and player and for displaying and playing a video with SRT subtitles. Built for watching subtitled video content with Chromecast tab casting.

[Player here!](https://gkjohnson.github.io/subrip-video-layer-element/player/)

![example](./docs/example.gif)

## subrip-video-layer Element

```html



```

### Attributes

#### src

The url from which to load the SRT file.

## Caveats

- Clicking the full screen button on the video tag will full screen the video tag within, but not the subtitles layered on top.
- The element relies on the `` tag events, so the contained video tag cannot be added or removed to and from the element dynamically.