Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt5.2 - YouTubeView Demo - Cannot play video
Qt 6.11 is out! See what's new in the release blog

Qt5.2 - YouTubeView Demo - Cannot play video

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 2.1k Views 1 Watching
  • 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 Offline
    J Offline
    JavaScriptDude
    wrote on last edited by
    #1

    I am running YouTubeView demo and the video's will not play. I am able to get the player to come up with the youtube screen but when I press play, the following message comes up "This video is currently unavailable".

    In Debug mode, I am seeing the following error in the console when I try playing "DirectShowPlayerService::doRender: Unresolved error code 80040218"

    Is this expected and if so, is there a fix?

    My system is Windows 7 x64. I am building with MinGW 32 bit.

    1 Reply Last reply
    0
    • raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      probably you are missing the necessary codecs for the video stream.
      Try installing a codec pack, many are available on the net (like K-Lite, ...)

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • J Offline
        J Offline
        JavaScriptDude
        wrote on last edited by
        #3

        Thanks for your reply raven-rorx. Actually, the demo is supposed to load html5 only videos which should play OOTB without any codecs. It appears to be a bug with the demo app where the iframe based youtube player is not loading html5 videos.

        I will do some debugging to see if I can fix it and try to post the fix if I can figure it out.

        1 Reply Last reply
        0
        • J Offline
          J Offline
          JavaScriptDude
          wrote on last edited by
          #4

          I have been digging deeper and the issue is across the board with video support. I'll raise a separate and more specific thread.

          Info:

          • Error message is "DirectShowPlayerService::doRender: Unresolved error code 80040266"
          • Build Environment: QT 5.2.0 / Windows 7 / MinGW 32bit
          • This same error code occurs in the following demo apps: YouTube View, Media Player, Browser (http://www.w3schools.com/html/tryit.asp?filename=tryhtml5_video_all), browser on youtube html5 videos, browser on local files of type webm, mp4, ogv, 3gp
          1 Reply Last reply
          0
          • J Offline
            J Offline
            JavaScriptDude
            wrote on last edited by
            #5

            Just to update on this thread, According to the response on the new "thread I created":http://qt-project.org/forums/viewthread/37539/#159577, this issue appears to be related to MinGW and the fact that the Video Codecs are not included out of the box.

            It looks like you were right on the money raven-worx :)

            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