|
Here is an example of an
.asx file named pointing
towards an content file
named filename.wma
To
create your .asx
file ("stub"
file) open a notepad
window, copy and paste
this code and save as
test1.asx, replacing the
URL with your content
file. Create a valid link
something like this test1.asx
on your server and voilą
! When the surfer clicks on that link it points towards the asx file which
opens the player and plays the content file. For this example you would see the
Title/Name/Author/Copyright.
These are optional tags,
used for illustration
purposes only.
<ASX VERSION="3">
<TITLE>Show Title</TITLE>
<ENTRY>
<ref href="mms://servername/filename.wma" />
<TITLE>Song name</TITLE>
<AUTHOR>Author</AUTHOR>
<COPYRIGHT>Copyright</COPYRIGHT>
</ENTRY>
</ASX>
Here's an example of the most basic
file possible; just the file please....this could be .wmv also if for video...
<ASX version = "3.0">
<Entry>
<Ref href = "mms://servername/filename.wma" />
</Entry>
</ASX>
Interested in making the player do funny things and look cool?
How to create Titles,
playlists, ad instertion and all sorts of other neat effects using Windows Media
.asx files.
Using Real Audio/Video
Record your video
Convert your file to Real Audio/Video format (ram)
Open up a notepad window
Type in the exact URL of your CONTENT file Example: http://66.199.164.177/test1.ram
Save this text file as .ra Example:
test.ra
Upload both files to the server
In any HTML editor create a link pointing towards the .ra
file
Example Click
here to see the video
When the browser opens it looks at the text file; which points towards the
content file. Real Player opens and you begin viewing/listening to the
content. Easy, breezy.
Find
out more about
streaming via Real
via http://
|