Hey,
ich habe mir einen swf Player gekauft, welcher laut Handbuch folgendermasen eingebunden wird:
Kann mir jemand sagen wo ich in diesem Code die Alternativinhalte einfügen kann???
Ich kenne die swfObject Methode bisher nur so:
ich habe mir einen swf Player gekauft, welcher laut Handbuch folgendermasen eingebunden wird:
HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>FLV / H.264 Video Player I</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<div id="videoPlayer">
<script type="text/javascript" src="swfobject/swfobject.js"></script>
<script type="text/javascript" src="swfobject/swfmacmousewheel.js"></script>
<script type="text/javascript">
var flashvars = {
htmlPage: document.location,
settingsFile: "settings.xml"
};
var params = {
allowFullScreen: "true",
allowScriptAccess: "always"
};
var attributes = {
id:"videoPlayer",
name:"videoPlayer"
};
swfobject.embedSWF("videoPlayer.swf", "videoPlayer", "550", "400", "9.0.115", "swfobject/expressInstall.swf", flashvars, params, attributes);
swfmacmousewheel.registerObject(attributes.id);
</script>
</div>
</body>
</html>
Ich kenne die swfObject Methode bisher nur so:
HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Example 1</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
swfobject.registerObject("myFlashContent", "8");
</script>
</head>
<body>
<div>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="728" height="90" id="myFlashContent">
<param name="movie" value="banner.swf" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="banner.swf" width="728" height="90">
<!--<![endif]-->
<img src="banner.jpg" alt="Alternative content rules!" />
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
</body>
</html>