writing a dynamic redirector and feeding it to a param

A

Andrew Poulos

I've got the following OBJECT code to play .wmv files (it fails with MZ
but I'm working on it)

<object
id="wmvTest"
type="video/x-ms-wvx"
width="320"
height="286">
<param name="FileName" value="sample.wvx">
<param name="AutoStart" value="0">
<param name="ShowControls" value="1">
</object>

The .wvx is a redirector file that points to the .wmv files (it's
supposed to help with streaming the file). The redirector, sample.wvx is
a very simple XML type file containing just:

<ASX version = "3.0">
<Entry>
<Ref href = "http://www.mydomain.com/sample.wmv" />
</Entry>
</ASX>

The problem is that the 'Ref href' line needs to have an absolute URL
but I won't know where the files end up. Is there a client-side way to
generate the file and feed it to the OBJECT, say, as a variable?

Andrew Poulos
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top