Welcome Guest, Not a member yet? Register   Sign In
Auto Play Problem
#1

[eluser]saad06[/eluser]
I am having problem in making the flv player auto play can anyone help me here is my code

Code:
$output .= "\n" . '<div id="container' . $videoid . '"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</div>
' . "\n";
        $output .= "\n" . '[removed][removed]' . "\n";
        $output .= '[removed]' . "\n";
        $output .= 'var s' . $videoid . ' = new SWFObject("' . $site_url . 'public/app/mediaplayer.swf","mediaplayer' . $videoid . '","' . $width . '","' . $height . '","7");' . "\n";
        $output .= 's' . $videoid . '.addParam("allowfullscreen","true");' . "\n";
        $output .= 's' . $videoid . '.addParam("autorun","true");' . "\n";//parameter for autoplay
        $output .= 's' . $videoid . '.addVariable("width","' . $width . '");' . "\n";
        $output .= 's' . $videoid . '.addVariable("height","' . $height . '");' . "\n";
        $output .= 's' . $videoid . '.addVariable("file","' . $site_url .'' . $video . '");' . "\n";
        //$output .= 's' . $videoid . '.addVariable("image","' . $site_url .'' . $picture . '");' . "\n";
        $output .= 's' . $videoid . '.write("container' . $videoid . '");' . "\n";
        $output .= '[removed]' . "\n";


Messages In This Thread
Auto Play Problem - by El Forum - 02-10-2011, 11:23 PM
Auto Play Problem - by El Forum - 02-11-2011, 01:51 AM
Auto Play Problem - by El Forum - 02-11-2011, 03:08 AM
Auto Play Problem - by El Forum - 02-11-2011, 05:44 AM
Auto Play Problem - by El Forum - 02-11-2011, 06:10 AM
Auto Play Problem - by El Forum - 02-11-2011, 06:52 AM



Theme © iAndrew 2016 - Forum software by © MyBB