Skip to content

Nearata/flarum-ext-embed-video

Repository files navigation

Embed Video

license packagist changelog

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.