0.0.5 • Published 4 years ago

hexo-tag-videojs v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
4 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

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago