Embedded WMV file

He has: 688 posts

Joined: Feb 2001

I'm using the following simple code:

<EMBED TYPE="application/x-mplayer2"
SRC="/video.asx"
WIDTH="320"
HEIGHT="240"
AUTOSTART="0"
SHOWCONTROLS="1">
</EMBED>
'

which references the file video.asx which contains:

<ASX Version="3.0">
<ENTRY>
<REF href="mms://REVOVEDTHEURL.COM/FILENAME.wmv"/>
</ENTRY>
</ASX>
'

It works, kind of, but I have a follow up question. [Removed URL], then scroll to the bottom. It seems to work in Internet Explorer but not Firefox. Is that normal for an embedded .wmv file? I thought that Firefox wouldn't do ActiveX controls without a plugin but am I unknowingly using ActiveX in my code? Is there anything I can do other than just use a simple text disclaimer saying "Or click here to view in your own Windows Media Player (Recommended for Firefox users)". What would you do? I normally wouldn't care about embedding the video but that's what the owner thinks is cool.

Next question: I can't get a screen grab. I do print screen when the video is displaying but it always shows up as a blank screen. Anything I can do to get an image out of my video clip?

Last question: Can it begin with a specific frame loaded before the video plays, just so it's not all black?

chrishirst's picture

He has: 379 posts

Joined: Apr 2005

is a Netscape specific tag, is the correct one to use with nested in it.

To start on a specific frame would have to be set up in the video itself.

Chris

Indifference will be the downfall of mankind, but who cares?
Venue Capacity Monitoring
Code Samples

He has: 688 posts

Joined: Feb 2001

chrishirst wrote: is a Netscape specific tag, is the correct one to use with nested in it.

In that case, since Firefox and Netscape are close cousins, I would think that the embed tag would work in those and not Internet Explorer. But it works the other way around.

Are you suggesting that I just switch my tags to tags?

chrishirst's picture

He has: 379 posts

Joined: Apr 2005

There is a thread here about flash, different media same issue though.

I don't know off-hand whether FF supports the tag or not but yes switch to the tag

Chris

Indifference will be the downfall of mankind, but who cares?
Venue Capacity Monitoring
Code Samples

They have: 7 posts

Joined: Aug 2006

I have a project, and I need to get around the ActiveX stuff in IE, as I need to display different mulitimedia, full screen. This needs to play automatically. I was wondering if you new any way to stop the prompts?

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.