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. Qtwebkit does not play HTML audio/video objects in Ubuntu
QtWS25 Last Chance

Qtwebkit does not play HTML audio/video objects in Ubuntu

Scheduled Pinned Locked Moved Qt WebKit
1 Posts 1 Posters 1.4k 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.
  • R Offline
    R Offline
    raghusk
    wrote on last edited by
    #1

    Hi
    Am new to QT development.
    I wanted to play some HTML audio contents using qtwebkit plugins .I have enabled plugins in my code i.e defaultSettings->setAttribute(QWebSettings::PluginsEnabled, true);
    and here is my sample HTML page

    <!DOCTYPE html>
    <html>
    <body>
    <title>Audio-HTML</title>
    <object height="600" width="600" data="fur-elise.mp3"></object>
    </body>
    </html>

    I use QT 5.0.2 and I have installed VLC plugins and gstream plugins.Also I have set the env path for MOZZILLA_HOME, QTWEBKIT_PLUGIN_PATH and MOZ_PLUGIN_PATH .

    My code works fine in Windows 7 but not on Ubuntu, Can anybody please let me know what I might be missing in my Ubuntu Version of QT ?

    Thanks in advance
    Raghu SK

    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