Plugin Directory

Changeset 3243550


Ignore:
Timestamp:
02/20/2025 12:56:56 AM (13 months ago)
Author:
wonderplugin
Message:

Version 2.4

Location:
wonderplugin-video-embed/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • wonderplugin-video-embed/trunk/app/class-wonderplugin-videoembed-widgetview.php

    r3233644 r3243550  
    340340       
    341341                   
    342         return wp_kses_post($content);
    343     }
    344    
     342        return $this->wpve_wp_kses($content);
     343    }
     344   
     345    function wpve_wp_kses($content) {
     346
     347        $allowed_tags = wp_kses_allowed_html('post');
     348   
     349        $allowed_tags['iframe'] = [
     350            'class'           => true,
     351            'width'           => true,
     352            'height'          => true,
     353            'src'             => true,
     354            'frameborder'     => true,
     355            'allowfullscreen' => true,
     356        ];
     357   
     358        return wp_kses($content, $allowed_tags);
     359    }
     360
    345361    function show_widgetfront($args, $instance) {
    346362       
  • wonderplugin-video-embed/trunk/app/wonderplugin-videoembed-creator.js

    r3233644 r3243550  
    22 * Copyright 2025 Magic Hills Pty Ltd All Rights Reserved
    33 * Website: https://www.wonderplugin.com
    4  * Version 2.3
     4 * Version 2.4
    55 */
    66(function($){$(document).ready(function(){$(document).on("click",".wpve-tab-label",function(){var parent_con=$(this).closest(".wpve-tab-container");parent_con.find(".wpve-tab-label").removeClass("wpve-tab-label-selected");$(this).addClass("wpve-tab-label-selected");parent_con.find(".wpve-tab-content").removeClass("wpve-tab-content-selected");parent_con.find("."+$(this).data("contentclass")).addClass("wpve-tab-content-selected");window.wpve_activetab=$(this).data("contentclass")});$(document).on("widget-updated",
  • wonderplugin-video-embed/trunk/app/wonderplugin-videoembed-mce.js

    r3233644 r3243550  
    22 * Copyright 2025 Magic Hills Pty Ltd All Rights Reserved
    33 * Website: https://www.wonderplugin.com
    4  * Version 2.3
     4 * Version 2.4
    55 */
    66(function($){tinymce.PluginManager.add("wpve_mce_button",function(editor,url){editor.addButton("wpve_mce_button",{text:" Video",title:"Wonder Video Embed",icon:true,image:url+"/logo-72.png",onclick:function(){wpve_options_form(editor)}})});function get_url_arams(href){var result={};if(href.indexOf("?")<0)return result;var params=href.substring(href.indexOf("?")+1).split("&");for(var i=0;i<params.length;i++){var value=params[i].split("=");if(value&&value.length==2&&value[0].toLowerCase()!="v")result[value[0].toLowerCase()]=
  • wonderplugin-video-embed/trunk/engine/wonderpluginvideoembed.js

    r3233644 r3243550  
    22 * Copyright 2025 Magic Hills Pty Ltd All Rights Reserved
    33 * Website: https://www.wonderplugin.com
    4  * Version 2.3
     4 * Version 2.4
    55 */
    66(function($){$(document).ready(function(){$("head").append('<style type="text/css">.wonderplugin-video,.wonderplugin-video * {box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;}</style>');$(".wonderplugin-videoembed-engine").hide();$(".wonderplugin-video").each(function(index){var inst=this;inst.options={stamp:false,videohidecontrols:false,videohideplaybutton:false,nativehtml5controls:false,nativecontrolsonfirefox:false,nativecontrolsonie:false,nativecontrolsoniphone:true,
  • wonderplugin-video-embed/trunk/readme.txt

    r3233644 r3243550  
    44Donate link: https://www.wonderplugin.com/wordpress-video-player/
    55Requires at least: 3.6
    6 Tested up to: 6.7.1
     6Tested up to: 6.7.2
    77Stable tag: trunk
    88License: GPLv2 or later
     
    6868== Changelog ==
    6969
     70= 2.4 =
     71* Fix an issue when embedding iframe videos
     72
    7073= 2.3 =
    7174* Fix an issue when matching JavaScript keywords
  • wonderplugin-video-embed/trunk/wonderpluginvideoembed.php

    r3233644 r3243550  
    44Plugin URI: https://www.wonderplugin.com/wordpress-video-player/
    55Description: WordPress Video Embed Plugin & Widget
    6 Version: 2.3
     6Version: 2.4
    77Author: Magic Hills Pty Ltd
    88Author URI: https://www.wonderplugin.com
     
    1515    return;
    1616
    17 define('WONDERPLUGIN_VIDEOEMBED_VERSION', '2.3');
     17define('WONDERPLUGIN_VIDEOEMBED_VERSION', '2.4');
    1818define('WONDERPLUGIN_VIDEOEMBED_URL', plugin_dir_url( __FILE__ ));
    1919define('WONDERPLUGIN_VIDEOEMBED_PATH', plugin_dir_path( __FILE__ ));
    2020define('WONDERPLUGIN_VIDEOEMBED_PLUGIN', basename(dirname(__FILE__)) . '/' . basename(__FILE__));
    21 define('WONDERPLUGIN_VIDEOEMBED_PLUGIN_VERSION', '2.3');
     21define('WONDERPLUGIN_VIDEOEMBED_PLUGIN_VERSION', '2.4');
    2222
    2323require_once 'app/class-wonderplugin-videoembed-controller.php';
Note: See TracChangeset for help on using the changeset viewer.