Plugin Directory

Changeset 652135


Ignore:
Timestamp:
01/13/2013 09:04:54 PM (13 years ago)
Author:
fristopher
Message:

fixed bug with wordpress 3.5

Location:
youtube-with-style/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • youtube-with-style/trunk/js/search-video.js

    r607604 r652135  
    7979                $(".insert").bind("click", function(e) {
    8080                    e.preventDefault();
    81                     var html = '[youtube v="' + videoId+ '"]';
    82 //flashHtml($(this).attr("href"));
     81                    var html = '[youtube]' + videoId + '[/youtube]';
     82            //flashHtml($(this).attr("href"));
    8383                    sendToEditor(html);
    8484                });         
  • youtube-with-style/trunk/plugin.php

    r609800 r652135  
    1919function yt_tab_content() {
    2020           wp_iframe('media_search_video_form');
    21            break;
    2221}
    2322
  • youtube-with-style/trunk/readme.txt

    r607971 r652135  
    44Tags: video,youtube,search,media,post,shortcode
    55Requires at least: 3.0
    6 Tested up to: 3.4.2
     6Tested up to: 3.5
    77Stable tag: trunk
    88
     
    1616You Tube with Style lets you insert shortcodes via your post/page screen, and even search for You Tube videos via the You Tube API, so you never have to leave your site to find videos to post.
    1717</blockquote>
    18 
    19 <b>IMPORTANT!</b>
    20 
    21 This plugin requires PHP5, and Wordpress 3.0 and Above.
    2218
    2319You Tube API Important Links:
Note: See TracChangeset for help on using the changeset viewer.