homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / Site Graphics and Multimedia Design
Forum Library, Charter, Moderators: not2easy

Site Graphics and Multimedia Design Forum

Can anyone check my code for me?
Urgent problem w/ AVI on web page...

10+ Year Member

Msg#: 193 posted 12:21 am on Jul 27, 2001 (gmt 0)

I'm trying to embed an AVI file (coded for streaming) into a page and want it to play back using Windows Media Player 7. (Of course, the client needs it tomorrow morning for a meeting...) I must be missing something stupid in my code.

When previewing the page from files on my machine, the movie plays. Once I upload the files via FTP and access the page, it comes up with the player but no movie...

I've tried <embed>:

<embed src="austrian.avi"; autostart=TRUE playback=FALSE>

and <object>:

<object id="Player" width="320" height="240"
<param name="autoStart" value="True">
<param name="URL" value="movie_wm7.avi">

My immediate need is a way to view the AVI using Windows Media Player. (Client is restricted to this player.) Not sure which is better <embed> or <object>, but which ever is used, I need the correct code.

Your help is appreciated.



WebmasterWorld Senior Member 10+ Year Member

Msg#: 193 posted 4:11 am on Jul 27, 2001 (gmt 0)

If you just specify <a href="http://www.yourdomain.com/austrian.avi">Play Movie</a> what happens? I'm wondering if the path to where you uploaded the movie is correct, austrian.avi is in the root?


10+ Year Member

Msg#: 193 posted 6:23 am on Jul 27, 2001 (gmt 0)

Yep, both files were in the same directory... Come to find out, the video consultant had encoded it correctly, but changed the file extension from WMV to AVI. (Thought that's what I needed.) When I found that out, it was just a matter of following the instructions I'd found:

To embed Windows Media, the file extension should be WMV. You create an ASX file in a text editor to access the WMV file. The <embed> tag on the HTML file references the ASX file. (Don't ask... but it works.)

This is the best, and easiest, article I found on the subject. I'm writing a personal "Thank you" to this guy...

BTW - I've successfully put up streaming video accessed thru QuickTime and Windows Media. If anyone's interested in the down & dirty, let me know.



WebmasterWorld Senior Member mivox us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 193 posted 4:47 pm on Jul 27, 2001 (gmt 0)

Glad you found a solution! I'm no streaming media expert, so I would have been left scratching my head as well. :)

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Site Graphics and Multimedia Design
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved