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

    Q-Video not working with cordova

    Framework
    2
    3
    665
    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.
    • F
      Fjohn last edited by

      Hey all,
      I’m using Q-Video component in my app to display a video from youtube. The component is used in a cardview.

      While development, the video is working fine on the browser but when i compile for cordova on device the video is not displayed … I see the iframe in the node but the document is empty …

      0_1534593476001_q-video.png

      The code is simple … :
      <q-video :src=“item[‘video-url’]” style=“height:200px”/>

      Do you have any idea of the problem ? the Url is https, the video exists … any help appreciate !

      John

      1 Reply Last reply Reply Quote 0
      • rstoenescu
        rstoenescu Admin last edited by

        Does this help? https://stackoverflow.com/questions/20488856/how-to-embed-youtube-video-in-cordova-android-app

        F 1 Reply Last reply Reply Quote 1
        • F
          Fjohn @rstoenescu last edited by

          @rstoenescu Yes thank you !

          for others that have the same problem, just add
          <preference name=“AllowInlineMediaPlayback” value=“true” />
          <preference name=“MediaPlaybackRequiresUserAction” value=“false” />
          <allow-navigation href=“youtube” />
          <allow-navigation href=“ytimg” />
          in your config.xml file 🙂

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