Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Qtwebkit does not play HTML audio/video objects in Ubuntu

    Qt WebKit
    1
    1
    1312
    Loading More Posts
    • 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
      raghusk last edited by

      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 Reply Quote 0
      • First post
        Last post