Connecting Tech Pros Worldwide Forums | Help | Site Map

Embed tag turns to InvalidTag

Newbie
 
Join Date: May 2009
Posts: 9
#1: May 27 '09
Greetings -

I have a CF Form that uploads news articles, at times, I like to paste Youtube Videos with my articles. I noticed that on one server, it works fine, but on a different hosting company, my Youtube videos don't work. After I checked the database, I can see that the youTube code did get uploaded, but the Embed tag turned to InvalidTag - Please see my youtube video script below.

Does anyone know what is causing this problem and how to get around it.

Thank you.


Expand|Select|Wrap|Line Numbers
  1. <object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/CfzJJadT8gw&hl=en&fs=1&color1=0x3a3a3a&color2=0x999999"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param>
  2.  
  3. <embed src="http://www.youtube.com/v/CfzJJadT8gw&hl=en&fs=1&color1=0x3a3a3a&color2=0x999999" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>
Here is the Youtube Code after it was uploaded via CFForm. Notice the InavlidTag:

Expand|Select|Wrap|Line Numbers
  1. <InvalidTag width="425" height="344"><param name="movie" value="http://www.youtube.com/v/CfzJJadT8gw&hl=en&fs=1&color1=0x3a3a3a&color2=0x999999"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param>
  2. <InvalidTag src="http://www.youtube.com/v/CfzJJadT8gw&hl=en&fs=1&color1=0x3a3a3a&color2=0x999999" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>

acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,581
#2: May 28 '09

re: Embed tag turns to InvalidTag


See this link - it should explain things.
Reply


Similar ColdFusion bytes