EmbedIt WordPress Plugin – Embed HTML code in WordPress without problems!


images.jpgDo you need a SIMPLE plugin for incorporating any HTML code (including Youtube, Metacafe, Ustream.tv html embed code) into your WordPress posts?

How many times have you been feeling frustrated because the WordPress built in WYSIWYG editor would destroy your HTML code, no matter what you do?

This light and easy wordpress plugin will solve your problem.


It can be very handy when you need a very easy and quick solution to:

  • embed Youtube videos into wordpress
  • embed ustream into wordpress
  • embed a custom Google Map into wordpress
  • embed whatever html code into wordpress
  • embed specific Adsense code into wordpress posts deciding WHERE it should go inside an article

This plugin takes advantage of WordPress custom fields. If you haven’t heard about them, you’ll soon understand what we’re talking about. Just have a look to your wordpress post editing page, under “trackback”.

WHAT IT DOES: WHY DO I NEED IT?

images1.jpgEmbedIt is simple plugin that allows you to embed any html code in a post, deciding precisely where to embed it, allowing you freedom of coding your html without being annoyed by the wysiwyg editor. It will save you a lot of time, a quick solution for many occasions. No messing around, and compatible with any html embeddable service. And of course, you can write your own html code, without having the hassle of dealing with the WordPress WISYWYG editor.

USAGE: While editing a post, create a custom field with key HTML1 and paste the code you want to embed into the Value field. Then just write [HTML1] in your post where you want to embed the html code. (Just use the standard wysiwyg post content editing window, no need to switch to Code view).

A QUICK EXAMPLE TO GET STARTED ON HOW TO EMBED VIDEOS OR WHATEVER HTML I WANT INTO MY POST

There you go.

Let’s say that you want to embed an youtube video into your post.

  1. Install and activate the plugin. You may know how to do this. Or if you don’t, have a look here.
  2. On the Youtube video page, copy the HTML code of the video.
  3. Now in the WordPress post editing window, place your cursor where you want your video to appear and just type

    [HTML1]

    Here is what things should look like. Click images to enlarge
    embed html into wp

  4. Create a custom field using key HTML1

custom field wordpress

and paste the HTML code that you’ve copied from Youtube in the Value field on the right.

Here is what things will look like.

Do not forget to click Add Custom Field.

AND NOW….

Have a look at the post: exactly where you wrote [HTML1] the video appears.

Here is our result! Have a look at this funny video post

CAN I HAVE MORE? SURE!

If you need, you can use up to nine times the trick: just use the “tags” [HTML2] …. to [HTML9]… in order to embed up to nine html different snippets per post, placing each snippet in a different custom field called HTML2 … to HTML9.

You can also “print” the same html snippet more than one time calling the [HTML1] tag more than one time. No problem with it.

This plugin can come real handy when using wordpress as a CMS. Your clients will no longer destroy their embeds when editing pages and posts!

YOU’RE ALMOST THERE, JUST A QUICK NOTE IF YOU’RE ON WP 2.6:


WP 2.6 has a known bug wich adds a  slash to all ‘ and ” characters.  Until the WP team releases a new fixed version, the only way to get around it is to submit your custom field entry,  then update the field once again with the right code.

AND NOW, DOWNLOAD THE PLUGIN.

Did I tell you it’s for free? Yes, it is. In order to get the plugin, insert your email address. You will receive instantly an email with the download link.

Your Email:   

I’ll contact you occasionally regarding WordPress plugins and updates – I won’t use your email for any other purpose or give it to anybody else.

Top Topics:
embedding google form into wordpress 
get embedit plugin 
embed html inside wordpress page 
embed page html without iframe 
embedit wordpress plugin free download 
wordpress embed code snippet 
how to use embed plugins for wordpress 
html code that allows to hide a post in wordpress until link click 
word press stripping audio acrobat code 
embed video plugin for wordpress 2.8+ 
audioacrobat embed code 
iframe video playing html code 
wordpress snipplet 
embed video wordpress hide code 
embed it plugin audio "custom field" 
uninitialized string offset 1 wordpress 
embedding screencast.com html code on my wordpress website 
camtasia plugin mod 
uninitialized string offset google maps 
snipplets wordpress plugin 
problems with who's online plugin in wordpress 
embedit calendar 
Uninitialized string offset: 0 in /var/www/zm/skins/classic/views/filter.php 
embedit wordpress javascript 
customize video upload field wordpress 

