Page MenuHomePhabricator

Not well-suited for Wiktionary's audio samples: 2nd file not playing, useless "Timed text" button, big image shown after file finishes
Closed, ResolvedPublic

Description

Wiktionary entries have audio samples, to show how a word is pronounced. These used to be accessed by clicking a small play button, at which point simple audio player controls would be displayed and the audio would be played. The new audio player always displays the full player, including the completely useless (on Wiktionary) "Timed text" button. The player taking up additional space is problematic, as are the numerous bugs in the audio player.

(I should probably open separate bugs for most of these, but just to quickly list: It crams a giant useless "audio" image into the settings box which opens after the file finishes, wastes virtually all of the space in it anyway, settings box has the wrong z-index, audio breaks entirely in some cases (see 2nd audio in [[wikt:food]]), wastes space in the player itself, has a completely messed up line-height in the settings box, and by the way, it appears to be advertising a commercial website in it, with a direct link to "Kaltura"'s sales page prominently displayed... ) Back to the point:

While the new player might be an improvement for Wikipedia, it seems fairly clear that on Wiktionary it's a step backwards. I suggest that it be either either modified to work well with WT or disabled entirely there.


Version: unspecified
Severity: normal

Details

Reference
bz41908

Related Objects

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 12:51 AM
bzimport added a project: TimedMediaHandler.
bzimport set Reference to bz41908.
Yair_rand created this task.Nov 9 2012, 1:44 AM

Thanks for the report! (Though this should really be split into several bug reports.) I can confirm most of the issues that you've mentioned.

He7d3r added a comment.Nov 9 2012, 2:25 AM

(In reply to comment #0)

it appears to be advertising a commercial website in it, with a direct link to
"Kaltura"'s sales page prominently displayed...

That is bug 23965, open since 2010.

mdale wrote:

Hi Yari,

I am waiting on another size patch review, since this would modify the same area of code:
https://gerrit.wikimedia.org/r/#/c/32328/1

Once that is in I will take a look at the listed issues. My plan:

  1. Support arbitrary small size players down to the width of the play / pause button ( 30x23 )
  1. Support disabling end credits, either by js flag or by the nature that the player is so small. ( no sense on having end credits on such a small player )
  1. Support mp3 derivatives for audio files, should make TMH more useful for wiktionary context so that mobile users can hear pronunciations, when they need them most.

Note TMH already supports derivatives to other formats bug 39867, and we could add in bug 32103 / FLAC at the same time as the above mentioned mp3 effort... but this also needs foundation buy in to create derivatives to not-as-free formats.

jgerber wrote:

hard to tell of this bug is fixed to many sub sections.

  1. small player works now. https://en.wikipedia.org/wiki/IPA_vowel_chart_with_audio
  1. credits are not show for audio players

Whats is open is more of a configuration question:

  • should we disable timed text for audio on all wikis
  • or just no timed text on wiktionary.org?
  • do we need a wiki markup option to disable timed text

(In reply to comment #4)

Whats is open is more of a configuration question:

  • should we disable timed text for audio on all wikis
  • or just no timed text on wiktionary.org?
  • do we need a wiki markup option to disable timed text

By "disable timed text", do you mean specifically disabling the "CC" button? If that's possible, it should definitely be done on Wiktionary. Captions are not necessary for audio samples. Changing wiki markup to allow disabling it would also work fine, as all audio samples are done through a template, so it would be simple to just change the template so that it affects all audio samples.

jgerber wrote:

its possible now to disable timed text on a per embed basis:
[[File:Example.ogg|disablecontrols=timedText]]

https://gerrit.wikimedia.org/r/#/c/57540/

Gilles raised the priority of this task from High to Unbreak Now!.Dec 4 2014, 10:21 AM
Gilles moved this task from Untriaged to Done on the Multimedia board.
Gilles lowered the priority of this task from Unbreak Now! to High.Dec 4 2014, 11:21 AM