How to autoplay Flowplayer

Discussion in 'General Scripting Chat' started by blessingcpa, Oct 24, 2010.

  1. blessingcpa

    blessingcpa Registered Member

    Joined:
    Oct 22, 2010
    Messages:
    73
    Likes Received:
    6
    Hey!

    I have a squeeze page with an embedd flash video. I want the video to start automatically on the page. What do I have to change in the script? Sorry for that noobish question but my coder is on vacation and I have to fix some things :)

    Code:
          </div><!--end squeezepageheader-->
                
                <div class="box1 maincolorback1 optinbox">
                    <div id="squeezepagevideo">
                        <a href="introvideo/video.flv" style="display:block;" id="player"></a> 
                    <!-- this will install flowplayer inside previous A- tag. -->
                    <script>
    						flowplayer("player", {src: "flash/flowplayer-3.1.5.swf", height: 300, width: 540, wmode: 'transparent'}, { plugins: { controls: { autoHide: 'always'}}, clip:{autoPlay: false, autoBuffering: true }, canvas: {backgroundColor: '#000'}, controls: { backgroundColor: '#DBA40F', backgroundGradient: 'none', bottom: '1'}  
                        });
        
                    </script>
                    </div><!--end squeezepagevideo-->
    thanks so much