Jump to content

[SOLVED] flv embedding syntax error


s4salman

Recommended Posts

i am using this code :

 

<?php echo "<embed src='http://fun007.com/FLVScrubber.swf' quality="high" bgcolor="#000000" width="450" height="253" name="FLVScrubber" align="middle" play="true" loop="false" quality="high" allowScriptAccess="sameDomain" allowFullScreen="true" flashvars="file=http://www.fun007.com/funnyvideos/flv/$flv& previewImage=http://fun007.com/funnyvideos/images/$picture" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer"></embed>";
?>

 

but i am getting this error :

 

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/wallpape/public_html/funny-videos-details.php on line 216

 

 

Please help

Link to comment
Share on other sites

Paste this  :P

<?php
echo ("<embed src='http://fun007.com/FLVScrubber.swf' quality=\"high\" bgcolor=\"#000000\" width=\"450\" height=\"253\" name=\"FLVScrubber\" align=\"middle\" play=\"true\" loop=\"false\" quality=\"high\" allowScriptAccess=\"sameDomain\" allowFullScreen=\"true\" flashvars=\"file=http://www.fun007.com/funnyvideos/flv/$flv& previewImage=http://fun007.com/funnyvideos/images/$picture\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.adobe.com/go/getflashplayer\"></embed>");
?>

Link to comment
Share on other sites

This new flv player code have unusual ”" 

how can embed this (i found a new flv player as it has more feature than above flv player) :

 

<embed flashvars=”" src=”http://www.fun007/FLVScrubber2.swf?file=http://www.fun007.com/funnyvideos/$flv&bufferTime=3&previewImage=http://www.fun007.com/funnyvideos/images/$picture&startAt=0&autoStart=false” allowfullscreen=”true” type=”application/x-shockwave-flash” id=”FLVScrubber2″ style=”width: 323px; height: 283px;” />

 

 

Please help

Link to comment
Share on other sites

Are you trying to embed others flash file in your page or ?

<?php
echo ("<embed flashvars=\”\" src=\”http://www.fun007/FLVScrubber2.swf?file=http://www.fun007.com/funnyvideos/{$flv}&bufferTime=3&previewImage=http://www.fun007.com/funnyvideos/images/{$picture}&startAt=0&autoStart=false\” allowfullscreen=\”true\” type=\”application/x-shockwave-flash\” id=\”FLVScrubber2\″ style=\”width: 323px; height: 283px;\” />");
?>

Link to comment
Share on other sites

i used this code and it works nice.

 

echo ("<embed src='http://fun007.com/FLVScrubber2.swf' quality=\"high\" bgcolor=\"#000000\" width=\"450\" height=\"253\" name=\"FLVScrubber\" align=\"middle\" play=\"true\" loop=\"false\" quality=\"high\" allowScriptAccess=\"sameDomain\" allowFullScreen=\"true\" flashvars=\"file=http://www.fun007.com/funnyvideos/flv/$flv& previewImage=http://fun007.com/funnyvideos/images/$picture\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.adobe.com/go/getflashplayer\"></embed>");

 

Just change the flv player name in the code given by ~n[EO]n~

 

Thanks

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.