{"id":13908423,"url":"https://github.com/videojs/themes","last_synced_at":"2025-10-25T14:35:17.876Z","repository":{"id":50525292,"uuid":"202973650","full_name":"videojs/themes","owner":"videojs","description":"Videojs themes 💅","archived":false,"fork":false,"pushed_at":"2023-04-04T19:02:46.000Z","size":528,"stargazers_count":149,"open_issues_count":5,"forks_count":56,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-06-08T07:44:09.181Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/videojs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-08-18T07:31:34.000Z","updated_at":"2025-04-27T17:24:34.000Z","dependencies_parsed_at":"2024-11-25T17:33:17.677Z","dependency_job_id":"4db883b6-b1e6-4ad4-9176-23a8c649dd79","html_url":"https://github.com/videojs/themes","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/videojs/themes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/videojs%2Fthemes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/videojs%2Fthemes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/videojs%2Fthemes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/videojs%2Fthemes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/videojs","download_url":"https://codeload.github.com/videojs/themes/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/videojs%2Fthemes/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265720486,"owners_count":23817242,"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","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":[],"created_at":"2024-08-06T23:02:43.278Z","updated_at":"2025-10-25T14:35:12.855Z","avatar_url":"https://github.com/videojs.png","language":"CSS","funding_links":[],"categories":["HarmonyOS"],"sub_categories":["Windows Manager"],"readme":"# Videojs Themes\n\nMonorepo for Video.js themes :nail_care:.\n\n## Usage\n\nYou can pull in the CSS via link tags\n\n```html\n\u003c!-- Video.js base CSS --\u003e\n\u003clink href=\"https://unpkg.com/video.js@7/dist/video-js.min.css\" rel=\"stylesheet\"\u003e\n\n\u003c!-- City --\u003e\n\u003clink href=\"https://unpkg.com/@videojs/themes@1/dist/city/index.css\" rel=\"stylesheet\"\u003e\n\n\u003c!-- Fantasy --\u003e\n\u003clink href=\"https://unpkg.com/@videojs/themes@1/dist/fantasy/index.css\" rel=\"stylesheet\"\u003e\n\n\u003c!-- Forest --\u003e\n\u003clink href=\"https://unpkg.com/@videojs/themes@1/dist/forest/index.css\" rel=\"stylesheet\"\u003e\n\n\u003c!-- Sea --\u003e\n\u003clink href=\"https://unpkg.com/@videojs/themes@1/dist/sea/index.css\" rel=\"stylesheet\"\u003e\n```\n\nOr, if you're using CSS modules in JavaScript, you can install the NPM module:\n\n```sh\nnpm install --save video.js @videojs/themes\n```\n\nThen just import the files as you would other CSS.\n\n```javascript\nimport 'video.js/dist/video-js.css';\n\n// City\nimport '@videojs/themes/dist/city/index.css';\n\n// Fantasy\nimport '@videojs/themes/dist/fantasy/index.css';\n\n// Forest\nimport '@videojs/themes/dist/forest/index.css';\n\n// Sea\nimport '@videojs/themes/dist/sea/index.css';\n```\n\nOnce you've got the theme pulled in, you can then add the relevant class to your player! The class names are structured as `vjs-theme-${THEME_NAME}`, so `vjs-theme-city` for the city theme or `vjs-theme-sea` for the sea theme.\n\n\n```html\n\u003cvideo id=\"my-player\" class=\"video-js vjs-theme-city\" ...\u003e\n```\n\n# Building these locally\n\nIf you want to use the CSS in this repo directly instead of using one of the CDNs or the NPM-hosted version, or just do some development, you'll need to clone the repo and `build` them.\n\n```\n$ git clone https://github.com/videojs/themes videojs-themes\n$ cd videojs-themes\n$ npm install\n$ npm run build\n```\n\nThis will create a `dist` folder with the post-processed CSS in them, which you can upload right to your site. If you want to develop against these locally, you can run `npm run dev` to get a local server running a demo of all the themes on it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvideojs%2Fthemes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvideojs%2Fthemes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvideojs%2Fthemes/lists"}