=== TGN Embed everything === Contributors: georgevanous Tags: youtube,pdf,xls,ppt,doc,spreadsheet,excel,powerpoint,tiff,word,videoreadr,video,microsoft,google,docs Tested up to: 3.0.1 Stable tag: 1.0.21 Requires at least: 3.0.1 Easily embed YouTube, PDF, Google docs, spreadsheets, PowerPoint, Word, VideoReadr, TIFF and more into WordPress 3! For example: [youtube -PADF6XD7pw] == Description == (Copy all this into a new WordPress post to see it in action!) General embed format: [type id width height] Note: width and height are optional. If only one is given, it is treated as the height. * YouTube: [youtube -PADF6XD7pw] * Supports all YouTube options at http://code.google.com/apis/youtube/player_parameters.html, like autoplay and loop: [youtube -PADF6XD7pw 604 364 autoplay=1 loop=1] * IFrame: [iframe www.thegamenet.com 604 1000] * PDF: [pdf tgnbooks.com/the-great-gatsby.pdf 604 700] * PowerPoint: [powerpoint tgnbooks.com/best-caricatures.ppt 604 700] * Google spreadsheet: [spreadsheet 0AtFXq8XyejTEdGNEZm1NZUJ3V3QwXzIwZnQ1ckh0MlE 604 300] * TIFF: [tiff tgnbooks.com/electronic-circuit.tif 604 840] * VideoReadr: [videoreadr Uz7fOLDr2JM nmrdsxtb 604 370] Want to embed something else or have a question? Contact the author: george@thewpwiki.com! == Installation == To install this extension 1. Put tgn-embed-everything.php into /wp-content/plugins/ 2. Activate the plugin 3. Start using the shortcodes in your posts == Frequently asked questions == = What is TGN? = TGN is THEGAMENET, creating communities 10,000 users at a time! See www.thegamenet.com = What is YouTube? = YouTube lets you broadcast yourself. It is the world's best and free video hosting service. Upload your videos and share them with your friends or the world! = What is VideoReadr? = VideoReadr enhances YouTube videos with bookmarkes, transcripts and a full scripting language See www.videoreadr.com == Changelog == = 1.0.21 = * Updated VideoReadr to comply with HTML5 requirements, prefixing all custom attribute names with "data-" = 1.0.20 = * Added support for [iframe] shortcode to display any webpage in your post * YouTube videos can now be hidden by pull-down menus and other HTML (added wmode=opaque to the object and embed elements) * Updated VideoReadr to support decoupling YouTube from VideoReadr, but must now add YouTube ID to shortcode, like [videoreadr Uz7fOLDr2JM nmrdsxtb] = 1.0.19 = * Added all public YouTube API parameters at http://code.google.com/apis/youtube/player_parameters.html = 1.0.18 = * Discovered a bug where the auto-linkify feature broke the WordPress image [caption] feature - disabled auto-linkify for now to fix this = 1.0.17 = * Added YouTube autoplay option! Just add "autoplay=1" to the shortcode, like [youtube -PADF6XD7pw autoplay=1] = 1.0.16 = * Added PowerPoint example to Description * Changed default YouTube video to "First look at LOTRO (Lord of the Rings Online) free-to-play" - to see it, type [youtube] in any WordPress post = 1.0.15 = * Re-enabled linkify, now correctly ignores shortcodes like [show http://tgnbooks.com/the-great-gatsby.pdf] * Added more shortcode intelligence to support common paste issues like [show http://tgnbooks.com/the-great-gatsby.pdf] = 1.0.14 = * Disabled linkify until we find a solution that avoids linkifying [show http://tgnbooks.com/the-great-gatsby.pdf] = 1.0.13 = * Automatically linkify URL and email addresses in plain text (can be clicked) * Changed YouTube embed to use the new YouTube iframe code (uses HTML5 player if your browser supports it) - http://apiblog.youtube.com/2010/07/new-way-to-embed-youtube-videos.html = 1.0.12 = * Improved documentation = 1.0.11 = * Added scrollbars for spreadsheets that do not fit in the viewing area = 1.0.10 = * Removed border around PDFs in IE = 1.0.9 = * Added support for TIFF images = 1.0.8 = * Increased default height of spreadsheets to the same as PDFs = 1.0.7 = * Added new [spreadsheet] shortcode to show published Google spreadsheets * http:// is now optional, eg: [show tgnbooks.com/the-great-gatsby.pdf] = 1.0.6 = * Updated code comments = 1.0.5 = * Updated description to be more clear = 1.0.4 = * Replaced [view] with the more descriptive [show] * Added VideoReadr Javascript fix to define $ if it wasn't already set to jQuery = 1.0.3 = * Updated tags in readme.txt to include all supported file types = 1.0.2 = * Updated readme.txt to include all supported file types in the description = 1.0.1 = * To avoid naming conflicts, prefixed all functions and globals with tgn_ee_ (TGN Embed everything) = 1.0.0 = * Initial release