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

    QMediaPlayer - When the video ends return to poster image display

    [v1] App Extensions
    2
    3
    248
    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.
    • C
      clwd last edited by clwd

      Running QMediaPlayer video on a page. The current behavior:

      • On a fresh page load, a poster image is displayed instead of the video.
      • After playing the video, the last frame of the video is displayed until the full page is reloaded.

      Once the video has finished, is it possible set the video to the beginning and display the poster image (in other words, back to the initial state after loading the page)?

      Thanks!

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

        @clwd The poster is only displayed by the underlying HTML5 video player until there is enough video loaded that it can switch over. There is no way to force the multimedia element to show the poster. But, you can manage some state where you show the poster image in the overlay. When playing don’t show it and when you get the event for video ended, you can put the image back. This is the only way I can think of where you will still have video controls available.

        1 Reply Last reply Reply Quote 0
        • C
          clwd last edited by

          I will experiment with this a bit. Thanks for the suggestion!

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