ash3T

sorry, i forgot to update the info of the first post. i've just added a How to use.

you have to fill the url field with a direct link to the file

like https://example.com/video.mp4

    6 days later

    Nearata Thank you very much, this extension is very useful, but please tell me how to adjust the size of the vertical video frame. If the video is taken on a mobile phone, it is a vertical screen video. The displayed interface is too large, especially on a computer. If It’s fine if you can adjust it down a bit and be as self-adaptive as the horizontal version of the video, that would be the best, personal suggestion, thank you for your efforts

    2 months later

    Helo!
    In new version of Flarum, Embed Video error on posting:

    flarum.ERROR: TypeError: Nearata\EmbedVideo\Formatter\Render::__invoke(): Argument #4 ($request) must be of type Psr\Http\Message\ServerRequestInterface, null given, called in /www/wwwroot/csapat.org/vendor/flarum/core/src/Foundation/ContainerUtil.php on line 30 and defined in /www/wwwroot/csapat.org/vendor/nearata/flarum-ext-embed-video/src/Formatter/Render.php:13

      7 days later

      Nearata How can install v 3.3.2?

      composer update nearata/flarum-ext-embed-video
      ---
      Nothing to modify in lock file
      Installing dependencies from lock file (including require-dev)
      Nothing to install, update or remove
      ---

      I have v 3.3.1

        2 months later

        The UI for adding videos on version 1.8.1 is gone
        cfdb50abfcfc5e7238e5ce3ad4caaa9d.png

        3 months later

        Litalino please describe what you tried in more detail. What kind of link did you paste ? Did you manage to get some links to work or do none work ? What do you see as the result ? Do you have a link to an example page where we can see the problem ? Also please attach your php flarum info output so we can better assist you.

          Litalino on your page I see one video player, and one [embed-video] tag that is not converted. Are both supposed to be embedded with this extension or is a different extension responsible for the first video player?

          The block of text containing the [embed-video] tag seems to be inside of a code block. That would explain why Flarum keeps the original text and does not transform it. Make sure you don't have 4 spaces in front of the text or a bbcode/markdown code block delimiter above the tag.

          If in doubt, can you share a screenshot or exact copy of the text inside of the post write/edit text input?

          Your php flarum info would also be useful to see other extensions used at the same time.