Changeset 214526
- Timestamp:
- 03/07/2010 01:18:45 PM (16 years ago)
- Location:
- youtube-thumbnailer/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
youtube_thumbnails_script.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
youtube-thumbnailer/trunk/readme.txt
r198301 r214526 5 5 Tags: youtube,thumbnail,auto,custom field,posts,embed,embedded 6 6 Requires at least: 2.7 7 Tested up to: 2.9. 18 Stable tag: 1.1 7 Tested up to: 2.9.2 8 Stable tag: 1.1.1 9 9 10 10 This plugin allows you add your own buttons to the post editor's toolbar. 11 11 12 12 == Description == 13 <p><strong>1.1:</strong> 14 Auto thumbnailing bug fixed.<br /> 15 Better video detection.</p> 13 <p><strong>1.1.1:</strong><br /> 14 Enhanced video detection.</p> 16 15 17 16 <p> … … 34 33 == Changelog == 35 34 35 = 1.1.1 = 36 *Enhanced video detection. 37 36 38 = 1.1 = 37 39 *Auto thumbnailing bug fixed. -
youtube-thumbnailer/trunk/youtube_thumbnails_script.php
r198292 r214526 4 4 Plugin URI: http://orenyomtov.com 5 5 Description: This plugin creates thumbnails from your Youtube videos embedded in your posts. 6 Version: 1.1 6 Version: 1.1.1 7 7 Author: Oren Yomtov 8 8 Author URI: http://orenyomtov.com … … 52 52 53 53 foreach($posts as $p) { 54 if (preg_match('#http://www\.youtube\.com/v/([^&"\' ]*)#',$p->post_content,$match) ) {54 if (preg_match('#http://www\.youtube\.com/v/([^&"\'? ]*)#',$p->post_content,$match) ) { 55 55 $img="http://i2.ytimg.com/vi/{$match[1]}/default.jpg"; 56 56 … … 73 73 74 74 foreach($posts as $p) { 75 if (preg_match('#http://www\.youtube\.com/v/([^&"\' ]*)#',$p->post_content,$match) ) {75 if (preg_match('#http://www\.youtube\.com/v/([^&"\'? ]*)#',$p->post_content,$match) ) { 76 76 $img="http://i2.ytimg.com/vi/{$match[1]}/default.jpg"; 77 77
Note: See TracChangeset
for help on using the changeset viewer.