Gathering detailed insights and metrics for @youon/videojs-font
Gathering detailed insights and metrics for @youon/videojs-font
Gathering detailed insights and metrics for @youon/videojs-font
Gathering detailed insights and metrics for @youon/videojs-font
npm install @youon/videojs-font
Typescript
Module System
Node Version
NPM Version
CSS (40.65%)
SCSS (27.59%)
HTML (13.72%)
JavaScript (11.64%)
Handlebars (6.41%)
Total Downloads
2,678
Last Day
2
Last Week
12
Last Month
62
Last Year
252
61 Stars
81 Commits
78 Forks
27 Watching
2 Branches
18 Contributors
Latest Version
3.0.13
Package Id
@youon/videojs-font@3.0.13
Unpacked Size
133.81 kB
Size
51.22 kB
File Count
47
NPM Version
6.12.0
Node Version
8.11.2
Cumulative downloads
Total Downloads
Last day
-33.3%
2
Compared to previous day
Last week
-29.4%
12
Compared to previous week
Last month
1,140%
62
Compared to previous month
Last year
-44.2%
252
Compared to previous year
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.
1$ npm install grunt-cli # only if you don't already have grunt installed 2$ npm install 3$ grunt
You can add custom icons by calling grunt with the --custom-json
option. It takes a comma delimited list of paths to JSON files of the same format as below and merges it with the default icons file.
Example:
1$ grunt --custom-json=./lib/custom.json,./lib/custom2.json
To make changes to the default Video.js 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.
1{ 2 "font-name": "VideoJS", 3 "root-dir": "./node_modules/material-design-icons/", 4 "icons": [ 5 { 6 "name": "play", 7 "svg": "av/svg/production/ic_play_arrow_48px.svg" 8 }, 9 { 10 "name": "pause", 11 "svg": "av/svg/production/ic_pause_48px.svg" 12 }, 13 { 14 "name": "cool-custom-icon", 15 "svg": "neato-icon.svg", 16 "root-dir": "./custom-icons/neato-icon.svg" 17 } 18 ] 19}
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
.
If you are developing a Video.js plugin that uses custom icons, you can also create a new font instead of modifying the
default font. Simply specify a new font-name
and define the icons you want to include:
1{ 2 "font-name": "MyPluginFont", 3 "root-dir": "./node_modules/material-design-icons/", 4 "icons": [ 5 { 6 "name": "av-perm", 7 "svg": "action/svg/production/ic_perm_camera_mic_48px.svg" 8 }, 9 { 10 "name": "video-perm", 11 "svg": "av/svg/production/ic_videocam_48px.svg" 12 }, 13 { 14 "name": "audio-perm", 15 "svg": "av/svg/production/ic_mic_48px.svg" 16 } 17 ] 18}
Generate the MyPluginFont
font files using the custom-json
option:
1$ grunt --custom-json=MyPluginFont.json
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 16/28 approved changesets -- score normalized to 5
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
13 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-01-20
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More