View Full Version : Embedded Media in Firefox Browser
DangerDave
2004-09-27, 12:14 AM
I run a few bits and pieces that use an embedded Windows Media Player to display/play various media embedded in HTML pages.. and after a bit of trying it got it all to work for IE and Netscape... for Mp3's, MPG's,WMV's etc...
:( ... but now none of the embedded players work in Firefox
I have seen a few places that have explained how to embed media for FireFox... but each type of media requires its own code.. I would love to find one bit of code to cover all media types..
or do I just force everyone to load Quicktime? :D
Any input appreciated
TIA
DD
Mpegs play within the browser on the Mac version but maybe that is because Mac use Quicktime to play them.
What happens when you click on video preview on this page?
http://www.foxyangel.com/tour/index3.php
thrillho
2004-09-27, 12:11 PM
Dave,
Not sure if this is the problem to which you are referring, but...
Lately, when I've clicked on my link to the movie sample of the day for Granny Island, the embedded Windows Media Player begins playing the movie, then the picture freezes after a couple of seconds. The audio, however, continues. Today, after reading your post here, I went to my site to check the link again (the location of the link to which I refer is here (http://www.smutmanor.com/matureindex/) )
and the player had "closed" in it's status bar.
I surf with SlimBrowser, which runs on the IE engine, and generally seems to be perceived as IE by the sites/pages I'm viewing.
I'm not sure if this is a problem with browser compatibility, or if there's a problem with the video stream itself, but I thought I'd bring it to your attention here.
DangerDave
2004-09-27, 09:41 PM
Solved! :D
Cleo - No, the Foxy's preview movie does not work in Firefox - (at least not with my settings!)
It is a coding problem rather than a browser problem.
Thrillho, the Outback movies suffer from the same problem.
When I first embedded movies they worked beautifully in IE..... but not in Netscape/Mozilla, and I found the solution to that one..(the way you embed them), and the same for FireFox...
Code just needs to be done the right way, as NN/Moz/and Ff are unforgiving for bad code
DD
Originally posted by DangerDave
Solved! :D
Code just needs to be done the right way, as NN/Moz/and Ff are unforgiving for bad code
DD
Care to share the proper coding?
lordaron
2004-10-17, 11:11 AM
Im having the same problem with my tgp rotator script, firefox isnt capable of viewing the site. I just get the whole code when I try to access the site with firefox, no problem with IE etc.
Im not sure if I should blaim JMBsofware, myself or firefox :)
DangerDave
2004-10-17, 05:49 PM
I would put 50$ on it being you/their code. :)
Every "prob" I have found in FF has been a code prob and or easily fixable.
DD
lordaron
2004-10-18, 05:52 PM
hehe it was totally me as usual, forgot to put a extension to the file (I tested it in IE and it doesnt require an extension) ..now I named it .html and it works :)
this appears to be the magic incantation
<OBJECT id="VIDEO" width="320" height="240"
CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
type="application/x-oleobject">
<PARAM NAME="URL" VALUE="http://url.to/content/here.wmv">
<PARAM NAME="SendPlayStateChangeEvents" VALUE="True">
<PARAM NAME="AutoStart" VALUE="True">
<PARAM name="uiMode" value="none">
<PARAM name="PlayCount" value="9999">
<embed type="application/x-mplayer2"
pluginspage = "http://www.microsoft.com/windows/mediaPlayer/"
id="Player"
src="http://url.to/content/here.wmv"
value=" "
width="320"
height="240"
autostart="false">
</embed>
</OBJECT>
Anyone have to code to properly embed a mpeg into Firefox?
did you try that code? embed should work on any object type. mplayer is a handler for multiple encoding types.
The plugin info is wrong for a mpeg.
Here is one of the pages where we have an embedded mpeg
http://www.foxyangel.com/transsexual/samples/sample7.html
I'm told that it doesn't work in Windows Firefox but I know it works in Mac's Firefox.
This is what we are using
<embed height="255" src="../../tour-samples/sample.mpg" type="audio/mpeg" width="288" autostart="true" controls="console">
is that a video or audio file? you have your embed set to audio, but,
$ telnet foxyangel.com 80
Trying 216.77.84.39...
Connected to ashburn.simplecom.net.
Escape character is '^]'.
GET /tour-samples/sample.mpg HTTP/1.0
Host: foxyangel.com
HTTP/1.1 200 OK
Date: Tue, 15 Mar 2005 20:43:39 GMT
Server: Apache/1.3.33 (Unix) PHP/4.3.10
Last-Modified: Sun, 19 Sep 2004 00:37:33 GMT
ETag: "3643d6-1c9e10-414cd4cd"
Accept-Ranges: bytes
Content-Length: 1875472
Connection: close
Content-Type: video/mpeg
If it is audio, try naming it .mp3.. maybe the content type is throwing it off.
Useless
2005-03-15, 06:17 PM
Foxy's video is working here on Firefox/Windows. It's rather 'shaky' though, if that makes any sense.
is that a video or audio file?
Silly *nix user. :D
It is a movie, it is an mpeg or .mpg as the actually extension is for some odd reason.
UW
Wow it works. :)
I had someone test it sometime ago and they said it didn't work and then I forgot all about it until this thread.
Yeah it is shaky and needs to be replaced really badly. It is one of the mpegs that her old video guy did. We had a lot of problems with the ones that he did. We do them ourselves now in Final Cut Pro. Actually that is what we finish them off in. Angel uses iMovie for editing and titles and then gives us the .dv file.
Ok… code works properly in Firefox… mark one thing off in my ever growing to do list.
the reason I ask is that you are specifying type="audio/mpeg" in your <embed>
the reason I ask is that you are specifying type="audio/mpeg" in your <embed>
Well you could have just said that instead of confusing me. ;)
I just changed it to video/mpeg and my web authoring program even changed the plugin icon to a movie clip instead of a musical note, a good sign.
Ok, does it still play in Windows Firefox?
www.foxyangel.com/transsexual/samples/sample7.html
Well you could have just said that instead of confusing me. ;)
I sort of did :)
is that a video or audio file? you have your embed set to audio, but,
And people wonder why manuals written by programers are impossible to understand.
sorry, too many things going on at once. my time slicing algorithm was acting up.
Useless
2005-03-16, 10:56 AM
Ok, does it still play in Windows Firefox?
www.foxyangel.com/transsexual/samples/sample7.html
Yes maam. ;)
Thanks, guess I need to do a fast search and replace of a snippet of code one Angel's server. :)
vBulletin® v3.8.1, Copyright ©2000-2026, Jelsoft Enterprises Ltd.