Closed Bug 476570 Opened 15 years ago Closed 13 years ago

need an message to console or in the page when src not found for video tag

Categories

(Core :: Audio/Video, defect)

x86
macOS
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: asa, Unassigned)

Details

It would be really cool if the error console could tell me that it didn't find the source I tried to set because the file couldn't be found. Even better if it could show a "broken video" placeholder.

I was trying to do 

<video id="v" src="foo.ogg" controls></video>
<span onclick="document.getElementById('v').setAttribute('src','bar.ogg')">replace foo.ogg with bar.ogg</span>

and spent a lot of time wandering in the dark thinking something was wrong but it was only my boneheadedness in getting the path to bar.ogg wrong.  If there had been a console message or a broken video placeholder on failure to load the new src, it'd have saved me and the people I pestered for help quite a bit of time.

thanks.
This was fixed a long time ago by the broken video UI in the controls.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.