Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML Video with autoPlay
QtWS25 Last Chance

QML Video with autoPlay

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 461 Views
  • 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.
  • G Offline
    G Offline
    Gammel
    wrote on last edited by
    #1

    Hi everyone.

    I have a problem with Qml video element with autoPlay:true

    Sometimes the video starts playing sound but the image is stuck in the first frame and doesn't update until resizing. If i set in the options to use software opengl the error is gone, but other options won't. Another alternative solution is to add:

    autoLoad:true
    onHasVideoChanged {
     video.play()
    }
    

    I'm loading a .mp4 in Windows 10, using the QtCreator target for MSVC2017 x64 compiler.

    Maybe the MediaPlayer thinks the video finished loading but it didn't?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved