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 Media Player Error Window

    Help
    1
    1
    113
    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.
    • altezzalab
      altezzalab last edited by

      How to display the error slot if q-media-player fail to load the image? I try the following code, but nothing happen on load fail.

      <q-media-player
                type="video"
                background-color="black"
                :autoplay = "true"
                :no-controls = "true"
                :show-big-play-button="false"
                :sources="[{ src: item.trailer_url, type: 'video/mp4' }]"
              >
                <template v-slot:errorWindow>
                <div class="absolute-full flex flex-center bg-negative text-white">
                  Cannot load Video
                </div>
                </template>
              </q-media-player>
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post