Page MenuHomePhabricator

Show error messages when unsupported video formats can't play on your browser
Open, MediumPublic

Description

Migrated from: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/771

Narrative

As a user of Safari or IE browsers, I can get an error message if my browser cannot play WebM or Ogg video files, so that I understand why these videos won't play.

Acceptance Criteria

  • Show an error message if a video is not supported by my browser: "Sorry, your browser doesn't support this video format. <Learn how to play this video in another browser>.'
  • Link to a 'Video FAQ' page on Commons, where we can give them practical tips on which browsers (or add-ons) to use to play videos on our sites.

Related Bugs

See this conversation on IRC:

[4:39pm]fabriceflorin: bawolff: This video doesn't play on Safari: https://blog.wikimedia.org/2013/10/21/scientific-multimedia-files-get-a-second-life-on-wikipedia/ (We really should show some error messages to users of unsupported platforms, to let them know why the videos are not playing.)
[4:39pm] bawolff: fabriceflorin: Hmm, we should be showing an error message. You don't see one?
[4:40pm] bawolff: yes, not working on safari is to be expected
[4:40pm] bawolff: Unless you have a severely out of date version of java
[4:41pm] • bawolff will have to test that next time I'm with a friend who has a mac
[4:42pm] fabriceflorin: bawolff: If I click on the blog link above in Mac Safari, I get a blank black screen, with no error messages at all. If I click on this direct Commons link in Safari, I also get a black screen with no message: https://commons.wikimedia.org/wiki/File%3ACienciaaberta_gt2013_abertura.webm?embedplayer=yes (when I tried it earlier, it tried unsuccessfully to download the WebM file).
[4:43pm] bawolff: Umm, hmm. We are definitely supposed to have an error message
[4:44pm] bawolff: fabriceflorin: Just to check, do you have java enabled? (To check, just go to https://tools.wmflabs.org/bawolff/video_test.htm and see what the Java on, and java mime available lines of the table say)

Note: None of the videos on that test page played for Fabrice on Safari, except for the first one, the Commons Video example. The only error message shown was 'Missing Plugin', but it was only shown on a couple videos. All other videos were blank, either black or white.

Here is the browser info for that Mac OS X 10.9 machine. All videos play fine on Chrome on the same machine.

Browser info

<table cellpadding="0" cellspacing="0" class="t1">
<tbody>

<tr>
 <td class="td1" valign="middle">
 User-agent
 </td>
 <td class="td2" valign="middle">
 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.76.4 (KHTML, like Gecko) Version/7.0.4 Safari/537.76.4
 </td>
</tr>
<tr>
 <td class="td1" valign="middle">
 Java on
 </td>
 <td class="td2" valign="middle">
 true
 </td>
</tr>
<tr>
 <td class="td1" valign="middle">
 Java mime available
 </td>
 <td class="td2" valign="middle">
 no
 </td>
</tr>
<tr>
 <td class="td1" valign="middle">
 Ogg plugin
 </td>
 <td class="td2" valign="middle">
 yes
 </td>
</tr>
<tr>
 <td class="td1" valign="middle">
 video/ogg plugin
 </td>
 <td class="td2" valign="middle">
 yes
 </td>
</tr>
<tr>
 <td class="td1" valign="middle">
 Native webm (VP8/vorbis)
 </td>
 <td class="td2" valign="middle">
 no
 </td>
</tr>
<tr>
 <td class="td1" valign="middle">
 Native webm (VP9/opus; not used on commons)
 </td>
 <td class="td2" valign="middle">
 no
 </td>
</tr>
<tr>
 <td class="td1" valign="middle">
 Native ogg (theora/vorbis)
 </td>
 <td class="td2" valign="middle">
 no
 </td>
</tr>
<tr>
 <td class="td1" valign="middle">
 h264 (aka MP4) [Not used by commons]
 </td>
 <td class="td2" valign="middle">
 probably, probably (Still supported if one thing in list is "no")
 </td>
</tr>

</tbody>
</table>

Related Bugs

Related Stories

Related Changesets

Event Timeline

MingleTerminator raised the priority of this task from to Medium.Dec 8 2014, 6:15 PM
MingleTerminator added a project: Multimedia.
Jdforrester-WMF moved this task from Untriaged to Backlog on the Multimedia board.Sep 4 2015, 6:28 PM
Restricted Application added a subscriber: Matanya. · View Herald TranscriptSep 4 2015, 6:28 PM
TheDJ moved this task from To sort to Player on the TimedMediaHandler board.Oct 21 2015, 7:54 PM
brion moved this task from Player to Player-Old on the TimedMediaHandler board.Apr 23 2018, 11:01 PM