Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Qt5.0.0 HTML5 Video
Forum Updated to NodeBB v4.3 + New Features

Qt5.0.0 HTML5 Video

Scheduled Pinned Locked Moved Qt WebKit
2 Posts 2 Posters 4.5k 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.
  • S Offline
    S Offline
    serpulga
    wrote on 11 Jan 2013, 03:49 last edited by
    #1

    Hi,
    I'm developing a QtWebkit based application that will run on both OS X and
    Windows operating systems.
    I recently ported the project to Qt5.0.0 mostly for its better support of HTML5 video.

    bq. Qt WebKit is a web content rendering engine based on the open source WebKit project featuring broad support for standard web technologies. The Qt WebKit module provides integration with both Qt Quick and traditional widgets. The module brings the latest in HTML5 advancements to Qt 5, including CSS filters and animations and Video, Canvas and WebGL, Canvas support and HTML video.

    I tested the new build using:
    http://www.youtube.com/html5
    http://camendesign.com/code/video_for_everybody/test.html

    The build for OS X worked great as the application was able to play the Big Buck Bunny video in the second url, however, in Windows 7 MSVC2010, it was unable to load the HTML video, although, when I click the direct link to the MP4 file, a buch of VLC plugins get loaded from 'C:\Program Files (x86)\VideoLAN\VLC\plugins' and the video plays on the application's window.

    This is part of my .pro file:

    @QT += webkit webkitwidgets
    QT += core
    QT += gui
    QT += network
    QT += sql
    QT += script
    QT += widgets
    QT += multimedia multimediawidgets@

    Note that I'm not including any QtMultimedia classes directly.

    Are there any additional steps required to have HTML video working under Windows with Qt5.0.0?

    Thank you for your help.

    Sergio

    1 Reply Last reply
    0
    • S Offline
      S Offline
      shyju
      wrote on 22 May 2013, 06:59 last edited by
      #2

      HTML 5 video tag is currently not supported in windows. I was able to play it HTML 5 video by converting it to object tag. Check for video.js which is under git project. It a third party library which u can use for run time convertion of video tag to objec tag and play you video using flash plug-in.Hope next version of qt support the html5 playback in windows.

      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