Question
YouTube embed code getting truncated
I have a form field with a YouTube embed that I am trying to
read into a MySQL database.
<input name="Image1URL" type="hidden" value="<object width="425" height="344"><param name="movie" value=" http://www.youtube.com/v/2X7xFIhTIDc&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><object src=" http://www.youtube.com/v/2X7xFIhTIDc&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>" />
On insertion, the entry is getting truncated to:
<object width=
Apparently it doesn't like the "
I tried to do a Replace to make it "" but can't figure out the correct way to code it
Thanks.
<input name="Image1URL" type="hidden" value="<object width="425" height="344"><param name="movie" value=" http://www.youtube.com/v/2X7xFIhTIDc&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><object src=" http://www.youtube.com/v/2X7xFIhTIDc&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>" />
On insertion, the entry is getting truncated to:
<object width=
Apparently it doesn't like the "
I tried to do a Replace to make it "" but can't figure out the correct way to code it
Thanks.
