Qtwebkit does not play HTML audio/video objects in Ubuntu

  • 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>
    <object height="600" width="600" data="fur-elise.mp3"></object>

    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

Log in to reply