Open Bug 1230699 Opened 9 years ago Updated 3 years ago

Firefox doesn't stop buffering destroyed video elements

Categories

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

42 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: stephen.r.burrows, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36 Steps to reproduce: I followed the instructions in MDN on how to stop video playback: https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Using_HTML5_audio_and_video#Stopping_the_download_of_media Specifically, my code to remove and stop buffering the video reads as follows: videoEl.pause(0); videoEl.src = ''; videoEl.removeAttribute('src'); videoEl.remove(); Actual results: The video keeps buffering until the entire thing is loaded. Expected results: The buffer should've stopped immediately, as described in the MDN docs.
In case it's relevant, the video element in question has autoplay and preload="auto"
is there any specific webpage/url/testcase so that we can have a look ? What happens with other browsers? what happens if you remove autoplay and preload="auto" ??
Component: Untriaged → Audio/Video
Product: Firefox → Core
Component: Audio/Video → Audio/Video: Playback
This is sounds like the lifetime issues we've been working on.
Priority: -- → P2
Mass change P2 -> P3
Priority: P2 → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.