I'm just beginning to implement swfobject in place of embed, and it's
working just fine (for a novice). But I want to make a 30 second
intro video of myself welcoming visitors to my website - like they
have on flvhosting.com. I've been trying to figure out how to make a
flash video to 'float" at the bottom of my home page - without using
absolute positioning.
This is what I'm using right now to place a regular 300x200 flash
video on another page.
<script type="text/javascript" src="cssjs/swfobject.js"></script>
<script type="text/javascript">
if (swfobject.hasFlashPlayerVersion("6.0.0")) {
var fn = function() {
var att = { data:"flv/myFlashVideo.swf", width:"300",
height:"200" };
var flashvars = {};
var par = { wmode:"transparent"};
var id = "myFlashVideo";
var myObject = swfobject.createSWF(att, par, id);
};
swfobject.addDomLoadEvent(fn);
}
</script>
And then of course I place this in the body.
<div id="myFlashVideo">My Flash Video</div>
Your help is very appreciated.
Frank
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---