schnti / video
kirby privacy video tag
Installs: 143
Dependents: 0
Suggesters: 0
Security: 0
Stars: 16
Watchers: 4
Forks: 1
Open Issues: 7
Type:kirby-plugin
Requires
- dev-master
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.0
- 0.2.1
- 0.2.0
- 0.1.0
- 0.0.2
- 0.0.1
- dev-dependabot/npm_and_yarn/qs-6.5.3
- dev-dependabot/npm_and_yarn/decode-uri-component-0.2.2
- dev-dependabot/npm_and_yarn/copy-props-2.0.5
- dev-dependabot/npm_and_yarn/ajv-6.12.6
- dev-dependabot/npm_and_yarn/node-sass-7.0.0
- dev-dependabot/npm_and_yarn/yargs-parser-5.0.1
This package is auto-updated.
Last update: 2024-11-11 17:15:36 UTC
README
A plugin for Kirby 3 CMS to embed content from YouTube without compromising privacy.
Commercial Usage
This plugin is free but if you use it in a commercial project please consider
Installation
Download
Download the files and place them inside site/plugins/video
.
Composer
composer require schnti/video
Git Submodule
You can add the plugin as a Git submodule.
$ cd your/project/root
$ git submodule add https://github.com/schnti/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/dist/youtube.css">
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)