1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>

<div id="vimeoplayer">
</div>

<script type="text/javascript">
    function vimeo_player_loaded() {
        alert('hi');
    }

    var flashvars = {
        clip_id: '1241590',
        js_api: 1,
        js_onLoad: 'vimeo_player_loaded'
    }

    var parObj = {
        allowscriptaccess: 'always'
    }

    swfobject.embedSWF("http://www.vimeo.com/moogaloop.swf", "vimeoplayer", "400", "300", "8", '',flashvars, parObj);
</script>