Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
KenRogers2 #1
Adding the Windows media player to your site
Here's how I got a the Windows media player (playing John Denver's
AnniesSong.mid) on my web page without that "Click this to Activate or Control"
thing.
First, create a javascript in Dreamweaver and entitle it Mediaplayer.js
Copy and paste this into the blank .js file
// JavaScript Document
function RunMediaPlayer()
{
document.write('<param name="mediaplayer1" value="AnniesSong.mid"/>\n');
document.write('<embed src="AnniesSong.mid"></embed>\n');
document.write('</object>\n');
}
Next, in your .htm file (web page) put this line in the heading section
(between <head> and </head>)
<script src="MediaPlayer.js" type="text/javascript"></script>
and last,
put this in the body section where you want the media player
<script type="text/javascript">RunMediaPlayer();</script>
The media player plays .wav, mid, mp3, and video files like .avi ( I haven't
tested others) but I assume it plays anything the windows media player plays.
To see what it looks like:
[url]http://bellsouthpwp2.net/r/o/rogers22/pages/page3/Mplayer.htm[/url]
KenRogers2 Guest
-
Windows Media player and flash player conflicting
Hello, I have a problem with watching streams (television programs) on the internet. I think this is caused by conflicting roles of windows media... -
Windows Media Player
when i try to play a movie i have downloaded from kazaa the player gives me the message that follows"error downlaoding codec" what can i do to play... -
USING WINDOWS MEDIA PLAYER!!!!
have just installed Director MX 2004 on my mac (OSX.3) and although it looks lovely etc...i have so far been unable to import windows media player... -
Detect Windows Media Player and Divx player
I haven't used Director in a really long time and have forgotten how to run a detection script. I remember using Buddy API, I think it was baFindApp... -
windows media player launch?
I've been habving tons of problems getting windows media files to embed correctly, so I've decided to offer the cheap and easy option. What's the...



Reply With Quote

