|Can anyone check my code for me?|
Urgent problem w/ AVI on web page...
| 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>
<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.
| 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?
| 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.
| 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. :)