{"id":23215790,"url":"https://github.com/7ds7/videojs-vjstranscribe","last_synced_at":"2025-08-19T07:31:51.938Z","repository":{"id":196860233,"uuid":"694952222","full_name":"7Ds7/videojs-vjstranscribe","owner":"7Ds7","description":"Creates searchable transcripts from text tracks","archived":false,"fork":false,"pushed_at":"2024-07-29T13:18:46.000Z","size":63,"stargazers_count":6,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-06T06:20:41.665Z","etag":null,"topics":["transcribe","transcript","videojs","videojs-player","videojs-plugin"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/7Ds7.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":"2023-09-22T03:17:40.000Z","updated_at":"2025-01-23T20:41:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"ed3753e3-ef4a-42e0-b0db-6c3ee14fd4ee","html_url":"https://github.com/7Ds7/videojs-vjstranscribe","commit_stats":null,"previous_names":["7ds7/videojs-vjstranscribe"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/7Ds7/videojs-vjstranscribe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7Ds7%2Fvideojs-vjstranscribe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7Ds7%2Fvideojs-vjstranscribe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7Ds7%2Fvideojs-vjstranscribe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7Ds7%2Fvideojs-vjstranscribe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/7Ds7","download_url":"https://codeload.github.com/7Ds7/videojs-vjstranscribe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7Ds7%2Fvideojs-vjstranscribe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271119863,"owners_count":24702688,"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-08-19T02:00:09.176Z","response_time":63,"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":["transcribe","transcript","videojs","videojs-player","videojs-plugin"],"created_at":"2024-12-18T20:18:58.745Z","updated_at":"2025-08-19T07:31:51.680Z","avatar_url":"https://github.com/7Ds7.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# videojs-vjstranscribe\n\nCreates searchable transcripts from text tracks\n\n## Demo\nhttps://codepen.io/binaryunit/pen/MWZGRej\n\nor\n\nClone this repo and use `npm run demo` and visit http://localhost:9001/demo/ on your browser.\n\n\n## Usage\nInclude the plugin files:\n\n* dist/videojs-vjstranscribe.js\n* dist/videojs-vjstranscribe.css\n\nalso available trough  ```npm install videojs-vjstranscribe```\n\n\n```\nlet player = videojs(document.querySelector('.video-js'), {\n  plugins: {\n    vjstranscribe: {}\n  }\n});\n```\n\n## Options\n\n**NOTE:** if the any of the elements id does not exist in the document it will be created after the player. By default it creates the element `\u003cdiv id='vjs-transcribe'\u003e\u003c/div\u003e` to hold the transcribe widget (ex: widgetId)\n\n```\nlet player = videojs(document.querySelector('.video-js'), {\n  plugins: {\n    vjstranscribe: {\n    customClass: 'vjs-transcribe',\n    widgetId: 'vjs-transcribe',\n    selector: true,\n    selectorId: 'vjs-transcribe-selector',\n    download: true,\n    copy: true,\n    downloadId: 'vjs-transcribe-download',\n    search: true,\n    searchId: 'vjs-transcribe-search',\n    pip: true,\n    pipId: 'vjs-transcribe-pip',\n    mode: 'line',\n    disablecc: true\n    }\n  }\n});\n```\n\n| Option  | Description | Default |\n| ------------- | ------------- | ------------- |\n| customClass | Custom class to add around the video.js player wrapper (string) | 'vjs-transcribe' |\n| widgetId | #Id of the element that will hold the transcribe widget (string)  | 'vjs-transcribe' |\n| selector | Enable or disable language selector (boolean)  | true |\n| selectorId | #Id of the element that will hold the language selector (string)  | 'vjs-transcribe-selector' |\n| download | Enable or disable a button to download the current track (boolean)  | true |\n| copy | Enable or disable a button to copy the transcript widget content (boolean)  | true |\n| downloadId | #Id of the element that will hold the download and copy buttons (string)  | 'vjs-transcribe-download' |\n| search | Enable or disable a field to search within the transcript widget (boolean)  | true |\n| searchId | #Id of the element that will hold the search field (string)  | 'vjs-transcribe-search' |\n| pip | Enable or disable a picture-in-picture element for the player whenver the transcript is active (boolean)  | true |\n| pipId | #Id of the element that will hold the picture-in-picture player (string)  | 'vjs-transcribe-download' |\n| mode | It can be set to either `'line'` which shows each text track item in a single line with time stamps, or `'prose'` that strips out timestamps and presents a running text (string)  | 'line' |\n\n\n\n\n## Style\nStyles are minimal so it inherits from your css, although whatever is set can be easily overriden.\nTwo root vars are set for convenience\n```\n:root {\n  --vjs-transcribe-primary-color: #8CC04F;\n  --vjs-transcribe-secondary-color: #d9d9d7;\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F7ds7%2Fvideojs-vjstranscribe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F7ds7%2Fvideojs-vjstranscribe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F7ds7%2Fvideojs-vjstranscribe/lists"}