HTML video shows invalid mime type when playing in B2G browser app

RESOLVED FIXED

Status

()

Core
Audio/Video
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: cajbir, Assigned: cajbir)

Tracking

Trunk
ARM
Gonk (Firefox OS)
Points:
---

Firefox Tracking Flags

(blocking-kilimanjaro:?, blocking-basecamp:+)

Details

(Assignee)

Description

5 years ago
Steps to reproduce:

1) Open B2G Browser
2) Go to http://cd.pn/b3
3) Press Play button

Expected result:

4) Video plays (this is a WebM video)

Actual result:

4) Video shows error "Video format or MIME type is not supported"

This happens with WebM and Ogg
(Assignee)

Comment 1

5 years ago
This is caused by the Media Cache directory attempting to be created and failing. The relevant code is in content/media/nsMediaStream.cpp, in Init(). It's attempting to create a TmpD/mozilla-media-cache.
blocking-basecamp: --- → ?
blocking-kilimanjaro: --- → ?
(Assignee)

Updated

5 years ago
Duplicate of this bug: 781204
(Assignee)

Updated

5 years ago
Duplicate of this bug: 781405
This should block IMO and bug 781204 which was marked as a dupe of this was a blocker, so basecamp-blocker+'ing.
blocking-basecamp: ? → +
(Assignee)

Comment 5

5 years ago
Media playback is now working on latest mozilla-central. I'm not sure what fixed it.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → WORKSFORME
verified
Status: RESOLVED → VERIFIED
(Assignee)

Comment 7

5 years ago
And the issue has come back.
Status: VERIFIED → REOPENED
Resolution: WORKSFORME → ---
(Assignee)

Comment 8

5 years ago
Workaround is to do: adb shell chmod 777 /data/local/tmp
Chris with the latest daily build we are crashing on Browser playback for WebM Content. 

Things work well inside the video app.
Chris Double, you seem like the correct owner here but if I'm wrong feel free to re-assign.  Thanks.
Assignee: nobody → chris.double
(Assignee)

Comment 11

5 years ago
Problem fixed by https://github.com/mozilla-b2g/gonk-misc/pull/20.
Status: REOPENED → RESOLVED
Last Resolved: 5 years ago5 years ago
Resolution: --- → FIXED

Updated

5 years ago
Keywords: verifyme
QA Contact: jsmith

Updated

5 years ago
Keywords: verifyme
You need to log in before you can comment on or make changes to this bug.