{"id":32260492,"url":"https://github.com/sunnyli/videojs-ass","last_synced_at":"2026-02-21T02:01:44.978Z","repository":{"id":19773967,"uuid":"23032297","full_name":"SunnyLi/videojs-ass","owner":"SunnyLi","description":"Advanced SubStation Alpha subtitle plugin for videojs","archived":false,"fork":false,"pushed_at":"2018-07-11T05:02:53.000Z","size":152,"stargazers_count":96,"open_issues_count":11,"forks_count":21,"subscribers_count":9,"default_branch":"master","last_synced_at":"2026-01-23T17:03:29.526Z","etag":null,"topics":["ass","plugin","substation-alpha","subtitle","videojs"],"latest_commit_sha":null,"homepage":"https://sunnyli.github.io/videojs-ass/example.html","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SunnyLi.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}},"created_at":"2014-08-17T03:21:11.000Z","updated_at":"2026-01-06T19:23:15.000Z","dependencies_parsed_at":"2022-07-08T01:00:24.309Z","dependency_job_id":null,"html_url":"https://github.com/SunnyLi/videojs-ass","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/SunnyLi/videojs-ass","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SunnyLi%2Fvideojs-ass","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SunnyLi%2Fvideojs-ass/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SunnyLi%2Fvideojs-ass/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SunnyLi%2Fvideojs-ass/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SunnyLi","download_url":"https://codeload.github.com/SunnyLi/videojs-ass/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SunnyLi%2Fvideojs-ass/sbom","scorecard":{"id":135664,"data":{"date":"2025-08-04","repo":{"name":"github.com/SunnyLi/videojs-ass","commit":"a884c6b8fcc8bab9e760214bb551601f54cd769f"},"scorecard":{"version":"v5.2.1-28-gc1d103a9","commit":"c1d103a9bb9f635ec7260bf9aa0699466fa4be0e"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 2/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#vulnerabilities"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-16T06:25:34.676Z","repository_id":19773967,"created_at":"2025-08-16T06:25:34.676Z","updated_at":"2025-08-16T06:25:34.676Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29671513,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T00:11:43.526Z","status":"online","status_checked_at":"2026-02-21T02:00:07.432Z","response_time":107,"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":["ass","plugin","substation-alpha","subtitle","videojs"],"created_at":"2025-10-22T20:06:58.086Z","updated_at":"2026-02-21T02:01:44.972Z","avatar_url":"https://github.com/SunnyLi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# videojs-ass\n\nAdd **Advanced SubStation Alpha (ASS)** subtitles support to\n[videojs](https://github.com/videojs/video.js) using the\n[libjass](https://github.com/Arnavion/libjass) library.\n\nCheck out the demo\n[here](https://sunnyli.github.io/videojs-ass/example.html)\n\n\n## Install\n\nFor plugin that supports videojs v5.x install using either:\n\n- `bower install videojs-ass`\n\nor\n\n- `npm install videojs-ass`\n\nFor videojs v4:\n\nJust specify version to be within:\n\n```\n\"videojs-ass\": \"\u003e=0.3.0 \u003c 0.5.0\"\n```\nfor bower or npm whichever you prefer using.\n\n\n## Usage\n\nInitialize the `ass` plugin with the `src` field like the following:\n\n```\nvideojs('player_id', {\n  plugins: {\n    ass: {\n      src: 'subs/subtitles.ass'\n    }\n  }\n}\n```\n\n| Option      | Default       | Description                                                |\n| ----------- | ------------- | ---------------------------------------------------------- |\n| src         | -\u003csup\u003e1\u003c/sup\u003e | `.ass` / `.ssa` source.                                    |\n| label       | -\u003csup\u003e2\u003c/sup\u003e | subtitle track label that shows up in the subtitles picker |\n| delay       | 0\u003csup\u003e3\u003c/sup\u003e | delay subtitle rendering by the specified value in seconds |\n| rate        | 1             | subtitle update speed relative to video playback rate      |\n| enableSvg   | true          | see [here][svg-effects] regarding SVG filter               |\n| fontMap     | -             | see [here][font-map] regarding using custom web fonts      |\n| fontMapById | -             | alternate to above, takes id and runs [this][font-map-el]  |\n| videoWidth  | -\u003csup\u003e3\u003c/sup\u003e | metadata to assist in determining the optimal (cont below) |\n| videoHeight | -\u003csup\u003e3\u003c/sup\u003e | (cont) subtitle letterboxing ratio                         |\n\n**Footnotes:**\n\n1. This property is required!\n2. Has fallback values but you should provide a better label.\n3. Value can be negative\n4. Generally, you should set these values when using external videojs providers\n   as they might not expose the video dimensions to the player.\n\n[svg-effects]: https://github.com/Arnavion/libjass/blob/v0.10.0/README.md#what-browser-and-javascript-features-does-libjass-need\n[font-map]: https://arnavion.github.io/libjass/api.xhtml#libjass.renderers.RendererSettings.fontMap\n[font-map-el]: https://arnavion.github.io/libjass/api.xhtml#libjass.renderers.RendererSettings.makeFontMapFromStyleElement\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunnyli%2Fvideojs-ass","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsunnyli%2Fvideojs-ass","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunnyli%2Fvideojs-ass/lists"}