swfObject videos full background

ddd / 2011-06-09 11:36:51   

hello,

I would like a video in full background.
I use swfObject but when i put the code in the index.php
it's doesn't work.
I try and i try again with different combinations but nothing work
why ? I don't know
Can you help me please ?!

thank you
sorry my english is very bad (my french is better!)

here the code:

  1. <script type="text/javascript" src="<http://boya.pocketdesigners.be/ndxz-studio/site/js/swfobject/swfobject.js"></script>

var flashvars = {};
var params = {};
var attributes = {};
var expressInstall = "http://boya.pocketdesigners.be/ndxz-studio/site/js/swfobject/expressInstall.swf";

params.stage ='noscale';
params.wmode = 'transparent';

attributes.id = 'flashContent';
attributes.name = 'flashContent';

flashvars.title = 'video once upon a time ';
flashvars.file = "http://boya.pocketdesigners.be/ndxz-studio/site/img/videos/test.swf";
flashvars.color = 'ff0000';

swfobject.embedSWF(
"http://boya.pocketdesigners.be/ndxz-studio/site/img/videos/test.swf",
'flashContent',
'100%','100%','10.0.0',
"http://boya.pocketdesigners.be/ndxz-studio/site/js/swfobject/expressInstall.swf",
flashvars,
params,
attributes
);


  1. ....
  2. <!-- text and image -->
  3. <plug:front_exhibit />
  4. <!-- end text and image -->



url: http://boya.pocketdesigners.be

G470 / 2011-06-10 04:59:59   

... I think it is working. I can see your test.swf file if I change the body background color.
See here: Screenshot

G470 / 2011-06-10 05:02:59   

by the way, why don“t you use the new html5 video tag?

Like this.




Your browser does not support the video tag.

Then you can create a flash fallback... just use google ;)

This thread has been closed, thank you.