Qt: Background video in QtWebKit - qt

While HTML5 media tags aren't working in QtWebKit 2.2.2 and it's a known issue, but I still need to get this demo done on time. I need the media tags to display a video behind some HTML, which I don't mind doing without the media tags if its possible. I'm running Windows XP using MinGW. I was able to compile the latest webkit. I'm trying to integreate QtMultimedia from the QtMoblity package as some said it fixes the issues.

I've just write a code with QT version 4.8, nothing went wrong. Did you provide the media plugin to play the video? There is a nice example in this link, you can look at its source code, you don't have to include phonon or mobility for such a job.

Related

Enabling mp4/mpeg4/avc support for Qt5 WebEngine on Linux

i installed Qt 5.4.1 x64 on LUbuntu and created an app which uses the new QtWebEngine.
I`m trying to display a html5 page with that component which is using the tag.
All works fine except if I try to playback a mp4 video. The video area remains black. It works if I use other video types like webm/ogg as source.
I know this is due to license restrictions, so that mp4 is deactivated by default in Ubuntu/Linux for Qt.
What is needed in Qt to activate it to allow mp4 playback and on what do I have pay attention in case of license terms (I read that statically linking the library is allowed?) ?
I`ve already tried to copy over the x64 distribution of libffmpegsuo.so which is included in Chrome (2,2Mb) over to the Qt directory to /plugins/webengine/ and replaced that one that was already there (1,1 Mb) but it had no effect.
In Chrome playback works fine btw.
If you need more details like paths etc. please tell me.
Thanks !
You can explicitly enable proprietary codecs (H264, MP3) when compiling Qt WebEngine:
In /path-to-qt-src-dir/qtwebengine execute:
qmake WEBENGINE_CONFIG+=use_proprietary_codecs
You should be able to see in the output that H264 codec is enabled, which is not the default configuration.

QT5 webkit plugin issue

I have application created using QT 5.0.2. When launch the video window, blank screen is observed. I am using win8 64-bit OS(also VLC). There is no issue with QT4 in win7 32-bit. Video streaming is perfect. Using qt webit/webpage classes
Is there any way to check: whether plug-in(mainly to view the video frames) is enabled or not in qt web-kit browser ?
Qt 4.8 and latest version 5.0.2 doesn't support video.. here is the link
[http://qt-project.org/forums/viewthread/23636][1]
You can resolve the issue by using this blog. Sorry I did not tried this. may help you. You need to build qt twice and few more corrections!
[http://blog.enthought.com/open-source/fun-with-qtwebkit-html5-video/][2]
Some one already mentioned the qt open bug against it.
[https://bugreports.qt-project.org/browse/QTBUG-22883][3]

How to save firebug changes using Eclipse (Windows)?

How to save firebug changes using Eclipse (Windows)?
I found here that it's possible to save firebug changes if we use Eclipse and FireEclipse
Is anyone using this combination successfully? Can anyone explain the step of Installing?
I'm on Windows7 64 bit
And if FireEclipse works with Eclipse then Will it also work with Aptana port of Eclipse?
First, whether it will work on Aptana? Yes, it should.
Now to the main question: The Fireclipse site claims contrary to what the answer you have linked to cites: the FE site claims that it mainly helps in debugging javascript through Firebug and Eclipse consoles (nothing about exporting/saving CSS changes).
Also, I wouldn't really recommend going with this plugin 'coz it hasn't been updated in a while. According to SourceForge (where the source of this project is hosted), Fireclipse was last updated 2008-10-22. Unless, you are still using Firefox 2 and Eclipse 3.2, you should avoid this plugin.
Try some of the other tools listed in that thread, for example, FireDiff sounds promising.
This is how i save my firebug changes.
https://addons.mozilla.org/en-US/firefox/addon/firediff/
Hope this helps.

flex plugin on eclipse

This is not a programming question but i wanted to know How to install flex plugin for eclipse on ubuntu.Point me to any links for this.Eclipse is already installed.Thanks...
Flash Builder is not supported on any form of Linux.
You might try FDT, which has support for Linux.
IntelliJ also supports Linux, however is not eclipse based.
You can make flash builder run in linux using wine. Intellij Is decent, but fall way short in flex development. ( except re factoring of course ;))
search google for "flexbuilder in linux" + wine. You will get multiple results including this one.
http://diariolinux.com/2009/06/22/how-to-install-flash-builder-on-linux/

<video> tag not working inside QtWebkit on windows

I can't seem to get an html video tag to play in QtWebkit. It shows up as a blue square with a question mark, like an unsupported plugin. Flash videos play fine, and HTML5 canvas works great.
Specs:
OS: Windows 7
Qt: 4.6.3 (installed from the qt creator 2.0.1 from nokia's site)
PySide: 0.4 (latest)
QtWebit configuration (I tried all kinds of combinations, now I have): PluginsEnabled, LocalContentCanAccessRemoteUrls, JavascriptEnabled
Well the problem seemed that the default Qt + PySide installation is broken. It couldn't find the Qt plugins or the phonon backends.
When I swithced to using PyQt it worked. It could be made usable with the Qt from nokia and PySide but it will require more work and playing around with the paths. To see the bug just use Process Monitor and see how Qt can't find backends and plugins.

Resources