{"id":15387026,"url":"https://github.com/gkjohnson/subrip-video-layer-element","last_synced_at":"2025-11-13T22:54:19.994Z","repository":{"id":66338468,"uuid":"136823397","full_name":"gkjohnson/subrip-video-layer-element","owner":"gkjohnson","description":"Element and player and for displaying and playing a video with SRT subtitles","archived":false,"fork":false,"pushed_at":"2018-12-22T17:29:03.000Z","size":241,"stargazers_count":4,"open_issues_count":4,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-06T15:35:03.614Z","etag":null,"topics":["html","javascript","srt","srt-subtitles","video","web-components","webcomponents"],"latest_commit_sha":null,"homepage":"https://gkjohnson.github.io/subrip-video-layer-element/player/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gkjohnson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-10T16:00:56.000Z","updated_at":"2025-01-31T20:56:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"07810633-d1a0-4bc6-b4df-27fa8c3507b1","html_url":"https://github.com/gkjohnson/subrip-video-layer-element","commit_stats":{"total_commits":17,"total_committers":1,"mean_commits":17.0,"dds":0.0,"last_synced_commit":"3736bef614adbde31d9cda6852d1ce876c0bcd45"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gkjohnson/subrip-video-layer-element","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkjohnson%2Fsubrip-video-layer-element","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkjohnson%2Fsubrip-video-layer-element/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkjohnson%2Fsubrip-video-layer-element/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkjohnson%2Fsubrip-video-layer-element/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gkjohnson","download_url":"https://codeload.github.com/gkjohnson/subrip-video-layer-element/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkjohnson%2Fsubrip-video-layer-element/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284304462,"owners_count":26982161,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-13T02:00:06.582Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["html","javascript","srt","srt-subtitles","video","web-components","webcomponents"],"created_at":"2024-10-01T14:51:24.937Z","updated_at":"2025-11-13T22:54:19.977Z","avatar_url":"https://github.com/gkjohnson.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# video-subrip-layer-element\n\nElement and player and for displaying and playing a video with SRT subtitles. Built for watching subtitled video content with Chromecast tab casting.\n\n[Player here!](https://gkjohnson.github.io/subrip-video-layer-element/player/)\n\n![example](./docs/example.gif)\n\n## subrip-video-layer Element\n\n```html\n\u003cbody\u003e\n  \u003csubrip-video-layer src=\".../subtitles.srt\"\u003e\n    \u003cvideo controls src=\".../movie.mp4\"\u003e\u003c/video\u003e\n  \u003c/subrip-video-layer\u003e\n\u003c/body\u003e\n```\n\n### Attributes\n\n#### src\n\nThe url from which to load the SRT file.\n\n## Caveats\n\n- Clicking the full screen button on the video tag will full screen the video tag within, but not the subtitles layered on top.\n- The element relies on the `\u003cvideo\u003e` tag events, so the contained video tag cannot be added or removed to and from the element dynamically.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgkjohnson%2Fsubrip-video-layer-element","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgkjohnson%2Fsubrip-video-layer-element","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgkjohnson%2Fsubrip-video-layer-element/lists"}