Open
Bug 1039871
Opened 9 years ago
Updated 1 year ago
Add support to HTML media element for determining the mimetype of a loaded media file
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
People
(Reporter: mfinkle, Unassigned)
References
Details
(Whiteboard: [webcompat])
The second screen features really wants to know the mimetype of a video file/stream so we know what second screen devices would support playing the video file/stream. I didn't find an existing way to get the mimetype. Right now we guess at the mimetype by looking for a file extension on the <video src> or video.currentSrc property. Many video sites don't bother to use a file extension - they don't need to. We also look for child <source> elements, which do support a "type", but many video sites don't bother to use <source> children. Once a person starts to play a <video>, we should be able to definitively know the media file format and we can decide which second screen devices are capable of playing the video. Maybe add video.mozMimeType ?
Updated•8 years ago
|
Component: Audio/Video → Audio/Video: Playback
Let me know if this becomes important.
![]() |
||
Updated•5 years ago
|
See Also: → https://webcompat.com/issues/22931
![]() |
||
Updated•5 years ago
|
![]() |
||
Comment 2•5 years ago
|
||
On https://webcompat.com/issues/22931
<video
class=""
playsinline="true"
webkit-playsinline="true"
tabindex="2"
mediatype="video"
>
<source
class=""
src="//v1-tt.ixigua.com/1c7d1a96016216c96d1dfebe8f06201b/5c4e5b38/video/m/2206106dcae230b4fee9c985c343dd6221d115d8d8900004aeeb9c9120c/?rc=M2RpbDo7OjdlaDMzPDczM0ApQHRAbzQ0NjM2MzQzMzc1MzUzNDVvQGgzdSlAZjN1KWRzcmd5a3VyZ3lybHh3Zjo1QG4wLy5mbmxtcF8tLTQtL3NzLW8jbyMzLTMvNDItLjAvNTUuNi06I28jOmEtcSM6YHZpXGJmK2BeYmYrXnFsOiMuLl4%3D&vfrom=xgplayer"
type=""
/>
<source
class=""
src="//v3-tt.ixigua.com/ad2630868ef71024b378ba3d1eb17604/5c4e5b38/video/m/2206106dcae230b4fee9c985c343dd6221d115d8d8900004aeeb9c9120c/?rc=M2RpbDo7OjdlaDMzPDczM0ApQHRAbzQ0NjM2MzQzMzc1MzUzNDVvQGgzdSlAZjN1KWRzcmd5a3VyZ3lybHh3Zjo1QG4wLy5mbmxtcF8tLTQtL3NzLW8jbyMzLTMvNDItLjAvNTUuNi06I28jOmEtcSM6YHZpXGJmK2BeYmYrXnFsOiMuLl4%3D&vfrom=xgplayer"
type=""
/>
</video>
Comment 3•5 years ago
|
||
Migrating Webcompat whiteboard priorities to project flags. See bug 1547409.
Webcompat Priority: --- → ?
Comment 4•5 years ago
|
||
See bug 1547409. Migrating whiteboard priority tags to program flags.
Updated•4 years ago
|
Webcompat Priority: ? → revisit
Comment 5•1 year ago
|
||
Tom, can you test if the one webcompat report still reproduces on Android? If it does, it's probably a P2, given it's a popular site. Otherwise, this is deep into P3-land.
Webcompat Priority: revisit → ---
Flags: needinfo?(twisniewski)
Comment 6•1 year ago
|
||
The site's videos are now playing for me in Firefox, so let's make this a P3.
Webcompat Priority: --- → P3
Flags: needinfo?(twisniewski)
Updated•1 year ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•