Last modified: 2014-02-12 23:54:04 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T32859, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30859 - Audio and video files are broken in mobile
Audio and video files are broken in mobile
Status: RESOLVED FIXED
Product: MobileFrontend
Classification: Unclassified
stable (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-11 21:28 UTC by Yair Rand
Modified: 2014-02-12 23:54 UTC (History)
11 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Yair Rand 2011-09-11 21:28:39 UTC
On the mobile site, audio files on pages do not work. See for example en.m.wiktionary.org/wiki/test , in the English section, the first audio file does not even have a button show up at all, and the second has a button but it doesn't do anything.
Comment 1 Tomasz Finc 2011-09-12 17:43:55 UTC
Thanks for the report Yair. Were going to be spending this week taking a look at the sister projects around mobile. Keep the bugs coming!
Comment 2 Jon 2012-02-14 09:33:58 UTC
The problem seems to be that the javascript from the OggHandler extension [1] is not being loaded. As a workaround for the time being you could add 

	<script type="text/javascript" src="http://bits.wikimedia.org/w/extensions-1.18/OggHandler/OggPlayer.js?12"></script>

To ApplicationTemplate.php in the MobileFrontend extension just before {$filePageScript}

I'm not sure what handling (if any) MobileFrontend has for allowing other extensions to register additional javascript/css for the page.

[1] http://www.mediawiki.org/wiki/Extension:OggHandler
Comment 3 Brion Vibber 2012-02-23 23:02:30 UTC
This got pinged in Mozilla's bug tracker as well, we can confirm the bug's on our end: https://bugzilla.mozilla.org/show_bug.cgi?id=728486
Comment 4 Brion Vibber 2012-02-23 23:11:22 UTC
Note also that just adding the player code won't help on many devices/browsers that don't support Ogg Vorbis/Theora.

Android may be ok, Firefox for Android should def work, but others -- and definitely iOS devices -- will need MP4/H.264 or MP3 or AAC transcodes of video and audio in order to play in the regular browser.

Transcoding to the patented formats would violate some of our policies though so may not happen...


Alternately, we could package up an ogg player into an app, and use magic URLs to send you over there... or something horrid like that. Eek!
Comment 5 Jon 2012-02-24 15:14:00 UTC
Fixed in r112322 - now stripping out any references to #og_player_2 - to avoid broken buttons. Better we don't show them at all. The link is left so people can still play files if their browser supports it.
Comment 6 Lawrence Mandel 2012-07-11 14:58:30 UTC
I'm still experiencing this issue on Firefox for Android. I opened bug 38305.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links