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...
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.
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... [workz.com...]
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.