Embed directly into the Text Widget in WordPress

[kml_flashembed movie="http://www.youtube.com/v/PN2HAroA12w" width="205" height="180" allowfullscreen="true" fvars="fs=1" /]

Many who use WordPress know it is not possible to embed YouTube videos or Google Maps natively into a WordPress post. WordPress strips all non-standard XHTML from a post or page, which means the embed code provided by many media sites like YouTube gets removed when the post or page is saved. To skirt this issue we installed a number of plugins, Anarchy Media Player and Google Maps Quicktag – MU for instance, to provide us this ability in our WordPress MU installation.

However, as I was dorking around tonight with some of the widgets on this site and I discovered I could embed YouTube videos and a Flickr slideshow directly into the Text widget using the embed coded provided to me from these sites. WordPress must not be validating the code in this widget, which is why it must work.

Strange, but I’ll take it.

3 thoughts on “Embed directly into the Text Widget in WordPress

  1. If you are playing a sports game, consider playing on dynasty mode,
    which can help give you the most bang for your buck. Despite its efficacy of providing informative data and quality information to both children and adults alike, it can also
    be detrimental to your children if films are not properly selected.

    And the whole premise is just downright odd and too unrealistic to
    even be a satire.

    my weblog – parental guidance movie free download

Leave a Reply

Your email address will not be published. Required fields are marked *