Page MenuHomePhabricator

Video goes black when browser window is scrolled or resized
Closed, DeclinedPublic

Description

Author: Damien.Guillaume

Description:
Cortado.paint(Graphics) does not draw the latest image in the video. The result is that when a repaint is needed (such as when the browser window is scrolled), the video disappears. It looks very bad when autoplay is off and the window has to be scrolled in order to see the applet, because in this case the first image is never seen.

The last image used in VideoSink should be saved to be drawn (at the right position) in Cortado.paint() whenever a paint is necessary. Status will also require some fixing : currently, it calls for an applet repaint every time it needs to repaint. It should only be a "repaint()" instead of "component.repaint()", to avoid unnecessary drawing of the image from the video.


Version: unspecified
Severity: normal
Whiteboard: wikimedia[unmaintained]

Details

Reference
bz18707

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:33 PM
bzimport set Reference to bz18707.
bzimport added a subscriber: Unknown Object (MLST).

TimedMediaHandler was deployed at the beginning of November 2012, see
https://www.mediawiki.org/wiki/TimedMediaHandler and http://blog.wikimedia.org/2012/11/08/introducing-wikipedias-new-html5-video-player/ for more information.
It is based on HTML5 and supports closed captions, timed text, WebM, etc.

This bug report was reported about "Cortado". With TimedMediaHandler being in place, Cortado is now ONLY used as a fallback for web browsers that do not support any of the video codecs we offer but have Java installed. This currently is Apple Safari without XiphQt installed, or Microsoft Internet Explorer with Java applet installed.

Please add a comment here in case that you still face the problem described (now with Cortado inside of TimedMediaHandler) if using one of the browsers mentioned above. In that case, this report should be moved to product="MediaWiki extensions" and component="TimedMediaHandler" in this bug tracker.

Issues that also happen with Cortado without TimedMediaHandler should be reported to https://trac.xiph.org/ instead.

Wikimedia itself is currently not actively working on Cortado.
If you are still interested in seeing this / if this problem still happens, please check the existing upstream tickets at https://trac.xiph.org/query?component=Cortado&group=component&col=id&col=summary&col=status&col=owner&col=type&col=priority&col=milestone&order=priority and if no ticket exists yet for this request, please create one in upstream.

Also see comment 1 in this report for more explanation which way Wikimedia Multimedia currently takes. Closing as WONTFIX for Wikimedia itself.