RESOLVED WONTFIX 53682
[Qt][Symbian] HTML5 audio/video can't play after click the play button
https://bugs.webkit.org/show_bug.cgi?id=53682
Summary [Qt][Symbian] HTML5 audio/video can't play after click the play button
Yi Shen
Reported 2011-02-03 07:12:41 PST
In Qt Webkit the implementation is expecting BufferedMedia notification on load. If it doesn’t receive the BufferedMedia status then it won’t play at all (because it is waiting for enough data to play). This is how it works on Linux and other platforms we’ve tried, however, on symbian platform, it never gets BufferedMedia status if NOT call QMediaPlayer::play() (http://bugreports.qt.nokia.com/browse/QTMOBILITY-1090), so the video/audio won't play after click the play button (it is a chicken-and-egg problem). Since it is the behaviour of symbian APIs (which may take a while for fixing), we want to put a very simple workaround to solve this issue for symbian. The patch is coming soon.
Attachments
pre-roll to get the correct buffer-status (1.50 KB, patch)
2011-02-03 07:22 PST, Yi Shen
no flags
put a reference to the QtMobility bug (1.66 KB, patch)
2011-02-03 07:48 PST, Yi Shen
vestbo: review-
Yi Shen
Comment 1 2011-02-03 07:22:15 PST
Created attachment 81058 [details] pre-roll to get the correct buffer-status
Nancy Piedra
Comment 2 2011-02-03 07:40:52 PST
Yi, can we put a reference to the QtMobility bug (QTMOBLITY-1090) in the code? That way we'll remember why we did it.
Yi Shen
Comment 3 2011-02-03 07:48:46 PST
Created attachment 81060 [details] put a reference to the QtMobility bug
Tor Arne Vestbø
Comment 4 2011-02-07 07:24:16 PST
Comment on attachment 81060 [details] put a reference to the QtMobility bug This should be solved in QtMultimedia, not WebKit
Suresh Voruganti
Comment 5 2011-02-08 12:12:58 PST
Removing error from Qtwebkit 2.1.1 master bug
Ademar Reis
Comment 6 2011-02-09 11:50:55 PST
(In reply to comment #5) > Removing error from Qtwebkit 2.1.1 master bug Adding back, as it'll be added as a workaround on 2.1.x. If it's really not going to be applied on trunk (not even with some sort of #ifdef), then please close this bug as WONTFIX.
Tor Arne Vestbø
Comment 7 2011-02-09 12:48:12 PST
(In reply to comment #6) > (In reply to comment #5) > > Removing error from Qtwebkit 2.1.1 master bug > > Adding back, as it'll be added as a workaround on 2.1.x. If it's really not going to be applied on trunk (not even with some sort of #ifdef), then please close this bug as WONTFIX. Your wish is my command!
Ademar Reis
Comment 8 2011-02-14 12:27:31 PST
Patch from Yi Shen added to qtwebkit-2.1.x (as a workaround for the QtMobility bug) with commit 429bbaa <http://gitorious.org/webkit/qtwebkit/commit/429bbaa>
Bruno Abinader (history only)
Comment 9 2012-01-20 07:52:58 PST
*** Bug 76007 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.