Solving iFrame error on eBay, WordPress & Forums- Embedding Youtube Videos


This is a very common problem you might encounter when embedding Youtube videos in your eBay listings, it says” Your listings cannot contains Javascript....iFrame Meta, cookies or base href..blah...blah”. Primarily the error happens because not all sites can validate the iFrame tag like these:


Iframe error on eBay listing while embedding Youtube video


Though iFrame codes works flawlessly in Blogspot and other Google service, in Wordpress or old forums site the iFrame code is not well-supported.



Solutions:
1. To fix this, you need to use the old code embed video rather than the modern iFrame
Ø  Go Youtube and find the video you want to embed in your page
Ø  beneath, click the Share > EMBED
Ø  Put check on use old embed code and copy then, paste the code in your page
Ø  Preview and it should work.

2. In case if the old embed code option is not available( it can be disabled by the uploader in Youtube sometimes), you need to convert the manually. Here it goes:

This is the working code to replace iFrame.

<object width="340" height="250"><param name="movie"
value="http://www.youtube.com/embed/ videofilename?version=3&hl=en_US"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"> </param>
<embed
src="http://www.youtube.com/v/videofilename?version=3&hl=en_US" type="application/x-shockwave-flash"
width="340" height="250" allowscriptaccess="always" allowfullscreen="true"> </embed></object>

Ø  Copy and paste the code above in your page
Ø  Change the red highlighted test w/ your own youtube filename. You find it in the url.
Ø  Preview and you can change also the video width / height if you want
Ø  You need to do the same process on all the videos you want to embed

Want to share something? Please add your comment below.