{"name":"videojs-font","version":"4.1.0","keywords":["videojs"],"author":{"name":"Matthew McClure","email":"m@mmcc.io"},"license":"Apache-2.0","_id":"videojs-font@4.1.0","maintainers":[{"name":"usmanonazim","email":"usmanonazim@gmail.com"},{"name":"awaldron","email":"awaldron@brightcove.com"},{"name":"walterseymourbc","email":"wseymour@brightcove.com"},{"name":"hswaminathan","email":"hswaminathan@brightcove.com"},{"name":"abarstow","email":"alexander.barstow@gmail.com"},{"name":"gesinger","email":"gesinger@gmail.com"},{"name":"essk","email":"sarah@teaandbiscuits.net"},{"name":"roman-bc","email":"rpougatchev@brightcove.com"},{"name":"videojs-user","email":"videojs@gkatsev.com"},{"name":"heff","email":"npm@heff.me"},{"name":"mmcclure","email":"npm@htbx.net"},{"name":"dmlap","email":"dlapalomento@gmail.com"},{"name":"lday","email":"ldayananda@brightcove.com"},{"name":"brandonocasey","email":"brandonocasey@gmail.com"},{"name":"imbcmdth","email":"jon.carlos.rivera@gmail.com"},{"name":"misterben","email":"npm@misterben.me"},{"name":"misteroneill","email":"pgoneill@gmail.com"},{"name":"gkatsev","email":"me@gkatsev.com"},{"name":"mmcc","email":"matt@mmcc.io"}],"homepage":"https://github.com/videojs/font","bugs":{"url":"https://github.com/videojs/font/issues"},"dist":{"shasum":"3ae1dbaac60b4f0f1c4e6f7ff9662a89df176015","tarball":"http://registry-npm.ywwl.com/videojs-font/download/videojs-font-4.1.0.tgz","fileCount":38,"integrity":"sha512-X1LuPfLZPisPLrANIAKCknZbZu5obVM/ylfd1CN+SsCmPZQ3UMDPcvLTpPBJxcBuTpHQq2MO1QCFt7p8spnZ/w==","signatures":[{"sig":"MEUCIACqsCLH3++OaSRLbu4xGPiSbr+sTZhG0yPWhdNRa/aeAiEA8JraRxgGI74BuD7RLMqvLvD5TMyxF4PuZYsZbRtsF+g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":132076,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/NWiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqcBg//bKjgPrkrYHT3IJcMwtay2VbYaVn7yAy4iooJ8GEktMgNC4ba\r\nn58KMVgC4jL+7h08vZHwbIWxRcBhmz2EhgMD5XbY/pwENyxzQ9NAglEsdhs1\r\nBzSygUZFTShGcrMTSxLIHNzSam6lcc8YrbOoKD+FsPdwqViYe8x4q4SkuibB\r\nicc65wEBtpZRDsi06W2DUQZOicANS1yT+IVDJODOCEM7qsJy0c57kCsTjF67\r\nRiRod6hxHSAlBxVgat+pPXBhGYxbv92aoqQt3AiNxkuRj4ngfmmPnnqVMjEU\r\nTA/BO9MFPQnDwUYrCcOoSFiPa4AFcvXkqj81BD+zXOMDmwX0BpR86KyiGN8L\r\nZWykAXrJtjq++h9+akwu8PmSDuBTWzQ1vXOTNulLU4nkLWykRsQ+rLMoqm9o\r\nlZok0B8F9Ip1qlKNOUHrW48nlcFNazXfRQyd+p/AX1r0lxX7iFHvDQKU/aT4\r\n48JjMjnqC9jXeQQR31zIOxvhjvyXZQf8U1KDJ+swC3JpzWQU2pr/FS18M66+\r\nPC1ioSwR0bi0TVThnCc1lSou23fT/aJr++xKMYlnLLjuyKos/ZZG5BFQjdLJ\r\nzSoOPka+Jty4q5Qt1jY4MlVRlV9QIcnMKKOLe2JS0TndW405UoVfjiGAOJ81\r\nGcc0woqXQCLWSgdMhmdi675OuLVFGH/zMcs=\r\n=HsgY\r\n-----END PGP SIGNATURE-----\r\n","size":53894,"noattachment":false,"key":"/videojs-font/-/videojs-font-4.1.0.tgz"},"gitHead":"f999fb75cd6012acc7408732b23a60560786d382","scripts":{"version":"grunt && git add ."},"_npmUser":{"name":"usmanonazim","email":"usmanonazim@gmail.com"},"repository":{"url":"git+https://github.com/videojs/font.git","type":"git"},"_npmVersion":"8.19.3","description":"Video.js icon font","directories":{},"_nodeVersion":"16.19.1","_hasShrinkwrap":false,"devDependencies":{"grunt":"^1.5.3","node-sass":"^7.0.3","evil-icons":"^1.10.1","grunt-sass":"^3.1.0","time-grunt":"^2.0.0","@babel/core":"^7.19.3","@babel/register":"^7.18.9","load-grunt-tasks":"^5.1.0","@babel/preset-env":"^7.19.3","webfonts-generator":"^0.4.0","grunt-contrib-watch":"^1.1.0","material-design-icons":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/videojs-font_4.1.0_1677514145844_0.9938639154634719","host":"s3://npm-registry-packages"},"readme":"# Video.js Icon Font\n\nThis project contains all of the tooling necessary to generate a new icon font for Video.js. The icons themselves are from\nGoogle's [Material Design Icons](https://github.com/google/material-design-icons) (from the commonly available version 3 of the set, with version 4 symbols supplemented as custom SVGs) and [Font Awesome](https://fontawesome.com/).\n\nYou can see an overview of the icons used in the default Video.js font here: https://videojs.github.io/font/\n\n## Usage\n\n```sh\n$ npm install grunt-cli # only if you don't already have grunt installed\n$ npm install\n$ grunt\n```\n\n### Custom icons\n\nYou 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.\n\nExample:\n```sh\n$ grunt --custom-json=./lib/custom.json,./lib/custom2.json\n```\n\n## Making changes to the font\n\nTo 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\nSVGs from the [Material Design set](https://www.google.com/design/icons/), or pulling in new SVGs altogether.\n\n```json\n{\n  \"font-name\": \"VideoJS\",\n  \"root-dir\": \"./node_modules/material-design-icons/\",\n  \"icons\": [\n    {\n      \"name\": \"play\",\n      \"svg\": \"av/svg/production/ic_play_arrow_48px.svg\"\n    },\n    {\n      \"name\": \"pause\",\n      \"svg\": \"av/svg/production/ic_pause_48px.svg\"\n    },\n    {\n      \"name\": \"cool-custom-icon\",\n      \"svg\": \"neato-icon.svg\",\n      \"root-dir\": \"./custom-icons/neato-icon.svg\"\n    }\n  ]\n}\n```\n\nOnce you're done, simply run `grunt` again to regenerate the fonts and scss partial. To edit the `_icons.scss` partial,\nupdate `templates/scss.hbs`.\n\n## Creating your own font\n\nIf you are developing a Video.js plugin that uses custom icons, you can also create a new font instead of modifying the\ndefault font. Simply specify a new `font-name` and define the icons you want to include:\n\n```json\n{\n  \"font-name\": \"MyPluginFont\",\n  \"root-dir\": \"./node_modules/material-design-icons/\",\n  \"icons\": [\n    {\n      \"name\": \"av-perm\",\n      \"svg\": \"action/svg/production/ic_perm_camera_mic_48px.svg\"\n    },\n    {\n      \"name\": \"video-perm\",\n      \"svg\": \"av/svg/production/ic_videocam_48px.svg\"\n    },\n    {\n      \"name\": \"audio-perm\",\n      \"svg\": \"av/svg/production/ic_mic_48px.svg\"\n    }\n  ]\n}\n```\nGenerate the `MyPluginFont` font files using the `--custom-json` option:\n\n```sh\n$ grunt --custom-json=MyPluginFont.json\n```\n\n### Exclude default icons\n\nBy default, the regular Video.js icons are also included in the font. If you want to exclude these icons, when you're creating a Video.js plugin font for example, use the `--exclude-default` option.\n\nExample:\n```sh\n$ grunt --custom-json=MyPluginFont.json --exclude-default\n```\n\n## Icon unicode strings\n\nVideojs-font generates unicode strings for default and custom icons which are used as css pseudo-element content values by the videojs-icons.css file.\n\n### Version 4 default unicode values\n| Icon Name  | Unicode |\n| ---------- | ------- |\n| play | 'f101' |\n| play-circle | 'f102' |\n| pause | 'f103' |\n| volume-mute | 'f104' |\n| volume-low | 'f105' |\n| volume-mid | 'f106' |\n| volume-high | 'f107' |\n| fullscreen-enter | 'f108' |\n| fullscreen-exit | 'f109' |\n| spinner | 'f10a' |\n| subtitles | 'f10b' |\n| captions | 'f10c' |\n| hd | 'f10d' |\n| chapters | 'f10e' |\n| downloading | 'f10f' |\n| file-download | 'f110' |\n| file-download-done | 'f111' |\n| file-download-off | 'f112' |\n| share | 'f113' |\n| cog | 'f114' |\n| square | 'f115' |\n| circle | 'f116' |\n| circle-outline | 'f117' |\n| circle-inner-circle | 'f118' |\n| cancel | 'f119' |\n| repeat | 'f11a' |\n| replay | 'f11b' |\n| replay-5 | 'f11c' |\n| replay-10 | 'f11d' |\n| replay-30 | 'f11e' |\n| forward-5 | 'f11f' |\n| forward-10 | 'f120' |\n| forward-30 | 'f121' |\n| audio | 'f122' |\n| next-item | 'f123' |\n| previous-item | 'f124' |\n| shuffle | 'f125' |\n| cast | 'f126' |\n| picture-in-picture-enter | 'f127' |\n| picture-in-picture-exit | 'f128' |\n| facebook | 'f129' |\n| linkedin | 'f12a' |\n| twitter | 'f12b' |\n| tumblr | 'f12c' |\n| pinterest | 'f12d' |\n| audio-description | 'f12e' |\n","publish_time":1677514145986,"_cnpm_publish_time":1677514145986,"dist-tags":{"latest":"4.2.0"}}