Hi every body

i want to send youtube embedded code through php mail function.

embedded code is:

<object width="500" height="380">
<param name="movie" value="http://www.youtube.com/v/<?=$_GET['url']?>&amp;hl=en&amp;fs=1&amp;rel=0&amp;showinfo=0&amp;color1=0x006699&amp;color2=0x54abd6&amp;border=1" />
</param>
<param name="allowFullScreen" value="true" />
</param>
<param name="allowscriptaccess" value="always" />
</param>
<embed src="http://www.youtube.com/v/<?=$_GET['url']?>&amp;hl=en&amp;fs=1&amp;rel=0&amp;showinfo=0&amp;color1=0x006699&amp;color2=0x54abd6&amp;border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="500" height="380"></embed>
</object>

Pls reply as early as possible.

Thanks in advance

Have you tried it? Obviously the recipient will need to have HTML messages turned on. This can be a bit of a pain if your audience has messages displayed in plain text. Sending a link to the video may be better.

I know how I'd feel about waiting for an embedded video to load/appear when browsing through my inbox - DELETE DELETE DELETE, unless it was a message I was expecting or looking forward to.

I use my Blackberry to browse my emails during the day and get REALLY peeved with all the displayed html tags all over the place. Anything that has loads of tags is deleted before I get a sniff of the contents. But, hey, that's just me, cantankerous old git.

This article has been dead for over six months. Start a new discussion instead.