Last modified: 2014-10-17 11:47:10 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T63760, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61760 - TMH player defaults to very small .ogv even when it has native webm playback
TMH player defaults to very small .ogv even when it has native webm playback
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
TimedMediaHandler (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Michael Dale
:
Depends on:
Blocks: 61690
  Show dependency treegraph
 
Reported: 2014-02-21 18:35 UTC by Brion Vibber
Modified: 2014-10-17 11:47 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Screenshot of tiny player on non-tiny video (641.06 KB, image/png)
2014-02-21 22:10 UTC, Brion Vibber
Details

Description Brion Vibber 2014-02-21 18:35:57 UTC
We recently experimentally turned on low-res 360p and 160p .ogv transcodes (bug 61690) but discovered that the TMH player widget was aggressively picking the 160p size when it should be playing back nice big native webm.

As a result we're temporarily going to revert the enabling of the small sixes.

We have to investigate to see how the selection is being done in the player and make sure we only dig out small .ogvs when we need them.
Comment 1 Michael Dale 2014-02-21 19:33:40 UTC
That sounds very odd. Not only picking off over webm but also the small size? Was this playback without any cookie that would have saved a user preference ?
Comment 2 Brion Vibber 2014-02-21 22:04:09 UTC
Yes, there are no size-preference cookies that I can find present.
Comment 3 Brion Vibber 2014-02-21 22:10:04 UTC
Created attachment 14656 [details]
Screenshot of tiny player on non-tiny video
Comment 4 Brion Vibber 2014-02-21 22:11:24 UTC
Oh nice, Bugzilla ate my comment.

https://commons.wikimedia.org/wiki/File%3AJarry_-_M%C3%A9tro_de_Montr%C3%A9al_%28640%C3%97360%29.ogv <- shows me a player sized to 284x160px, but if I actually right-click and 'view video' it's pulling up the 360p webm.

I can't find any cookies that appear to have size preference information, either, but really the player shouldn't be sized to source video, it should be sized for comfortable fit in the window anyway...
Comment 5 Gerrit Notification Bot 2014-02-22 09:27:38 UTC
Change 114918 had a related patch set uploaded by Mdale:
bug 61760 get the largest size ( not just the last transcode in the list )

https://gerrit.wikimedia.org/r/114918
Comment 6 Michael Dale 2014-02-22 09:29:29 UTC
getMaxSizeWebStream appears to be dependent on sizes being listed small to large: 
https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FTimedMediaHandler/ed8e92e7f72f788575baf6fff767dfc0ec74c81f/WebVideoTranscode%2FWebVideoTranscode.php#L317

to fix we should put > max size check before assignment: 
https://gerrit.wikimedia.org/r/#/c/114918/

and or we can put the new transcodes in "order" just to be on the safe side ;)
Comment 7 Gerrit Notification Bot 2014-02-23 23:57:00 UTC
Change 115094 had a related patch set uploaded by Brion VIBBER:
Fix popup video size by ordering transcode settings properly

https://gerrit.wikimedia.org/r/115094
Comment 8 Gerrit Notification Bot 2014-02-25 00:06:05 UTC
Change 115094 merged by jenkins-bot:
Fix popup video size by ordering transcode settings properly

https://gerrit.wikimedia.org/r/115094
Comment 9 James Forrester 2014-02-25 01:50:32 UTC
(In reply to Gerrit Notification Bot from comment #8)
> Change 115094 merged by jenkins-bot:
> Fix popup video size by ordering transcode settings properly
> 
> https://gerrit.wikimedia.org/r/115094

This config change is now deployed, but I guess Gerrit change #114918 means this should remain as PTR…
Comment 10 Brion Vibber 2014-02-25 01:58:10 UTC
Yeah I'll merge that once I've tested it on my setup with the unsorted array. It's just waaaay easier to deploy the config change than deal with backporting the actual fix to live branches so I did that first. :)
Comment 11 Andre Klapper 2014-05-20 10:37:37 UTC
https://gerrit.wikimedia.org/r/#/c/114918/ still waiting for review.
Comment 12 Gerrit Notification Bot 2014-05-30 07:48:23 UTC
Change 114918 merged by jenkins-bot:
bug 61760 get the largest size ( not just the last transcode in the list )

https://gerrit.wikimedia.org/r/114918
Comment 13 Andre Klapper 2014-08-17 11:28:11 UTC
All patches mentioned in this report are merged - is there more work left to do here (if yes: please reset the bug report status to NEW or ASSIGNED), or can you close this ticket as RESOLVED FIXED?
Comment 14 Andre Klapper 2014-10-17 11:47:10 UTC
No reply to comment 13. 
All patches mentioned in this report were merged or abandoned - assuming this bug is FIXED. If that is not the case: Please reopen and elaborate what is left to do here to get this report fixed.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links