Page MenuHomePhabricator

Native player shows for (at least) audio files, then styling jumps
Open, LowestPublic


From IRC, I'm getting a report that, on the Commons main page, an audio file shows the native browser player, then after a split second, changes the style ungracefully to our player. It might be aesthetically better to hide the player until the styles have loaded for our player...

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:47 AM
bzimport set Reference to bz72477.
bzimport added a subscriber: Unknown Object (MLST).
brion added a comment.Oct 27 2014, 7:03 PM

Probably should wrap hiding-styles in a '.nojs' block so native <audio>/<video> still comes through if JS is off, too.

Gilles triaged this task as Lowest priority.Nov 24 2014, 1:47 PM
Gilles added a subscriber: Gilles.
Jdforrester-WMF moved this task from Untriaged to Backlog on the Multimedia board.Sep 4 2015, 6:08 PM
Restricted Application added subscribers: Matanya, Aklapper. · View Herald TranscriptSep 4 2015, 6:08 PM
TheDJ moved this task from To sort to Player on the TimedMediaHandler board.Oct 21 2015, 7:56 PM
TheDJ added a subscriber: TheDJ.Dec 2 2015, 11:43 PM

We cannot really avoid this very well (definitely not now that we have async).

  • You can hide the entire player with CSS, but then you have empty areas in the page, while the page loads. Not really pretty. It also hides the poster, which is just sad.
  • We can remove the native controls from the HTML, but this breaks fallback playing for ppl with JS disabled.
  • We can remove the native controls with CSS, but FF for instance doesn't have pseudo elements for the native controls