I plan to add an interface for playing videos from URLs to my desktop pet

According to the article
Streaming a video from a URL is not supported in godot

I found this repository

Is using it the best way to solve this problem? Is there another feasible method?

    aiaimimi Is there another feasible method?

    Of course, there is always the alternative — write your own extension. 😎 But this solution looks workable — I'll check it when the cat frees my workplace.

    It doesn't work perfectly, but for a prototype, it's great.

      Tomcat
      Thank you for your reply. I will try to use this library

      @Tomcat
      When I tried to apply this library to my project, I found that this library is not perfect.
      The most important thing is that it will trigger crach when you change the video time multiple times
      https://github.com/Elly2018/elly_videoplayer/issues/5

      So are there any other recommended libraries, although writing the code from scratch is a possible option, I'm really not an expert in this area and it would be really complicated for me to make a similar library from scratch

      Can anyone help me?

        aiaimimi So are there any other recommended libraries

        I don't know of any other realizations. I'd be interested in that too.

        In the end, I still used this library and avoided crashes through certain methods,
        https://github.com/aiaimimi0920/mimi/commit/b74bf6b07c347cd9f535beba9c1acea353320297

        But this method is ugly, and it has these problems:

        1. When modifying the current playback time multiple times, it will crash
        2. Sometimes it is not possible to initialize correctly
        3. From HTTP URL, the video will lag
        4. get_playback_position sometimes cannot remain in the correct time
        5. I hope to have a playback start callback and a playback end callback

        Hope someone can update this library and give me help:
        https://github.com/aiaimimi0920/mimi/issues/1

        Finally, I wrote a plug-in myself to complete my function. It can load audio or video in any format normally, and can also play audio and video on the URL.

        Certain modifications have been made based on the code of these plug-ins.

        https://github.com/htang63/godot-ffmpeg

        https://github.com/DataPlusProgram/gdVideoPlayer

        https://github.com/VoylinsGamedevJourney/GoZen-ffmpeg

        https://github.com/nathanfranke/gdaudioext

        https://github.com/EIRTeam/EIRTeam.FFmpeg

        https://github.com/Elly2018/elly_videoplayer