If you are using Word Press as blogging platform then you may be already familiar with Word Press editor auto clean function because of this behavior you can not enter html code in the way you want in editor. Word Press TinyMCE editor automatically clean up html code.  However i find this feature cool and useful because whatever you put in Word Press editor, it automatically create clean HTML code and wipe out all HTML garbage. This is also good in search engine point of  view because search engine loves clean html.  But sometime we need to stop this behavior to put our own code. For example you want to put video embed code in the post but Word Press change embed code and the result is video do not work. Another example is you want to highlight some para graph and want to put custom code in the post but when you save post all the code have changed. Here are some useful plug-ins that you might think useful.

Add video code with video shortcode plugin.

There are many plugin available that allow you to add videos from popular video website with a single click.  One of them that i use is Viper’s Video Quicktags. There are so many reason to use this plugin in place of others. One of them is it support numbers of video websites as well as support to add flash and flv file. For quick access it add button in editor. To add a video you just need provide video url and other setting like width and height of  the player. Viper’s Video Quicktags plugin create appropriate shortcode and replace them with real code at run time.

Support following video sharing website and filetypes.

  • YouTube (support playlists)
  • Google Video
  • DailyMotion
  • Vimeo
  • Veoh
  • Viddler
  • Metacafe
  • Blip.tv
  • VideoPress aka WordPress.com Video NEW!
  • Flickr videos
  • Spike.com/IFILM
  • MySpaceTV
  • Flash Video Files
  • QuickTime
  • Generic video files (AVI, MPEG, WMV)

Real Time Find & Replace Plugin

This is very useful plugin that allow you to define your own short code and replace them with a specified value at runtime. You can also use this plugin to add  your video code or text without using viper video plugin. In simple words this is search and replace plugin at runtime. This plugin perform operation just before page is ready to render so no change required in the theme file level.  You can find and replace almost anything using this plugin. See screenshot below for an example:

That’s  it.

Written by Bala Krishna

Bala Krishna is web developer and occasional blogger from Bhopal, MP, India. He like to share idea, issue he face while working with the code.

This article has 2 comments

  1. Transistor :

    LCD TVs are the mainstream stuff that you can buy today but their contrast ratio isn’t that great compard to CRT’s ;;