example of the Apdev Videoplayer embeddded into HTML page

You can now easily embed our Videoplayer into HTML and pass all important variables (video-url, previewimage-url) to the swf via flashvars.

because we're using swfobject it looks like this:

...
var width=380;
var height=240;
...
var flashvars = {};
flashvars.v = "video01.mp4";
flashvars.img = "videostill.jpg";
...
swfobject.embedSWF(movie, replaceDiv, width, height, flashVersion, express, flashvars, params, attributes);
    

The Videoplayer resizes itself to fill the whole SWF - so in this case the player is 380x240px.

you should see our videoplayer here (alternativ content)

© 2009 apdeblog.com - and some text beneath the video player