Plugin Directory

Changeset 906950


Ignore:
Timestamp:
05/02/2014 03:38:33 PM (12 years ago)
Author:
yourlocalwebmaster
Message:

Version 2.9 includes the title attribute. Used to remove the title.

Location:
the-very-simple-vimeo-shortcode/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • the-very-simple-vimeo-shortcode/trunk/readme.txt

    r728001 r906950  
    44Tags: vimeo, video, shortcode, vimeo shortcode, simple video plugin
    55Requires at least: 2.0.2
    6 Tested up to: 3.5.1
    7 Stable tag: 3.5.1 trunk
     6Tested up to: 3.9
     7Stable tag: 3.9 trunk
    88
    99A very simple shortcode to add your Vimeo videos into your WordPress website!
     
    6464Added "portrait" and "byline" attributes. (Inspired by Tim Golden <http://www.timgolden.com>)
    6565
     66= 2.9 =
     67Added "title" option.  Remove the title of the video by adding the attribute  "title=0" to the shortcode.
     68
    6669== Upgrade Notice ==
    6770
  • the-very-simple-vimeo-shortcode/trunk/very_simple_vimeo_shortcode.php

    r727999 r906950  
    44Plugin URI: http://www.yourlocalwebmaster.com/plugins/very-simple-vimeo-shortcode-plugin
    55Description: A simple shortcode to add your vimeo videos into site! Website are affordable from <a href="http://www.yourlocalwebmaster.com">www.YourLocalWebmaster.com</a>
    6 Version: 2.5
     6Version: 2.9
    77Author: Grant Kimball
    88Author URI: http://www.YourLocalWebmaster.com/
     
    6161$height = "225";
    6262}
     63/*if(isset($atts['badge'])){
     64$badge = $atts['badge'];
     65}else{
     66$badge = 1;
     67}*/
     68
     69if(isset($atts['title']) && ($atts['title'] == FALSE || $atts['title'] == 0 || strtolower($atts['title']) == 'no')){
     70    $title = 0;
     71}else{
     72    $title = 1;
     73}
     74
    6375if(isset($atts['class'])){
    6476$class=$atts['class'];
     
    6779$class="";
    6880}
    69             $list = '<iframe src="http://player.vimeo.com/video/'.$content.'?byline='.$byline.'&portrait='.$portrait.'&autoplay='.$auto_play.'" width="'.$width.'" height="'.$height.'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen class="'.$class.'"></iframe>';
     81            $list = '<iframe src="http://player.vimeo.com/video/'.$content.'?byline='.$byline.'&portrait='.$portrait.'&title='.$title.'&autoplay='.$auto_play.'" width="'.$width.'" height="'.$height.'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen class="'.$class.'"></iframe>';
    7082           return $list;
    7183}
Note: See TracChangeset for help on using the changeset viewer.