Jump to content

editing the embed code


scvinodkumar

Recommended Posts

Hi friends,

 

I want to change the width and height of the value in the below embed code.

 

<embed src="http://www.mysite.com/TV/flvplayer.swf" quality="high" width="450" height="367" name="VideoPlayer" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" FlashVars="file=http://www.mysite.com/TV/uploads/DxDlJKen3rEZehXRQBmk.flv&width=450&height=367&displaywidth=450&displayheight=367&overstretch=true&autostart=true&showfsbutton=false&logo=http://www.mysite.com/TV/image_s/playerlogo.png&link=http://www.mysite.com/TV/&linktarget=_blank&backcolor=0xFFFFFF" wmode="transparent" border="0"></embed>

 

in the above code, i want to change the value of width & height to 200 and 240 instead of 450 and 357 respectively.

 

Note: here the width and height values are dynamic.

please help me.

Link to comment
https://forums.phpfreaks.com/topic/144453-editing-the-embed-code/
Share on other sites

i am really sorry for not explaining properly.

 

Lets explain clearly,

 

I have a video widget in mysite with embedding video code from other sites.

 

the user can add embed code in their profile page by pasting the embed code.

 

the size of video widget to be show is 200X240.

 

so i frame a table with 200X240 size and paste the embed code within the td.

 

when i run the page with the embed code, the size getting bigger size than 200X240.

 

i want the video to show only within 200X240.

 

i hope you can understand now.

 

sorry for my bad english, i am getting little improvement day by day.

 

 

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.