Changeset 906950
- Timestamp:
- 05/02/2014 03:38:33 PM (12 years ago)
- Location:
- the-very-simple-vimeo-shortcode/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
very_simple_vimeo_shortcode.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
the-very-simple-vimeo-shortcode/trunk/readme.txt
r728001 r906950 4 4 Tags: vimeo, video, shortcode, vimeo shortcode, simple video plugin 5 5 Requires at least: 2.0.2 6 Tested up to: 3. 5.17 Stable tag: 3. 5.1trunk6 Tested up to: 3.9 7 Stable tag: 3.9 trunk 8 8 9 9 A very simple shortcode to add your Vimeo videos into your WordPress website! … … 64 64 Added "portrait" and "byline" attributes. (Inspired by Tim Golden <http://www.timgolden.com>) 65 65 66 = 2.9 = 67 Added "title" option. Remove the title of the video by adding the attribute "title=0" to the shortcode. 68 66 69 == Upgrade Notice == 67 70 -
the-very-simple-vimeo-shortcode/trunk/very_simple_vimeo_shortcode.php
r727999 r906950 4 4 Plugin URI: http://www.yourlocalwebmaster.com/plugins/very-simple-vimeo-shortcode-plugin 5 5 Description: 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. 56 Version: 2.9 7 7 Author: Grant Kimball 8 8 Author URI: http://www.YourLocalWebmaster.com/ … … 61 61 $height = "225"; 62 62 } 63 /*if(isset($atts['badge'])){ 64 $badge = $atts['badge']; 65 }else{ 66 $badge = 1; 67 }*/ 68 69 if(isset($atts['title']) && ($atts['title'] == FALSE || $atts['title'] == 0 || strtolower($atts['title']) == 'no')){ 70 $title = 0; 71 }else{ 72 $title = 1; 73 } 74 63 75 if(isset($atts['class'])){ 64 76 $class=$atts['class']; … … 67 79 $class=""; 68 80 } 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>'; 70 82 return $list; 71 83 }
Note: See TracChangeset
for help on using the changeset viewer.