Changeset 3325265
- Timestamp:
- 07/09/2025 09:25:36 PM (6 months ago)
- Location:
- custom-iframe
- Files:
-
- 4 added
- 8 edited
- 1 copied
-
assets/screenshot-1.jpeg (added)
-
assets/screenshot-2.jpeg (added)
-
assets/screenshot-3.jpeg (added)
-
assets/screenshot-4.jpeg (added)
-
tags/1.0.12 (copied) (copied from custom-iframe/trunk)
-
tags/1.0.12/custom-iframe-widget.php (modified) (3 diffs)
-
tags/1.0.12/includes/embed-handlers/class-embed-converter.php (modified) (3 diffs)
-
tags/1.0.12/languages/custom-iframe.pot (modified) (3 diffs)
-
tags/1.0.12/readme.txt (modified) (3 diffs)
-
trunk/custom-iframe-widget.php (modified) (3 diffs)
-
trunk/includes/embed-handlers/class-embed-converter.php (modified) (3 diffs)
-
trunk/languages/custom-iframe.pot (modified) (3 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
custom-iframe/tags/1.0.12/custom-iframe-widget.php
r3314097 r3325265 4 4 * Plugin URI: https://coderzstudio.com/plugins/custom-iframe 5 5 * Description: An advanced Elementor widget to embed iFrames with customizable options. 6 * Version: 1.0.1 16 * Version: 1.0.12 7 7 * Author: Coderz Studio 8 8 * Author URI: https://coderzstudio.com/ … … 19 19 * Requires at least: 5.8 20 20 * Requires PHP: 7.4 21 * Elementor tested up to: 3. 2822 * Elementor Pro tested up to: 3. 2821 * Elementor tested up to: 3.30 22 * Elementor Pro tested up to: 3.30 23 23 */ 24 24 … … 51 51 52 52 // Define constants. 53 define( 'CUSTIF_VERSION', '1.0.1 1' );53 define( 'CUSTIF_VERSION', '1.0.12' ); 54 54 define( 'CUSTIF_URL', plugin_dir_url( __FILE__ ) ); 55 55 define( 'CUSTIF_PATH', plugin_dir_path( __FILE__ ) ); -
custom-iframe/tags/1.0.12/includes/embed-handlers/class-embed-converter.php
r3272744 r3325265 23 23 * into their proper embed formats. 24 24 * 25 * @param string $url The original URL to convert. 25 * @param string $url The original URL to convert. 26 * 26 27 * @return string The converted embed URL or the original URL if invalid. 27 28 * @since 1.0.0 … … 46 47 return "https://www.youtube.com/embed/$video_id"; 47 48 } elseif ( 'youtube.com' === $host ) { 49 // Handle shorts: youtube.com/shorts/VIDEO_ID. 50 if ( strpos( $path, 'shorts/' ) === 0 ) { 51 $video_id = str_replace( 'shorts/', '', $path ); 52 53 return "https://www.youtube.com/embed/$video_id"; 54 } 55 56 // Handle normal video URLs with ?v=. 48 57 parse_str( $query, $query_params ); 49 58 $video_id = $query_params['v'] ?? ''; … … 154 163 } 155 164 165 // Wistia Embed (for any wistia.com subdomain). 166 if ( str_ends_with( $host, 'wistia.com' ) ) { 167 $parts = explode( '/', $path ); 168 if ( count( $parts ) >= 2 && 'medias' === $parts[0] ) { 169 $media_id = $parts[1]; 170 171 if ( $media_id ) { 172 return "https://fast.wistia.net/embed/iframe/{$media_id}?seo=false&videoFoam=true"; 173 } 174 } 175 } 176 156 177 return $url; // Return original if no match. 157 178 } -
custom-iframe/tags/1.0.12/languages/custom-iframe.pot
r3314097 r3325265 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Custom iFrame 1.0.1 1\n"5 "Project-Id-Version: Custom iFrame 1.0.12\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/custom-iframe\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2025-0 6-18T18:37:00+00:00\n"12 "POT-Creation-Date: 2025-07-09T20:36:45+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.11.0\n" … … 287 287 msgstr "" 288 288 289 #: includes/embed-handlers/class-embed-converter.php:12 0289 #: includes/embed-handlers/class-embed-converter.php:129 290 290 msgid "Invalid response." 291 291 msgstr "" 292 292 293 #: includes/embed-handlers/class-embed-converter.php:1 47293 #: includes/embed-handlers/class-embed-converter.php:156 294 294 msgid "Unsupported Google App URL." 295 295 msgstr "" -
custom-iframe/tags/1.0.12/readme.txt
r3314098 r3325265 4 4 Requires at least: 5.8 5 5 Tested up to: 6.8 6 Stable tag: 1.0.1 16 Stable tag: 1.0.12 7 7 Requires PHP: 7.4 8 8 License: GPL-2.0+ … … 78 78 == Screenshots == 79 79 80 1. **Widget Overview** – A look at the Custom iFrame Widget in Elementor. 81 2. **Performance Settings** – Lazy loading, auto-refresh, and advanced options. 82 3. **Style Settings** – Borders, spacing, shadows, and full customization. 80 1. Embed Any Type Of content without Limit. 81 2. **Embed Videos** – Video Player ( Youtube, Vimeo, etc.). 82 3. **Embed Social Media Posts** – X, Linkdin, Instagram, etc. 83 4. **Embed Pdfs** – Embed Downloadable PDFs. 83 84 84 85 == Frequently Asked Questions == … … 116 117 117 118 == Changelog == 119 120 = 1.0.12 (June 19, 2025) = 121 * Compatibility: Added support for **YouTube Shorts** embed. 122 * Compatibility: Added support for **Wistia Videos** embed. 123 * Compatibility: Elementor Version Free & Pro 3.30. 118 124 119 125 = 1.0.11 (June 19, 2025) = -
custom-iframe/trunk/custom-iframe-widget.php
r3314097 r3325265 4 4 * Plugin URI: https://coderzstudio.com/plugins/custom-iframe 5 5 * Description: An advanced Elementor widget to embed iFrames with customizable options. 6 * Version: 1.0.1 16 * Version: 1.0.12 7 7 * Author: Coderz Studio 8 8 * Author URI: https://coderzstudio.com/ … … 19 19 * Requires at least: 5.8 20 20 * Requires PHP: 7.4 21 * Elementor tested up to: 3. 2822 * Elementor Pro tested up to: 3. 2821 * Elementor tested up to: 3.30 22 * Elementor Pro tested up to: 3.30 23 23 */ 24 24 … … 51 51 52 52 // Define constants. 53 define( 'CUSTIF_VERSION', '1.0.1 1' );53 define( 'CUSTIF_VERSION', '1.0.12' ); 54 54 define( 'CUSTIF_URL', plugin_dir_url( __FILE__ ) ); 55 55 define( 'CUSTIF_PATH', plugin_dir_path( __FILE__ ) ); -
custom-iframe/trunk/includes/embed-handlers/class-embed-converter.php
r3272744 r3325265 23 23 * into their proper embed formats. 24 24 * 25 * @param string $url The original URL to convert. 25 * @param string $url The original URL to convert. 26 * 26 27 * @return string The converted embed URL or the original URL if invalid. 27 28 * @since 1.0.0 … … 46 47 return "https://www.youtube.com/embed/$video_id"; 47 48 } elseif ( 'youtube.com' === $host ) { 49 // Handle shorts: youtube.com/shorts/VIDEO_ID. 50 if ( strpos( $path, 'shorts/' ) === 0 ) { 51 $video_id = str_replace( 'shorts/', '', $path ); 52 53 return "https://www.youtube.com/embed/$video_id"; 54 } 55 56 // Handle normal video URLs with ?v=. 48 57 parse_str( $query, $query_params ); 49 58 $video_id = $query_params['v'] ?? ''; … … 154 163 } 155 164 165 // Wistia Embed (for any wistia.com subdomain). 166 if ( str_ends_with( $host, 'wistia.com' ) ) { 167 $parts = explode( '/', $path ); 168 if ( count( $parts ) >= 2 && 'medias' === $parts[0] ) { 169 $media_id = $parts[1]; 170 171 if ( $media_id ) { 172 return "https://fast.wistia.net/embed/iframe/{$media_id}?seo=false&videoFoam=true"; 173 } 174 } 175 } 176 156 177 return $url; // Return original if no match. 157 178 } -
custom-iframe/trunk/languages/custom-iframe.pot
r3314097 r3325265 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Custom iFrame 1.0.1 1\n"5 "Project-Id-Version: Custom iFrame 1.0.12\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/custom-iframe\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2025-0 6-18T18:37:00+00:00\n"12 "POT-Creation-Date: 2025-07-09T20:36:45+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.11.0\n" … … 287 287 msgstr "" 288 288 289 #: includes/embed-handlers/class-embed-converter.php:12 0289 #: includes/embed-handlers/class-embed-converter.php:129 290 290 msgid "Invalid response." 291 291 msgstr "" 292 292 293 #: includes/embed-handlers/class-embed-converter.php:1 47293 #: includes/embed-handlers/class-embed-converter.php:156 294 294 msgid "Unsupported Google App URL." 295 295 msgstr "" -
custom-iframe/trunk/readme.txt
r3314098 r3325265 4 4 Requires at least: 5.8 5 5 Tested up to: 6.8 6 Stable tag: 1.0.1 16 Stable tag: 1.0.12 7 7 Requires PHP: 7.4 8 8 License: GPL-2.0+ … … 78 78 == Screenshots == 79 79 80 1. **Widget Overview** – A look at the Custom iFrame Widget in Elementor. 81 2. **Performance Settings** – Lazy loading, auto-refresh, and advanced options. 82 3. **Style Settings** – Borders, spacing, shadows, and full customization. 80 1. Embed Any Type Of content without Limit. 81 2. **Embed Videos** – Video Player ( Youtube, Vimeo, etc.). 82 3. **Embed Social Media Posts** – X, Linkdin, Instagram, etc. 83 4. **Embed Pdfs** – Embed Downloadable PDFs. 83 84 84 85 == Frequently Asked Questions == … … 116 117 117 118 == Changelog == 119 120 = 1.0.12 (June 19, 2025) = 121 * Compatibility: Added support for **YouTube Shorts** embed. 122 * Compatibility: Added support for **Wistia Videos** embed. 123 * Compatibility: Elementor Version Free & Pro 3.30. 118 124 119 125 = 1.0.11 (June 19, 2025) =
Note: See TracChangeset
for help on using the changeset viewer.