Changeset 606872
- Timestamp:
- 10/02/2012 08:15:19 AM (14 years ago)
- Location:
- ninja-embed-plugin/trunk
- Files:
-
- 2 edited
-
ninja_embed_plugin.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ninja-embed-plugin/trunk/ninja_embed_plugin.php
r516048 r606872 4 4 Plugin URI: http://blog.ninjasforhire.co.za/65/ninja-embed-wordpress-plugin/ 5 5 Description: This plugin allows you to filter media links from YouTube, Vimeo, Yahoo Video and Soundcloud and also allows for shortcodes in posts e.g. [media width="400" height="225" link="http://www.vimeo.com/12345"]. In the code it can be called like this: media_embed($mediaurl, $width, $height, $container[true/false]). For both methods Width and height is to change player dimentions and is optional. The plugin also comes with a widget to allow you to easily embed media in your sidebar. 6 Version: 2. 06 Version: 2.1 7 7 Author: Ninjas for Hire 8 8 Author URI: http://www.ninjasforhire.co.za … … 136 136 ), $atts)); 137 137 138 if (!ereg("[[:digit:]]", $width)) { 138 139 140 if (!ctype_digit($width)) { 139 141 $width = ''; 140 142 } 141 if (! ereg("[[:digit:]]",$height)) {143 if (!ctype_digit($height)) { 142 144 $height = ''; 143 145 } -
ninja-embed-plugin/trunk/readme.txt
r516051 r606872 7 7 Donate link: http://blog.ninjasforhire.co.za/65/ninja-embed-wordpress-plugin/ 8 8 Requires at least: 3.2.1 9 Tested up to: 3. 3.19 Tested up to: 3.4.2 10 10 Stable tag: trunk 11 11 … … 32 32 33 33 == Changelog == 34 35 = 2.1 = 36 * Fixed deprecated function. 34 37 35 38 = 2.0 =
Note: See TracChangeset
for help on using the changeset viewer.