Open Bug 1441759 Opened 7 years ago Updated 3 years ago

HTML5 non-playing events like abort, ended etc on Netflix

Categories

(Core :: Audio/Video: Playback, defect, P3)

58 Branch
defect

Tracking

()

Tracking Status
firefox58 --- affected

People

(Reporter: abhishek.chhaparwal.ap, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36 Steps to reproduce: I have written a sample add-on whose primary job is to identify video being played, seeked or ended by the user. In order to do this, I have written a content_Script, which has an array of events in the following manner: var HTML5Events = ["playing","pause","ended","seeked","emptied","abort"]; And, I add an event listener to all the events using addEventListener. Actual results: I started with playing any video on Youtube and when I hit "back button" on Firefox browser (version 58.0.2) it calls event listener of abort and ended. This is good. But when I play video on Netflix and hit the "back button" on Firefox browser. No events listeners are being called. Similar results if I press "netflix Back" (this is control appears while playing video on Netflix). Further, I observe that there is no non-playing event listeners are getting called. Also, I can get events in Firefox 52.0 but 53.0 creates this problem. Expected results: Like Firefox 52.0 we should be able to get abort,ended etc (non playing events) on NetFlix.
I think the correct component is Core: Dome: Events. Please correct if this is not the right component!
Component: Untriaged → DOM: Events
Product: Firefox → Core
Not really about DOM: Events but about code which uses DOM: Events implementation, in this case something to do with audio/video implementation, I guess.
Component: DOM: Events → Audio/Video
To play your video first disabled your antivirus https://www.couponstechie.com/promo-codes/norton from here you will get detailed information about this related problem.
I don't know what would be different about an EME session compared to an MSE one. Bryce, can you please see if you can reproduce the lack of final events on Netflix? For the record, I don't recommend disabling antivirus before visiting commercial promotion sites to reproduce this issue. :)
Assignee: nobody → bvandyk
Priority: -- → P3
This is probably something to do with the behaviour of our HTMLMediaElement::SuspendOrResumeElement() or our HTMLMediaElement::NotifyOwnerDocumentActivityChanged() functions.
Component: Audio/Video → Audio/Video: Playback
Is this issue fixed?
Not yet. I've been able to reproduce, but have not yet had time to isolate the cause.
Hello, Did anybody get time to fix this? Thanks in advance Best Regards, Abhishek
Not yet. I'm going to unassign myself. I'd like to look at this, but am unlikely to have any time to look at this in the near future.
Assignee: bvandyk → nobody
Status: UNCONFIRMED → NEW
Ever confirmed: true
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.