hexo-tag-local-video-js
v0.0.11
Published
Embed VideoJS in Hexo posts/pages.
Downloads
5
Readme
hexo-tag-videojs - HTML5 Video Player for Hexo.js
🧩 Hexo video.js plugin. u can embed video in ur post or page
📦 Package name: hexo-tag-videojs
is not ~~hexo-tag-video-js~~!
Install
🐱 Use yarn:
yarn add hexo-tag-videojs
📦 Use npm:
npm i hexo-tag-videojs
Use it
🚀 in Hexo post / page u will use: {% videojs key=value%}
{% videojs "source=https://d2zihajmogu5jn.cloudfront.net/advanced-fmp4/master.m3u8" %}
Configuration
Config load order, config only for static resource import ...
No configuration required by default.
meta-space-config.yml
(this project support Meta Network spaces).videoPlayerResourcesUrl: - https://unpkg.com/[email protected]/dist/video-js.css - https://unpkg.com/[email protected]/dist/video.js - https://unpkg.com/@videojs/[email protected]/dist/videojs-http-streaming.js
_config.yml
: global config file.hexo-tag-videojs: videoPlayerResourcesUrl: - https://unpkg.com/[email protected]/dist/video-js.css - https://unpkg.com/[email protected]/dist/video.js - https://unpkg.com/@videojs/[email protected]/dist/videojs-http-streaming.js
default hard code. (no need any configuration). it require static resources from:
- https://unpkg.com/[email protected]/dist/video-js.css
- https://unpkg.com/[email protected]/dist/video.js
- https://unpkg.com/@videojs/[email protected]/dist/videojs-http-streaming.js