Embed Video

GitHub Packagist Version GitHub Release Date

image

DPlayer supports

  • Streaming formats
    • HLS
    • FLV
    • MPEG DASH
    • WebTorrent
  • Media formats
    • MP4 H.264
    • WebM
    • Ogg Theora Vorbis

Video Type Options

Install

composer require nearata/flarum-ext-embed-video:"*"

Update

composer update nearata/flarum-ext-embed-video:"*"
php flarum cache:clear

Remove

composer remove nearata/flarum-ext-embed-video
php flarum cache:clear

How to use

[embed-video id="insertRandomId" url="" type="normal" live="false" qualities=""]

Links

    • [deleted]

    • Edited

    Nearata Great work once again! Thank you

    BayuHerkuncahyo Have you tried to clear flarum cache?

    Admin Panel
    Dashboard -> Tools -> Clear Cache

    or

    Terminal (you must be in flarum root folder)
    php flarum cache:clear

    Otherwise, you can activate the debug mode in

    Flarum root folder -> config.php file change debug option to true (debug: true) and post a screenshot or, if you can, post the website url

      5 days later

      Nearata I got same problem,I tried in my testing forum. When I enabled your plugin,I also got 500 Error on forum home page.So I try to enable debug mode and enable errors display settings in php.ini,but I got nothing.When I try to access my forum home page by using aria2c,I got some message:
      < HTTP/2 200
      < date: Thu, 30 Jul 2020 05:18:37 GMT
      < server: Apache
      < cache-control: max-age=0
      < expires: Thu, 30 Jul 2020 05:18:37 GMT
      < vary: Accept-Encoding
      < content-type: text/html; charset=UTF-8
      <

      Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1052672 bytes) in /[PATH TO FLARUM]/vendor/axy/sourcemap/parsing/Line.php on line 63

        5 days later

        ART994 could you elaborate? This extension embeds video players (as far as I understand). Vue.js is a JS framework. The two aren't really related at all.

          askvortsov Vue.js is an open source JavaScript framework for building user interfaces. Easily integrates into projects using other JavaScript libraries.

            ART994 I understand that, but I don't think it really has anything to do with embedding videos, and as such, isn't really relevant to this extension? Could you explain what you're trying to accomplish?

              3 months later

              Is this extension compatible with beta14?

                Nearata Oh! Do you know when the extension will be updated? It's works very well with beta13. And do you know if it's possible to enable quality selection for variable bitrate streams?
                Thank you so much! Your extension is amazing!!

                  6 days later