Page MenuHomePhabricator

Disable video and audio tags when not supported
Closed, ResolvedPublic

Description

Broken out from bug 38305 as suggested by Brion

Disable <video> and <audio> in mobilefrontend where ogg and webm not
supported (probably some JS to detect that it's not working and provide a
fallback behavior)


Version: unspecified
Severity: enhancement

Details

Reference
bz58948

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:25 AM
bzimport set Reference to bz58948.
bzimport added a subscriber: Unknown Object (MLST).
  • Bug 38305 has been marked as a duplicate of this bug. ***

bingle-admin wrote:

Prioritization and scheduling of this bug is tracked on Mingle card https://wikimedia.mingle.thoughtworks.com/projects/mobile/cards/1579

jgonera wrote:

Can you provide specific examples of pages and devices where this is a problem? Maryana and I checked on iPad and the browser simply shows a message saying that the media can't be played. What else could we do?

According to Brion, the original reporter, on the prior bug report "any browser where ogg and webm not supported".

It's possibly fixed, haven't got time to explore this yet. Adding Brion who might be able to provide some concrete examples of devices that might have this problem and give an update.

iPhone/iPad are the primary examples; ideally if playback isn't supported we should offer a file download link instead. (This allows for playback via a supporting external app such as VLC.)

I'm pretty sure this is fixed. As you can see in the screenshot that I will post to followthis up the browser complains it cannot play the file. Provided an editor has added a link as in this example the ogg file can be downloaded. I think this is the way forward - browsers should be built to complain about the file formats - it's the most long term solution.

Not sure if there is a more specific bug but if there is please raise it as this bug has got to the point of not being actionable.

Created attachment 16607
Cannot play ogg file (on iPhone)

Attached:

Screen_Shot_2014-09-26_at_11.44.01_AM.png (307×448 px, 47 KB)