MozillaZine

FF requests for save/open while streaming M-JPEG

Discuss how to use and promote Web standards with the Mozilla Gecko engine.
Sempervivum
 
Posts: 2
Joined: April 16th, 2017, 1:27 am

Post Posted April 16th, 2017, 1:35 am

Hallo,
I have an IP camera providing an M-JPEG stream. Streaming works fine in FF, however after some time it requests for a decision "save or open file". This is not appropriate when streaming und it's confusing and annoying to the visitors of my website.
I'm displaying the stream simply by an img tag like this:
Code: Select all
<img src="http://user:passwd@domain/video/mjpg.cgi" width="640" height="480">

Can this be fixed?
Best regards - Ulrich

DanRaisch
Moderator

User avatar
 
Posts: 117997
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Post Posted April 16th, 2017, 4:46 am

Moving to Web Development.

BruceAWittmeier

User avatar
 
Posts: 2625
Joined: June 9th, 2008, 10:53 am
Location: Near 37.501685 -80.147967

Post Posted June 12th, 2017, 12:27 pm

Sounds like an animated .gif but using a new extension and display process for the .jpg file format. Sounds like it is a newer process coming from mobile phones and may take the industry a bit to catch up.

You might look here and see if any other process may better fit the display.
http://www.file-extension.org/extensions/mjpg

or here:
https://www.file-extensions.org/mjpg-file-extension
~ I'm only here to Pay it Forward. ~

"I often take a very long windy road to my destination. When I arrive I often wonder how I missed the shortcut".

Sempervivum
 
Posts: 2
Joined: April 16th, 2017, 1:27 am

Post Posted June 12th, 2017, 1:37 pm

Thanks for your reply. AFAIK MJPEG is a streaming format fairly commonly used by cameras. I want to make my camera available to friends that are not technically experienced, therefore it should be possible to view in any common webbrowser.

Return to Web Development / Standards Evangelism


Who is online

Users browsing this forum: No registered users and 1 guest