Plugin Directory

Changeset 3325265


Ignore:
Timestamp:
07/09/2025 09:25:36 PM (6 months ago)
Author:
coderzstudio
Message:

release version 1.0.12

Location:
custom-iframe
Files:
4 added
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • custom-iframe/tags/1.0.12/custom-iframe-widget.php

    r3314097 r3325265  
    44 * Plugin URI: https://coderzstudio.com/plugins/custom-iframe
    55 * Description: An advanced Elementor widget to embed iFrames with customizable options.
    6  * Version: 1.0.11
     6 * Version: 1.0.12
    77 * Author: Coderz Studio
    88 * Author URI: https://coderzstudio.com/
     
    1919 * Requires at least: 5.8
    2020 * Requires PHP: 7.4
    21  * Elementor tested up to: 3.28
    22  * Elementor Pro tested up to: 3.28
     21 * Elementor tested up to: 3.30
     22 * Elementor Pro tested up to: 3.30
    2323 */
    2424
     
    5151
    5252// Define constants.
    53 define( 'CUSTIF_VERSION', '1.0.11' );
     53define( 'CUSTIF_VERSION', '1.0.12' );
    5454define( 'CUSTIF_URL', plugin_dir_url( __FILE__ ) );
    5555define( 'CUSTIF_PATH', plugin_dir_path( __FILE__ ) );
  • custom-iframe/tags/1.0.12/includes/embed-handlers/class-embed-converter.php

    r3272744 r3325265  
    2323     * into their proper embed formats.
    2424     *
    25      * @param string $url The original URL to convert.
     25     * @param  string $url  The original URL to convert.
     26     *
    2627     * @return string The converted embed URL or the original URL if invalid.
    2728     * @since 1.0.0
     
    4647            return "https://www.youtube.com/embed/$video_id";
    4748        } 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=.
    4857            parse_str( $query, $query_params );
    4958            $video_id = $query_params['v'] ?? '';
     
    154163        }
    155164
     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
    156177        return $url; // Return original if no match.
    157178    }
  • custom-iframe/tags/1.0.12/languages/custom-iframe.pot

    r3314097 r3325265  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Custom iFrame 1.0.11\n"
     5"Project-Id-Version: Custom iFrame 1.0.12\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/custom-iframe\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2025-06-18T18:37:00+00:00\n"
     12"POT-Creation-Date: 2025-07-09T20:36:45+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.11.0\n"
     
    287287msgstr ""
    288288
    289 #: includes/embed-handlers/class-embed-converter.php:120
     289#: includes/embed-handlers/class-embed-converter.php:129
    290290msgid "Invalid response."
    291291msgstr ""
    292292
    293 #: includes/embed-handlers/class-embed-converter.php:147
     293#: includes/embed-handlers/class-embed-converter.php:156
    294294msgid "Unsupported Google App URL."
    295295msgstr ""
  • custom-iframe/tags/1.0.12/readme.txt

    r3314098 r3325265  
    44Requires at least: 5.8
    55Tested up to: 6.8
    6 Stable tag: 1.0.11
     6Stable tag: 1.0.12
    77Requires PHP: 7.4
    88License: GPL-2.0+
     
    7878== Screenshots ==
    7979
    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.
     801. Embed Any Type Of content without Limit.
     812. **Embed Videos** – Video Player ( Youtube, Vimeo, etc.).
     823. **Embed Social Media Posts** – X, Linkdin, Instagram, etc.
     834. **Embed Pdfs** – Embed Downloadable PDFs.
    8384
    8485== Frequently Asked Questions ==
     
    116117
    117118== 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.
    118124
    119125= 1.0.11 (June 19, 2025) =
  • custom-iframe/trunk/custom-iframe-widget.php

    r3314097 r3325265  
    44 * Plugin URI: https://coderzstudio.com/plugins/custom-iframe
    55 * Description: An advanced Elementor widget to embed iFrames with customizable options.
    6  * Version: 1.0.11
     6 * Version: 1.0.12
    77 * Author: Coderz Studio
    88 * Author URI: https://coderzstudio.com/
     
    1919 * Requires at least: 5.8
    2020 * Requires PHP: 7.4
    21  * Elementor tested up to: 3.28
    22  * Elementor Pro tested up to: 3.28
     21 * Elementor tested up to: 3.30
     22 * Elementor Pro tested up to: 3.30
    2323 */
    2424
     
    5151
    5252// Define constants.
    53 define( 'CUSTIF_VERSION', '1.0.11' );
     53define( 'CUSTIF_VERSION', '1.0.12' );
    5454define( 'CUSTIF_URL', plugin_dir_url( __FILE__ ) );
    5555define( 'CUSTIF_PATH', plugin_dir_path( __FILE__ ) );
  • custom-iframe/trunk/includes/embed-handlers/class-embed-converter.php

    r3272744 r3325265  
    2323     * into their proper embed formats.
    2424     *
    25      * @param string $url The original URL to convert.
     25     * @param  string $url  The original URL to convert.
     26     *
    2627     * @return string The converted embed URL or the original URL if invalid.
    2728     * @since 1.0.0
     
    4647            return "https://www.youtube.com/embed/$video_id";
    4748        } 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=.
    4857            parse_str( $query, $query_params );
    4958            $video_id = $query_params['v'] ?? '';
     
    154163        }
    155164
     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
    156177        return $url; // Return original if no match.
    157178    }
  • custom-iframe/trunk/languages/custom-iframe.pot

    r3314097 r3325265  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Custom iFrame 1.0.11\n"
     5"Project-Id-Version: Custom iFrame 1.0.12\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/custom-iframe\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2025-06-18T18:37:00+00:00\n"
     12"POT-Creation-Date: 2025-07-09T20:36:45+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.11.0\n"
     
    287287msgstr ""
    288288
    289 #: includes/embed-handlers/class-embed-converter.php:120
     289#: includes/embed-handlers/class-embed-converter.php:129
    290290msgid "Invalid response."
    291291msgstr ""
    292292
    293 #: includes/embed-handlers/class-embed-converter.php:147
     293#: includes/embed-handlers/class-embed-converter.php:156
    294294msgid "Unsupported Google App URL."
    295295msgstr ""
  • custom-iframe/trunk/readme.txt

    r3314098 r3325265  
    44Requires at least: 5.8
    55Tested up to: 6.8
    6 Stable tag: 1.0.11
     6Stable tag: 1.0.12
    77Requires PHP: 7.4
    88License: GPL-2.0+
     
    7878== Screenshots ==
    7979
    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.
     801. Embed Any Type Of content without Limit.
     812. **Embed Videos** – Video Player ( Youtube, Vimeo, etc.).
     823. **Embed Social Media Posts** – X, Linkdin, Instagram, etc.
     834. **Embed Pdfs** – Embed Downloadable PDFs.
    8384
    8485== Frequently Asked Questions ==
     
    116117
    117118== 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.
    118124
    119125= 1.0.11 (June 19, 2025) =
Note: See TracChangeset for help on using the changeset viewer.