https://bugzilla.wikimedia.org/show_bug.cgi?id=43101
Web browser: Google Chrome
Bug ID: 43101
Summary: TimedMediaHandler <source> elements missing "type"
parameter
Product: MediaWiki extensions
Version: master
Hardware: All
URL: http://en.m.wikipedia.org/wiki/Red_Panda#section_5
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: TimedMediaHandler
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: Android 4.0.x
TimedMediaHandler outputs <video> elements with multiple <source> subelements
directly into HTML, which allows browsers without JavaScript -- or any browser
on the mobile interface where we have less JavaScript -- to play the videos
directly.
However, the <source> elements are not labeled with "type" attributes, so the
browser can't tell which source it should go for.
Instead it seems to default to the first source, which appears to be the
original file.
This seems to have two major problems:
1) original source may be HD and waste resources on a small-screen or
low-bandwidth device
2) platforms such as Android 4.x support WebM but not Ogg Theora; by defaulting
to the Ogg version the video doesn't play.
In theory, having "type" attributes ought to allow Chrome to select one of the
WebM versions instead; this'll probably also be needed if/when we do H.264
transcodes for browsers that don't support Ogg or WebM.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l