[Webkit-unassigned] [Bug 157635] REGRESSION (STP 4): Unable to target pseudo element webkit-media-controls

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 13 14:12:07 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=157635

--- Comment #10 from Derk-Jan Hartman <hartman.wiki at gmail.com> ---
(In reply to comment #9)
> (In reply to comment #8)
> I think you have some other, better supported techniques available for this
> scenario. Your in-page CSS could hide (visibility:hidden) the video element
> entirely (or cover it with a poster <img>, and only un-hide it once your
> script clears the 'controls' attribute.  The <video> poster image attribute
> takes time to download, decode, and paint, so this wouldn't introduce any
> additional flash that wasn't there already.

I just want a style based way to say: "don't show controls", which apparently won't be possible anymore. I'm also not concerned about a FOUC or reflow, i'm specifically concerned about 50 video frames showing a controlbar on mobile device in nigeria that takes 70 seconds to load the entire page. Which would result in one video after the other then loads the JS player. I want to eliminate that temporary moment of controls, after which the user has to reset his expectations with a new set of controls. And I need to keep my DOM clean of non-semantic <img> elements.

I guess the only other alternative that might get me what i want is to use a top loading synchronous JS fragment, but i don't think our performance team will like that. ..

I know, our requirements are somewhat crazy :)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160513/42f9f6dc/attachment-0001.html>


More information about the webkit-unassigned mailing list