0.0.5 ā€¢ Published 2 years ago

hexo-tag-videojs v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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.

  1. 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
  2. _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
  3. default hard code. (no need any configuration). it require static resources from:

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago