Page MenuHomePhabricator

TimedMediaHandler functions should be fully supported by ‘slideshow’ mode
Open, Needs TriagePublic

Description

Currently slideshow mode has a number of flaws concerning video content and TimedMediaHandler extension.

  1. It doesn’t seem to support video playback at all, which is disappointing.
  2. It, as a general gallery, supports timestamps and other features of TimedMediaHandler extension in video content, which are added as File:Video.ogg|thumbtime=1:25, but then with the first redraw of the gallery via JavaScript it becomes this:
...omitted markup...
<div class="oo-ui-layout oo-ui-panelLayout"><div class="mw-gallery-slideshow-img-container"><a href="//upload.wikimedia.org/wikipedia/commons/3/3a/ЭП20-006_с_поездом_708Н_Talgo_Стриж%2C_Курский_вокзал.webm"><img alt="Файл:ЭП20-006 с поездом 708Н Talgo Стриж, Курский вокзал.webm" src="https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/ЭП20-006_с_поездом_708Н_Talgo_Стриж%2C_Курский_вокзал.webm/354px--ЭП20-006_с_поездом_708Н_Talgo_Стриж%2C_Курский_вокзал.webm.jpg" height="199px" width="354px"></a></div></div>
...omitted markup...

You don’t see such problem as in (2) when you stop loading the page before slideshow script finishing and resize the screen (for example, via opening developer console), then it resizes as follows:

...omitted markup...
<div class="mw-gallery-slideshow-img-container"><a href="//upload.wikimedia.org/wikipedia/commons/3/3a/ЭП20-006_с_поездом_708Н_Talgo_Стриж%2C_Курский_вокзал.webm"><img alt="Файл:ЭП20-006 с поездом 708Н Talgo Стриж, Курский вокзал.webm" src="//upload.wikimedia.org/wikipedia/commons/thumb/3/3a/ЭП20-006_с_поездом_708Н_Talgo_Стриж%2C_Курский_вокзал.webm/214px-seek%3D74-ЭП20-006_с_поездом_708Н_Talgo_Стриж%2C_Курский_вокзал.webm.jpg" height="199px" width="354px"></a></div>
...omitted markup...

I hope at least some of these issues can be fixed in a rather short time.

Event Timeline

stjn created this task.May 4 2017, 7:45 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 4 2017, 7:45 PM
TheDJ added a subscriber: TheDJ.May 4 2017, 8:09 PM

@stijn yeah this is known issue I think. For convenience, can you link to an example on wiki ?

stjn added a comment.May 4 2017, 8:16 PM

@stijn yeah this is known issue I think. For convenience, can you link to an example on wiki ?

https://ru.wikipedia.org/?oldid=85228054 − thumbnails can be seen here changing on the fly.