Changeset 3094708
- Timestamp:
- 05/29/2024 03:54:55 PM (21 months ago)
- Location:
- responsive-video-embed
- Files:
-
- 4 edited
- 1 copied
-
tags/0.5.1 (copied) (copied from responsive-video-embed/trunk)
-
tags/0.5.1/readme.txt (modified) (4 diffs)
-
tags/0.5.1/wrve.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (4 diffs)
-
trunk/wrve.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
responsive-video-embed/tags/0.5.1/readme.txt
r3004562 r3094708 4 4 Tags: video, embed, responsive, youtube, vimeo, shortcode 5 5 Requires at least: 3.0.1 6 Tested up to: 6. 47 Stable tag: 0.5 6 Tested up to: 6.5 7 Stable tag: 0.5.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 12 12 13 13 == Description == 14 15 = Non-gutenberg =16 14 17 15 Responsive video embed plugin is a lightweight and simple video embedding plugin that will create responsive video embeds to your site. … … 31 29 3) Using the shortcode automatically by clicking on Embed video button and typing in video embed URL and selecting aspect ratio. 32 30 33 = Gutenberg =34 35 When Guterbeg is in use, you can use the shortcode-block to insert the shortcode.36 37 31 == Installation == 38 32 … … 49 43 50 44 == Changelog == 45 46 = 0.5.1 = 47 * Escape shortcode attributes 51 48 52 49 = 0.5 = -
responsive-video-embed/tags/0.5.1/wrve.php
r1939885 r3094708 3 3 * Plugin Name: Responsive video embed 4 4 * Description: Embed videos to your content responsively. 5 * Version: 0.5 5 * Version: 0.5.1 6 6 * Author: Luuptek 7 7 * Author URI: https://www.luuptek.fi … … 73 73 */ 74 74 public function embed_shortcode( $atts, $content = null ) { 75 $src = isset( $atts['src'] ) ? $atts['src']: '';76 $ratio = isset( $atts['ratio'] ) && ( $atts['ratio'] == '16by9' || $atts['ratio'] == '4by3' || $atts['ratio'] == '21by9' || $atts['ratio'] == '1by1' ) ? $atts['ratio']: '16by9';75 $src = isset( $atts['src'] ) ? esc_url( $atts['src'] ) : ''; 76 $ratio = isset( $atts['ratio'] ) && ( $atts['ratio'] == '16by9' || $atts['ratio'] == '4by3' || $atts['ratio'] == '21by9' || $atts['ratio'] == '1by1' ) ? esc_attr( $atts['ratio'] ) : '16by9'; 77 77 $markUp = ''; 78 78 -
responsive-video-embed/trunk/readme.txt
r3004562 r3094708 4 4 Tags: video, embed, responsive, youtube, vimeo, shortcode 5 5 Requires at least: 3.0.1 6 Tested up to: 6. 47 Stable tag: 0.5 6 Tested up to: 6.5 7 Stable tag: 0.5.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 12 12 13 13 == Description == 14 15 = Non-gutenberg =16 14 17 15 Responsive video embed plugin is a lightweight and simple video embedding plugin that will create responsive video embeds to your site. … … 31 29 3) Using the shortcode automatically by clicking on Embed video button and typing in video embed URL and selecting aspect ratio. 32 30 33 = Gutenberg =34 35 When Guterbeg is in use, you can use the shortcode-block to insert the shortcode.36 37 31 == Installation == 38 32 … … 49 43 50 44 == Changelog == 45 46 = 0.5.1 = 47 * Escape shortcode attributes 51 48 52 49 = 0.5 = -
responsive-video-embed/trunk/wrve.php
r1939885 r3094708 3 3 * Plugin Name: Responsive video embed 4 4 * Description: Embed videos to your content responsively. 5 * Version: 0.5 5 * Version: 0.5.1 6 6 * Author: Luuptek 7 7 * Author URI: https://www.luuptek.fi … … 73 73 */ 74 74 public function embed_shortcode( $atts, $content = null ) { 75 $src = isset( $atts['src'] ) ? $atts['src']: '';76 $ratio = isset( $atts['ratio'] ) && ( $atts['ratio'] == '16by9' || $atts['ratio'] == '4by3' || $atts['ratio'] == '21by9' || $atts['ratio'] == '1by1' ) ? $atts['ratio']: '16by9';75 $src = isset( $atts['src'] ) ? esc_url( $atts['src'] ) : ''; 76 $ratio = isset( $atts['ratio'] ) && ( $atts['ratio'] == '16by9' || $atts['ratio'] == '4by3' || $atts['ratio'] == '21by9' || $atts['ratio'] == '1by1' ) ? esc_attr( $atts['ratio'] ) : '16by9'; 77 77 $markUp = ''; 78 78
Note: See TracChangeset
for help on using the changeset viewer.