nearata/flarum-ext-embed-video

Allow users to embed video using BBCode

Installs: 5 707

Dependents: 0

Suggesters: 0

Security: 0

Stars: 8

Watchers: 1

Forks: 3

Open Issues: 4

Language:TypeScript

Type:flarum-extension

3.3.2 2023-05-27 19:10 UTC

README

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.