No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Playing videos on mobile (android and ios) from source or url!

    Help
    2
    4
    597
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      salman last edited by

      How to play a video on mobile apps using quasar. I have tried using Qvideo but only the sound works and no video. Same thing with QMediaPlayer. What I want is to play videos from sources like youtube or from the video original url ?

      Thanks

      1 Reply Last reply Reply Quote 0
      • Hawkeye64
        Hawkeye64 last edited by

        QMediaPlayer is a wrapper around the HTML5 media element and can’t play YouTube or Vimeo. QVideo should allow you to do that as it is really just an iframe. If you are not getting video, then there is an issue with your system, possibly a CORS issue or account with YouTube/Vimeo, etc.
        The QVideo examples play from YouTube just fine: https://quasar.dev/vue-components/video

        S 1 Reply Last reply Reply Quote 0
        • S
          salman @Hawkeye64 last edited by salman

          @Hawkeye64 Thanks for the replay. Yes Qvideo uses iframe and QMediaPlayer uses html5 video. However my problem happened when I ran the app on android studio emulator. The sound works fine but the video does not show up. After doing some research I found that the emulator is not able to run the video. So I build the app and run it on my mobile phone and it worked fine.

          1 Reply Last reply Reply Quote 0
          • Hawkeye64
            Hawkeye64 last edited by

            @salman That’s good to know as I didn’t know that. Thanks for taking time to figure it out.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post