nearata / flarum-ext-embed-video
Allow users to embed video using BBCode
Installs: 5 708
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 1
Forks: 3
Open Issues: 4
Language:TypeScript
Type:flarum-extension
Requires
- php: ^8.0
- flarum/core: ^1.7.0
Requires (Dev)
- laravel/pint: ^1.5.0
README
Allow users to embed video using BBCode.
Preview
Look at the screenshots subfolder.
Install
composer require nearata/flarum-ext-embed-video:"*"
Update
composer require nearata/flarum-ext-embed-video:"*"
php flarum cache:clear
Remove
Remember to call the Purge
button in Admin area.
If you are about to unistall this extension for good, run this command before.
This command will remove ALL the video player found in user posts.
php flarum nearataEmbedVideo:purge
composer remove nearata/flarum-ext-embed-video php flarum cache:clear
How to use
[embed-video id="insertRandomId" url="" type="normal" live="false" qualities=""]
- id: can be any string, prefer random.
- url: must start with http or https.
- type: normal, flv, hls, shaka, webtorrent.
- live: true or false.
- qualities: check below.
Quality Switching
See QUALITY_SWITCHING.md.