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

UNCONFIRMED
Assigned to

Status

()

Core
Audio/Video: Playback
P3
normal
UNCONFIRMED
2 years ago
a year ago

People

(Reporter: iamcraigcampbell, Assigned: jya)

Tracking

41 Branch
Points:
---

Firefox Tracking Flags

(platform-rel -)

Details

(Whiteboard: [platform-rel-Vimeo])

(Reporter)

Description

2 years ago
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".
(Reporter)

Comment 1

2 years ago
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)

Updated

2 years ago
Assignee: nobody → jyavenard
Component: Audio/Video → Audio/Video: Playback
(Reporter)

Comment 2

2 years ago
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: ? → -
You need to log in before you can comment on or make changes to this bug.