Closed Bug 1211752 Opened 9 years ago Closed 3 years ago

MediaSource sourceopen event does not fire when video preload attribute is set to "none"

Categories

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

41 Branch
defect

Tracking

()

RESOLVED FIXED
Tracking Status
platform-rel --- -

People

(Reporter: iamcraigcampbell, Unassigned)

Details

(Whiteboard: [platform-rel-Vimeo])

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36

Steps to reproduce:

Example URL:
https://craig.is/demoing/sourceopen-bug

1. Go to example page
2. Click each button


Actual results:

"Source open fired" is fired for every preload type except for "None".


Expected results:

The sourceopen event should fire and "Source open fired" should be printed under the "Results" section on the page for all preload types.

--

I couldn't find anything in the MediaSource or Video/MediaElement spec defining what the behavior should be here, but I don't think the preload attribute should affect MediaSource playback in any way. 

For reference this works as expected in Safari 8, Safari 9, IE 11, and Edge. It does NOT work in Chrome, and I made a ticket there too https://code.google.com/p/chromium/issues/detail?id=539707

If it is expected behavior it should at least be well documented or there should be a warning that the MediaSource API does not work when the preload attribute on the video is set to "none".
For reference a bug was filed against the spec by a member of the Chromium team. https://github.com/w3c/media-source/issues/11
Priority: -- → P2
Assignee: nobody → jyavenard
Component: Audio/Video → Audio/Video: Playback
The MediaSource spec was updated yesterday to confirm that the preload attribute should be ignored:

https://github.com/w3c/media-source/commit/8aba06a6a10d8fe0bf26b2e4c11a3e5a209244e0
Mass change P2 -> P3
Priority: P2 → P3
platform-rel: --- → ?
Whiteboard: [platform-rel-Vimeo]
platform-rel: ? → -
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Assignee: jya-moz → nobody
Status: ASSIGNED → NEW

Close this bug, because the issue mentioned in comment 0 no longer exists. I can see "Source open fired" even if I pressed the button of preload-none.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.