Plugin Directory

Changeset 888537


Ignore:
Timestamp:
04/07/2014 04:07:42 AM (12 years ago)
Author:
sutherlandboswell
Message:

Added support for Youku iFrame

Location:
video-thumbnails
Files:
6 edited
4 copied

Legend:

Unmodified
Added
Removed
  • video-thumbnails/tags/2.7.2/php/providers/class-vimeo-thumbnails.php

    r870830 r888537  
    118118            array(
    119119                'markup'        => 'https://vimeo.com/channels/soundworkscollection/44520894',
    120                 'expected'      => 'http://b.vimeocdn.com/ts/313/130/313130530_640.jpg',
    121                 'expected_hash' => 'e9fd72872a39272f6c540ee66b1ecf28',
     120                'expected'      => 'http://i.vimeocdn.com/video/313130530_1280.jpg',
     121                'expected_hash' => '32f742bbe980e5d98d8aa0256026b459',
    122122                'name'          => __( 'Channel URL', 'video-thumbnails' )
    123123            ),
  • video-thumbnails/tags/2.7.2/php/providers/class-youku-thumbnails.php

    r870830 r888537  
    3636    // Regex strings
    3737    public $regexes = array(
     38        '#http://player\.youku\.com/embed/([A-Za-z0-9]+)#', // iFrame
    3839        '#http://player\.youku\.com/player\.php/sid/([A-Za-z0-9]+)/v\.swf#', // Flash
    3940        '#http://v\.youku\.com/v_show/id_([A-Za-z0-9]+)\.html#' // Link
     
    5758        return array(
    5859            array(
     60                'markup'        => '<iframe height=498 width=510 src="http://player.youku.com/embed/XMzQyMzk5MzQ4" frameborder=0 allowfullscreen></iframe>',
     61                'expected'      => 'http://g1.ykimg.com/1100641F464F0FB57407E2053DFCBC802FBBC4-E4C5-7A58-0394-26C366F10493',
     62                'expected_hash' => 'deac7bb89058a8c46ae2350da9d33ba8',
     63                'name'          => __( 'iFrame Embed', 'video-thumbnails' )
     64            ),
     65            array(
    5966                'markup'        => '<embed src="http://player.youku.com/player.php/sid/XMzQyMzk5MzQ4/v.swf" quality="high" width="480" height="400" align="middle" allowScriptAccess="sameDomain" allowFullscreen="true" type="application/x-shockwave-flash"></embed>',
    6067                'expected'      => 'http://g1.ykimg.com/1100641F464F0FB57407E2053DFCBC802FBBC4-E4C5-7A58-0394-26C366F10493',
  • video-thumbnails/tags/2.7.2/readme.txt

    r877306 r888537  
    55Requires at least: 3.2
    66Tested up to: 3.8.1
    7 Stable tag: 2.7.1
     7Stable tag: 2.7.2
    88
    99Video Thumbnails simplifies the process of automatically displaying video thumbnails in your WordPress template.
     
    118118
    119119== Changelog ==
     120
     121= 2.7.2 =
     122* Added support for Youku iFrame embed code
     123* Fixed Vimeo channel URL test
    120124
    121125= 2.7.1 =
  • video-thumbnails/tags/2.7.2/video-thumbnails.php

    r877306 r888537  
    66Author: Sutherland Boswell
    77Author URI: http://sutherlandboswell.com
    8 Version: 2.7.1
     8Version: 2.7.2
    99License: GPL2
    1010Text Domain: video-thumbnails
     
    3131define( 'VIDEO_THUMBNAILS_PATH', dirname(__FILE__) );
    3232define( 'VIDEO_THUMBNAILS_FIELD', '_video_thumbnail' );
    33 define( 'VIDEO_THUMBNAILS_VERSION', '2.7.1' );
     33define( 'VIDEO_THUMBNAILS_VERSION', '2.7.2' );
    3434
    3535// Providers
  • video-thumbnails/trunk/php/providers/class-vimeo-thumbnails.php

    r870830 r888537  
    118118            array(
    119119                'markup'        => 'https://vimeo.com/channels/soundworkscollection/44520894',
    120                 'expected'      => 'http://b.vimeocdn.com/ts/313/130/313130530_640.jpg',
    121                 'expected_hash' => 'e9fd72872a39272f6c540ee66b1ecf28',
     120                'expected'      => 'http://i.vimeocdn.com/video/313130530_1280.jpg',
     121                'expected_hash' => '32f742bbe980e5d98d8aa0256026b459',
    122122                'name'          => __( 'Channel URL', 'video-thumbnails' )
    123123            ),
  • video-thumbnails/trunk/php/providers/class-youku-thumbnails.php

    r870830 r888537  
    3636    // Regex strings
    3737    public $regexes = array(
     38        '#http://player\.youku\.com/embed/([A-Za-z0-9]+)#', // iFrame
    3839        '#http://player\.youku\.com/player\.php/sid/([A-Za-z0-9]+)/v\.swf#', // Flash
    3940        '#http://v\.youku\.com/v_show/id_([A-Za-z0-9]+)\.html#' // Link
     
    5758        return array(
    5859            array(
     60                'markup'        => '<iframe height=498 width=510 src="http://player.youku.com/embed/XMzQyMzk5MzQ4" frameborder=0 allowfullscreen></iframe>',
     61                'expected'      => 'http://g1.ykimg.com/1100641F464F0FB57407E2053DFCBC802FBBC4-E4C5-7A58-0394-26C366F10493',
     62                'expected_hash' => 'deac7bb89058a8c46ae2350da9d33ba8',
     63                'name'          => __( 'iFrame Embed', 'video-thumbnails' )
     64            ),
     65            array(
    5966                'markup'        => '<embed src="http://player.youku.com/player.php/sid/XMzQyMzk5MzQ4/v.swf" quality="high" width="480" height="400" align="middle" allowScriptAccess="sameDomain" allowFullscreen="true" type="application/x-shockwave-flash"></embed>',
    6067                'expected'      => 'http://g1.ykimg.com/1100641F464F0FB57407E2053DFCBC802FBBC4-E4C5-7A58-0394-26C366F10493',
  • video-thumbnails/trunk/readme.txt

    r877306 r888537  
    55Requires at least: 3.2
    66Tested up to: 3.8.1
    7 Stable tag: 2.7.1
     7Stable tag: 2.7.2
    88
    99Video Thumbnails simplifies the process of automatically displaying video thumbnails in your WordPress template.
     
    118118
    119119== Changelog ==
     120
     121= 2.7.2 =
     122* Added support for Youku iFrame embed code
     123* Fixed Vimeo channel URL test
    120124
    121125= 2.7.1 =
  • video-thumbnails/trunk/video-thumbnails.php

    r877306 r888537  
    66Author: Sutherland Boswell
    77Author URI: http://sutherlandboswell.com
    8 Version: 2.7.1
     8Version: 2.7.2
    99License: GPL2
    1010Text Domain: video-thumbnails
     
    3131define( 'VIDEO_THUMBNAILS_PATH', dirname(__FILE__) );
    3232define( 'VIDEO_THUMBNAILS_FIELD', '_video_thumbnail' );
    33 define( 'VIDEO_THUMBNAILS_VERSION', '2.7.1' );
     33define( 'VIDEO_THUMBNAILS_VERSION', '2.7.2' );
    3434
    3535// Providers
Note: See TracChangeset for help on using the changeset viewer.