0.0.5 ā¢ Published 2 years ago
hexo-tag-videojs v0.0.5
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/video.js@6.7.1/dist/video-js.css - https://unpkg.com/video.js@6.7.1/dist/video.js - https://unpkg.com/@videojs/http-streaming@0.9.0/dist/videojs-http-streaming.js
_config.yml
: global config file.hexo-tag-videojs: videoPlayerResourcesUrl: - https://unpkg.com/video.js@6.7.1/dist/video-js.css - https://unpkg.com/video.js@6.7.1/dist/video.js - https://unpkg.com/@videojs/http-streaming@0.9.0/dist/videojs-http-streaming.js
default hard code. (no need any configuration). it require static resources from: