Security News
JavaScript Leaders Demand Oracle Release the JavaScript Trademark
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
videojs-font
Advanced tools
This project contains all of the tooling necessary to generate a new icon font for Video.js. The icons themselves are from Google's Material Design Icons.
$ npm install grunt-cli // only if you don't already have grunt installed
$ npm install
$ grunt
To make changes to the font, simply edit the icons.json
file. You can add or remove icons, either by just selecting new
SVGs from the Material Design set, or pulling in new SVGs altogether.
{
"font-name": "VideoJS",
"root-dir": "./node_modules/material-design-icons/",
"icons": [
{
"name": "play",
"svg": "av/svg/production/ic_play_arrow_48px.svg"
},
{
"name": "pause",
"svg": "av/svg/production/ic_pause_48px.svg"
},
{
"name": "cool-custom-icon",
"svg": "neato-icon.svg",
"root-dir": "./custom-icons/neato-icon.svg"
}
]
}
Once you're done, simply run grunt
again to regenerate the fonts and scss partial. To edit the _icons.scss
partial,
update templates/scss.hbs
.
FAQs
Video.js icon font
The npm package videojs-font receives a total of 373,501 weekly downloads. As such, videojs-font popularity was classified as popular.
We found that videojs-font demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 21 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.