Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nearata/flarum-ext-embed-video
A Flarum extension that allow users to embed video using BBCode
https://github.com/nearata/flarum-ext-embed-video
bbcode dash dplayer flarum flarum-extension flv hls player shaka-player video webtorrent
Last synced: 15 days ago
JSON representation
A Flarum extension that allow users to embed video using BBCode
- Host: GitHub
- URL: https://github.com/nearata/flarum-ext-embed-video
- Owner: Nearata
- License: unlicense
- Created: 2020-07-22T21:00:53.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-08-30T15:05:56.000Z (4 months ago)
- Last Synced: 2024-12-06T20:47:39.497Z (16 days ago)
- Topics: bbcode, dash, dplayer, flarum, flarum-extension, flv, hls, player, shaka-player, video, webtorrent
- Language: TypeScript
- Homepage: https://discuss.flarum.org/d/24527
- Size: 4.84 MB
- Stars: 8
- Watchers: 1
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Embed Video
[![license](https://img.shields.io/github/license/Nearata/flarum-ext-embed-video?style=flat)](https://github.com/Nearata/flarum-ext-embed-video/blob/main/UNLICENSE)
[![packagist](https://img.shields.io/packagist/v/nearata/flarum-ext-embed-video?style=flat)](https://packagist.org/packages/nearata/flarum-ext-embed-video)
[![changelog](https://img.shields.io/github/release-date/nearata/flarum-ext-embed-video?label=last%20release%20date)](https://github.com/Nearata/flarum-ext-embed-video/blob/main/CHANGELOG.md)> Allow users to embed video using BBCode.
## Preview
Look at the [screenshots](screenshots) subfolder.
## Install
```sh
composer require nearata/flarum-ext-embed-video:"*"
```## Update
```sh
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.
```sh
php flarum nearataEmbedVideo:purge
``````sh
composer remove nearata/flarum-ext-embed-video
php flarum cache:clear
```## How to use
```js
[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](QUALITY_SWITCHING.md).