https://bugzilla.wikimedia.org/show_bug.cgi?id=22538
Summary: Slightly improve native player of FF/Chrome
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: OggHandler
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=7126)
--> (https://bugzilla.wikimedia.org/attachment.cgi?id=7126)
remove width setting on div surrounding player and options.
The native a/v players of FireFox and Chrome, have a minimum width that is
rather larger. Many times Wikipedia requests players sizes that are much more
slim. This creates problems when users of those browsers visit these pages. The
player far extends outside the thumb or template box (See Template:Listen).
mwEmbed solves this with a 'custom' player, but there is a quick fix for most
usecases.
The div around the player has a fixed width at all times. This fixed width is
not really needed. In thumb mode, it is not needed at all, because the thumb
box already has a fixed width, and in noicon mode (the most used mode for
audio/video) there is no need for a width restriction.
I propose the attached patch, which removes the width property. This has no
effect for thumb modes, while solving the issue of the native players in noicon
mode.
Tested with native mode, QT and Cortado.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l