Page MenuHomePhabricator

The first second shows a different interface and video frame
Closed, ResolvedPublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

  • Open any video with VideoJS
  • Open this video again
  • Look at the first second

What happens?:
https://imgur.com/a/QGYBUZ7 (dont know why, cant upload gif here normally)

1frame 47.png (630×966 px, 1023 KB)
2frame 49.png (630×966 px, 925 KB)

https://de.wikipedia.org/wiki/Hubtor#Beispiele

What should have happened instead?:
First frame must be first frame from video. Interface must be the same.

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc:
Chrome, Firefox. Win11.

Event Timeline

Change 752294 had a related patch set uploaded (by TheDJ; author: TheDJ):

[mediawiki/extensions/TimedMediaHandler@master] VideoJS: Hide native controls when loading the player

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

TheDJ moved this task from Backlog to Active on the VideoJS player board.
TheDJ subscribed.

As far as I know, there is no good way around this..

Change 752294 merged by jenkins-bot:

[mediawiki/extensions/TimedMediaHandler@master] VideoJS: Hide native controls when loading the player

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

As far as I know, there is no good way around this..

BTW. this specifically refers to the effect happening at some point. All our players are incl in the html with controls=true, specifically to allow for native fallback for non-JS users. Most ppl don't do this, they just hide the controls no matter what. This always exposes us to some issues in the initial page load. I consider that a different problem than what this ticket is about however.

Do I need to create a new task? :) Because it seems to me that this is easy to do (normal first frame).

Important is that the parameter preload is not set to none either its not given and therewith the default value auto or manually set to preload="auto".

https://stackoverflow.com/questions/7323053/dynamically-using-the-first-frame-as-poster-in-html5-video#50386123

@TheDJ I think this is relevant to the problem described in this task. Chrome/10

audio2.gif (195×426 px, 122 KB)

Oh wait, you are saying that when the video opens, we show our poster, instead of the first frame of the video ? Is that the issue ?

Hmm, that for the dialog mode at least isn't ideal perhaps...

Oh wait, you are saying that when the video opens, we show our poster, instead of the first frame of the video ? Is that the issue ?

I'm afraid I accidentally combined two/three tasks into one. Thought it was one problem :( Yes, when you load the page video/audio show another interface, when you open video we show bad interface (you fixed it I think), and when we use for preview not first frame from video.

Lets' split that off into a separate ticket indeed.