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

    Audio HTML5 TAG not visible in Chrome

    Framework
    2
    2
    375
    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.
    • J
      jmg1340 last edited by

      Hi
      I`ve tried to use audio html5 tag in my quasar app.

      <audio controls>
        <source src="horse.ogg" type="audio/ogg">
        <source src="horse.mp3" type="audio/mpeg">
      Your browser does not support the audio element.
      </audio>
      

      It works in Safari and Firefox but not in Chrome. In Chrome, the problem is that it creates the space where the player is but it’s not visible.

      You could think that it`s a problem of a version or some restriction of Chrome but, in Chrome, if you go to https://www.w3schools.com/html/tryit.asp?filename=tryhtml5_audio_all, you can see the player and it works.

      Thank you very much.

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

        The above is not really Quasar related, however, have you tried to use QMediaPlayer? It has support for both video and audio.

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