Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt Quick Android Video Play
Forum Updated to NodeBB v4.3 + New Features

Qt Quick Android Video Play

Scheduled Pinned Locked Moved Solved Mobile and Embedded
2 Posts 1 Posters 367 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    hi on android i want to play a video on remote server but i can't see the video and i get the following error. Is there anyone have an idea ?

        MediaPlayer {
            id: mediaPlayer
            source: "http://karamea.online/downloads/Movies/Star.Wars.A.New.Hope.Bloopers.mp4"
            autoPlay: true
            onError: {
                console.log(errorString)
            }
        }
    
        VideoOutput {
            id: liveVideo
            width: 500
            height: 250
            anchors.top: parent.top
            source: mediaPlayer
        }
    
    qml: Error: (Unknown error/Insufficient resources)
    
    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by A Former User
      #2

      I think the media player can't play the .mp4 format, but the .m3u8 format can be played without any problems.

      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