Plugin Directory

Changeset 214526


Ignore:
Timestamp:
03/07/2010 01:18:45 PM (16 years ago)
Author:
Ornani
Message:
 
Location:
youtube-thumbnailer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • youtube-thumbnailer/trunk/readme.txt

    r198301 r214526  
    55Tags: youtube,thumbnail,auto,custom field,posts,embed,embedded
    66Requires at least: 2.7
    7 Tested up to: 2.9.1
    8 Stable tag: 1.1
     7Tested up to: 2.9.2
     8Stable tag: 1.1.1
    99
    1010This plugin allows you add your own buttons to the post editor's toolbar.
    1111
    1212== 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 />
     14Enhanced video detection.</p>
    1615
    1716<p>
     
    3433== Changelog ==
    3534
     35= 1.1.1 =
     36*Enhanced video detection.
     37
    3638= 1.1 =
    3739*Auto thumbnailing bug fixed.
  • youtube-thumbnailer/trunk/youtube_thumbnails_script.php

    r198292 r214526  
    44Plugin URI: http://orenyomtov.com
    55Description: This plugin creates thumbnails from your Youtube videos embedded in your posts.
    6 Version: 1.1
     6Version: 1.1.1
    77Author: Oren Yomtov
    88Author URI: http://orenyomtov.com
     
    5252       
    5353    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) ) {
    5555            $img="http://i2.ytimg.com/vi/{$match[1]}/default.jpg";
    5656
     
    7373   
    7474    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) ) {
    7676            $img="http://i2.ytimg.com/vi/{$match[1]}/default.jpg";
    7777
Note: See TracChangeset for help on using the changeset viewer.