Closed Bug 1346135 Opened 8 years ago Closed 6 years ago

Unable to play video on developer.android.com

Categories

(Core :: Layout, defect, P3)

52 Branch
defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox58 --- affected

People

(Reporter: etsai, Unassigned)

References

Details

From https://webcompat.com/issues/4993 Steps to reproduce: 1. https://developer.android.com/training/constraint-layout/index.html#add-a-constraint 2. Click on video Expected result: Click on play button and play video Actual result: Video doesn't play https://developer.android.com/static/js/docs.js?v=2017031003 try add click/mouseover/mouseout event, these event doesn't work on Firefox video element but works on Chrome
Hi Blake, as our quick discussion offline, could you please find someone to check if we implement those events for video elements? Thank you. b.t.w. is it possible we get a minimum test case here?
Flags: needinfo?(bwu)
Alastor, Can you have a look?
Component: Audio/Video → Audio/Video: Playback
Flags: needinfo?(bwu) → needinfo?(alwu)
Priority: -- → P1
The video is the child of the div class "video-wrapper", I think the problem is onclick event doesn't deliver down to its child, the event was stuck on the div element. If you remove the class "video-wrapper", the video can start playing well.
Flags: needinfo?(alwu) → needinfo?(bwu)
Thanks :alwu, as @adamopenweb on https://github.com/webcompat/web-bugs/issues/4993#issuecomment-285757856, the pseudo element blocks pointer event: >.video-wrapper.paused::before, >.video-wrapper.playing::before { > bottom: 0; > content: ""; > left: 0; > opacity: 0; > position: absolute; > right: 0; > top: 0; >} and @denschub's comment https://github.com/webcompat/web-bugs/issues/4993#issuecomment-285765833 is to add >pointer-events:none to previous 2 classes. But the default behavior of pointer-event is different, we can see how to improve this.
As denschub mentioned[1], this seems not a video bug, so change the component to be layout.
Component: Audio/Video: Playback → Layout
Flags: needinfo?(bwu)
See Also: → 1342173
This is a P1 bug without an assignee. P1 are bugs which are being worked on for the current release cycle/iteration/sprint. If the bug is not assigned by Monday, 28 August, the bug's priority will be reset to '--'.
Keywords: stale-bug
Looks like we are still waiting for a site fix to resolve the issue.
The site has been fixed, so we can close this!
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.