This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Dreamweaver > August 2004 > Embedding Windows Media files
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Embedding Windows Media files
|
|
| Perfectionist04 2004-08-30, 11:15 pm |
| Would anyone know of a good tutorial on how to embed a Windows Media video file
and the player on a web page using Dreamweaver MX 2004? I have found a
tutorial here,
(http://www.macromedia.com/support/d...mediaplayer.htm),
but I have reason to believe it is outdated, especially since the URL for the
plugin, I found, was expired.
Thanks in advance for any help!
~Terri
| |
|
|
| zerof 2004-08-31, 11:15 pm |
| Perfectionist04 wrote:
> Would anyone know of a good tutorial on how to embed a Windows Media video file
> and the player on a web page using Dreamweaver MX 2004? I have found a
> tutorial here,
> (http://www.macromedia.com/support/d...mediaplayer.htm),
> but I have reason to believe it is outdated, especially since the URL for the
> plugin, I found, was expired.
>
> Thanks in advance for any help!
>
> ~Terri
>
EMBED is not validate.
Based in this article:
http://www.alistapart.com/articles/flashsatay/
You must try the below code:
01 ) asf enabled
<?php echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?".">"; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>-o-</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<object type="video/x-ms-asf" data="file.asf" width="400" height="80">
<param name="FileName" value="file.asf" />
<param name="AutoStart" value="1" />
<param name="ShowStatusBar" value="1" />
<param name="ShowDisplay" value="0" />
</object>
</body>
</html>
02 ) direct wma
<?php echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?".">"; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>-o-</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<object
type="audio/x-ms-wma" data="file.wma"
width="400" height="80">
<param name="FileName" value="file.wma" />
<param name="AutoStart" value="1" />
<param name="ShowStatusBar" value="1" />
<param name="ShowDisplay" value="0" />
</object>
</body>
</html>
I've tested on IE, Firefox and Opera. It works fine.
-----
zerof
-----
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|