98 Responses to “EmbedIt WordPress Plugin – Embed HTML code in WordPress without problems!”

  1. Jude says:

    Fantastic plug-in for server hosted WordPress blogs. Now I only wish that WordPress would take the hint and implement a solution for their many users (like my students) still using their free blogging platform.

  2. I like your blog theme. I want to use it on my blog.
    Can you please tell me from where I can download these theme?

    Many thanks

    ——————————————————————————–
    Dan owner of the future gadgets blog future gadgets and inventions

  3. James says:

    Appreciate this plugin… definitely makes it easier to post hosted videos on my news web log, without having to use several different types of video ‘codecs’.

    -James
    http://www.thepoliticus.org

  4. boe says:

    great work!! finally kyte.com, seesmic.com, qik.com or google-maps don’t destroy my wp-theme anymore…

  5. Andie says:

    Wow, this is exactly what I needed. All the other plugins for this are limited or clumsy. Thanks for writing this plugin!

    /Andie

  6. DaveB says:

    Thanks for the plug-in, very, very useful!

  7. FILIPPO says:

    Caro Matteo,

    ti ringrazio per le tue preziose indicazioni. Il problema stava proprio nelle parentesi quadre. Ho messo solo HTML1 e subito è comparso il codice in embedding. Il sito su cui sto lavorando si chiama portanord.it e non appena sarà pubblicato ti inviterò a visitarlo e a darmi qualche consiglio. Complimenti ancora per il tuo plugin. Ho una piccola web agency che si chiama iditom (www.iditom.com). Chi lo sa, magaripotremmo collaborare su qualche progetto!
    Grazie ancora.

    Filippo Marini

  8. Lexx says:

    Thanks for the plug-in

  9. The best and most useful plugin for wordpress hosted blogs! It is exactly what I wanted!…2 Thumbs up! Works like a charm.

    Thanks

    Micky
    http://www.pixelsoda.com/blog

  10. aishah says:

    Thanks so much for this plugins. It’s so easy to use. Keep up the good work.

  11. Jason says:

    Thanks for the plugin. I was having a hell of a time trying to get my custom google maps in my site. Your plugin solved what was days of pulling out my hair. 2 thumbs up!!!!!

  12. Omegacool says:

    Grandioso, muy util!!!

  13. Chris says:

    Good work! matteo’s EmbedIt…..for those times when wordpress says html but doesn’t really mean html.

  14. zoe says:

    oh i love it. Its the plugin that allowes me to integrate Flickr Video. Thank you for that

  15. HTML Guru says:

    Very nice and elegant. I’ve had a few problems before loading in Youtube videos and did find a plugin specifically for that, but this one is generic enough to use for all those tags.

    Thanks

  16. Bill Petro says:

    Very nicely done. Thanks.

  17. Alexa says:

    Can this plug in work for embedded videos? (I have the code for the link) Thanks!

  18. jocuri says:

    Keep up the good work! 10q

  19. admin says:

    Hi Alexa,

    you should be able to embed every kind of video, provided you have the right html code to embed. Contact me if you need help!

  20. Blaenk Denum says:

    You should host this on the wordpress.org site so more people see it, and so that if you ever update your plugin it will be available to everyone using the automatic update system.

  21. mortadella says:

    Is there a way to upload more than 9 HTML code snippets? This plugin is perfect, but I need it to embed 50 or 100 HTML snippets or more!!!! please help!

  22. Wow!
    This is great… being able to place javascript directly into a post is awesome.
    Thanks

  23. Thomas (Bavarian Beer) says:

    Same question as mortadella – Is it possible to enlarge the number of snipplets up 100 or more?

  24. admin says:

    yes. Just edit the embed-it.php file. Go to line 19. Change the number from 9 to the desired value of maximum snippets. You’re done!

  25. everything works fine until i embed an IFRAME video..it is embedded alright BUT not the video by my blog’s 404 page. what to do? i am certain i got the correct iframe code..or this plugin just doesn’t work with iframes?

  26. admin says:

    the plugin has no problems with iframes. Are you sure the src of the iframe is correct?

  27. Thanks for the plugin and instructions. I have finally embed an iframe into my blog to show google maps.

  28. Matteo,

    I’m using Camtasia to do screencasts. I host the .swf info locally on my blog, uploading it via FTP. I want to be able to allow my users to have the option of viewing the video in full screen mode, which means that the full screen functionality is only available when you produce ExpressShow with an HTML file, and then run that video by playing the HTML file.

    How do I embed the locally saved HTML file? I’m not quite sure how to code it for the “value” box.

    Any help would be greatly appreciated. Thank you

  29. Doug says:

    I downloaded the plugin and used it on my PC and it works great. Another friend used the same plugin on his Mac and it did NOT work. Should the same plugin work for both platforms?

    Thx

    db

  30. admin says:

    No, I’m using it on the Mac all the time with success. Maybe you’re plagued by the famous WordPress bug – have a look in the grey box notice before the comments – “YOU’RE ALMOST THERE, JUST A QUICK NOTE IF YOU’RE ON WP 2.6″

  31. Mike Panic says:

    Just wanted to let you know I wrote a review of this plugin after successfully using it on two blogs that I manage. You can read the review here: http://crenk.com/embedit-wordpress-plugin-review/

  32. Poster says:

    I use custom fields for annotations and links. How do you deal with that? Do I have to hide all custom fields if I want to use this plugin?

  33. admin says:

    no! No need to worry. This plugin only acts on the HTML1, HTML2…. custom fields. Other custom fields are not concerned!

  34. hypercet says:

    what can i say?
    I love you…
    Thanks for great plugin.
    Irene

  35. Steve says:

    I am using a WP theme that requires Custom Fields for placing video posts [press75 "OnDemand"]. It bypasses the conventional WP embed process form field, and requires the embed code to go into pre-defined Custom Fields. I would like to use your plugin to have preset embed code in a specific Custom Field so my user need only change the video filename in the preset code to post the new video. Is this possible with a mod to your plugin?
    Steve

  36. Alice says:

    I’m getting a similar problem showing a google map on this page: http://www.alicewinthrop.com/ipswich375/about-2/location/
    It shows a page from my site instead of the google map. I’ve double-checked the embed code. Any thoughts? Thanks.

  37. Alice says:

    Scratch that. Strangely I posted a new page, it failed, I started again and then when I checked the location page it was working. Must have been some sort of temporary corrupt file.
    Thanks for a great plugin.

  38. Just the hint I was looking for – got to integrate it soon in my WP ;-)

  39. Awesome plugin dude! I was pulling my hair out trying to embed some iframe code and your plugin made it work on this page:
    http://www.forexcustomerreports.com/forex-calendar/

    Thank you very much!

  40. Kaz says:

    Same question as Kris@FreshFocus. I have another program (SportTracks) that creates and updates a “stand alone” .html page. I want to show that page inside of a page in WP. If I create HTML1 and [HTML1] I get just the text “http://www.kasdorf.name/Running/RunIndex.html” instead of the page contents embedded in the WP page.
    Tried various combos of no “html” with no luck. Also tried adding [HTML1]

    Anyone have the solution it would be appreciated!

  41. Wordpress was stripping the Audio Acrobat code out of my self-hosted blog every time I went into the html editing mode, this totally fixed it – works like a charm, thank you!

  42. David Lindsey says:

    Thanks for the plugin. It works perfectly, much better than other “raw code” plugins.

  43. Betty says:

    Fantastic!!

    Just installed it, have used it once and it is perfect. Now to try to embed that silly google map on my site…

    Thank you!!

  44. Terry says:

    Pure genius. I needed some code to clear the floats after some pictures I inserted into a post. Works great.

  45. Paamayim says:

    With notices turned on I get a lot of:

    Notice: Uninitialized string offset: 0 in /home/somefolder/public_html/wp-content/plugins/embed-it.php on line 23

    In production you will want disable notices, but it’s not good knowing they are there but simply you cannot see them.

    So, you may want to substitue in lines 22 and 23:

    $html= get_post_meta($post->ID, $key,false);
    $html=$html[0];

    with:

    $html= get_post_meta($post->ID, $key, true);
    if($html == ”)
    continue;

    Hope it helps.

  46. Murph says:

    I rarely leave comments on sites but I have to say that this plugin really, really helped! Thanks for taking the time to not only create such a plugin, but to share it with us (especially we NEWBIES) – great!

    Murph

  47. Evgeni says:

    I needed to embed an online tool into a WP page. That tool has a JavaScript input forms, progress bar, an XHR call, and a table for the CGI output. Tried doing it manually – got a distorted page.

    EmbedIn solved the problem!

  48. Yael says:

    Does this work in WordPress 2.8? Sure hope so, because I really need it :)

    Thanks. Yael

Leave a Reply

Please leave these two fields as-is: