Page MenuHomePhabricator

Audio files DOM is not really useful in Parsoid output
Closed, ResolvedPublic

Description

I wanted to check how audio files are rendered by Parsoid with this article:
https://en.wikipedia.org/api/rest_v1/page/html/Johann_Sebastian_Bach

I see at least two problems:

  • HTML5 constrol buttons are no displayed like it is for videos
  • There is no alternative to the full quality source OGG file

Event Timeline

Arlolra subscribed.

HTML5 constrol buttons are no displayed like it is for videos

This seems browser dependent. In Chrome, the controls are definitely there. In Firefox, it seems that they're hidden when the "height" property is less than 40. You can manually adjust that in Inspector to see.

There is no alternative to the full quality source OGG file

That seems more of an issue when uploading, that the derivatives aren't produced.

https://en.wikipedia.org/w/api.php?action=query&titles=File:Chromatic_Fuge_(Bach_BWV_903).ogg&prop=videoinfo&viprop=derivatives

Arlolra triaged this task as Medium priority.Jul 19 2017, 5:04 PM

In Firefox, it seems that they're hidden when the "height" property is less than 40.

This no longer appears to be the case.

Arlolra claimed this task.

That seems more of an issue when uploading, that the derivatives aren't produced.

https://en.wikipedia.org/w/api.php?action=query&titles=File:Chromatic_Fuge_(Bach_BWV_903).ogg&prop=videoinfo&viprop=derivatives

There's an mp3 listed now.