Page MenuHomePhabricator

Link to a video file page with a specified start time
Open, Needs TriagePublic

Description

Something like https://commons.wikimedia.org/wiki/File:Ljubljana_Time-lapse_-_Castle_view,_New_Square,_Ljubljanica.webm?start=0:30 should jump to 0:30 when the video starts playing.

Embedded files already support the start=mm:ss and start=sss formats, e.g. [[File:foo.webm|start=0:30]]

Event Timeline

Esanders created this task.Sep 10 2018, 7:46 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 10 2018, 7:46 PM
brion added a comment.Sep 10 2018, 7:49 PM

Note that this should be made possible for both regular File: page view and the iframe-embedded view.

The player frontend should already support the parameter, just need to make sure the File: page handler obtains it for you.

Change 599319 had a related patch set uploaded (by Esanders; owner: Esanders):
[mediawiki/core@master] Pass WebRequest object to MediaHandler on image pages

https://gerrit.wikimedia.org/r/599319

Change 599320 had a related patch set uploaded (by Esanders; owner: Esanders):
[mediawiki/extensions/TimedMediaHandler@master] Handle start/end params in imagePageRequest

https://gerrit.wikimedia.org/r/599320

Esanders updated the task description. (Show Details)May 28 2020, 1:02 PM

Change 599319 merged by jenkins-bot:
[mediawiki/core@master] Pass WebRequest object to MediaHandler on image pages

https://gerrit.wikimedia.org/r/599319

Change 599320 merged by jenkins-bot:
[mediawiki/extensions/TimedMediaHandler@master] Handle start/end params in imagePageRequest

https://gerrit.wikimedia.org/r/599320

As a follow up it would be nice to have a UI that generated these URLs

Change 602539 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/core@master] Follow-up 32c298d0dc: Don't pass a full request, just query values

https://gerrit.wikimedia.org/r/602539

Change 602541 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/TimedMediaHandler@master] Follow-up 59a3f861: Use imagePageParams

https://gerrit.wikimedia.org/r/602541

Change 602539 merged by jenkins-bot:
[mediawiki/core@master] Follow-up 32c298d0dc: Don't pass a full request, just query values

https://gerrit.wikimedia.org/r/602539

Change 602541 merged by jenkins-bot:
[mediawiki/extensions/TimedMediaHandler@master] Follow-up 59a3f861: Use imagePageParams

https://gerrit.wikimedia.org/r/602541