linkthom/video
Composer 安装命令:
composer require linkthom/video
包简介
kirby privacy video tag also for Edge
README 文档
README
A plugin for Kirby 3 CMS to embed content from YouTube without compromising privacy. Forked from SCHNTI/kirby3-video (see github.com/schnti/kirby3-video): CSS Adjustment to make it working also in Edge browser.
Commercial Usage
This plugin is free but if you use it in a commercial project please consider
- [making a donation](see github.com/schnti/kirby3-video) or
- buying a Kirby license using this affiliate link
Installation
Download
Download the files and place them inside site/plugins/video.
Composer
composer require linkthom/video
Git Submodule
You can add the plugin as a Git submodule.
$ cd your/project/root
$ git submodule add https://github.com/linkthom/kirby3-video.git site/plugins/video
$ git submodule update --init --recursive
$ git commit -am "Add Kirby video plugin"
Run these commands to update the plugin:
$ cd your/project/root
$ git submodule foreach git checkout master
$ git submodule foreach git pull
$ git commit -am "Update submodules"
$ git submodule update --init --recursive
CSS (SCSS)
<link rel="stylesheet" href="plugins/video/src/youtube.js">
or
@import "site/plugins/video/src/youtube";
JS
<script src="site/plugins/video/src/youtube.js"></script>
or
require('site/plugins/video/src/youtube');
How to use it
Use this kirbytag
(youtube: g5BEXgNHZJU)
统计信息
- 总下载量: 315
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-10-28