Plugin Directory

Changeset 3381618


Ignore:
Timestamp:
10/21/2025 05:09:50 AM (4 months ago)
Author:
azplugins
Message:

Update to version 2.1.4 from GitHub

Location:
az-video-and-audio-player-addon-for-elementor
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • az-video-and-audio-player-addon-for-elementor/tags/2.1.4/includes/class-assets-manager.php

    r3367863 r3381618  
    126126
    127127    /**
     128     * Get admin screens allowed for asset loading
     129     * Single source of truth for admin asset loading
     130     *
     131     * @return array Array of admin screen hook suffixes where assets are allowed
     132     */
     133    private function get_admin_screens_allowed_for_assets() {
     134        return array(
     135            'toplevel_page_vapfem-guide',              // Main menu: Video & Audio Player Guide
     136            'video-audio-player_page_vapfem-hire-me',  // Submenu: Hire Me page
     137        );
     138    }
     139
     140    /**
    128141     * Register admin-specific assets
    129      */
    130     public function register_admin_assets() {
     142     * Only loads on plugin's own admin pages for better performance
     143     *
     144     * @param string $hook The current admin page hook suffix
     145     */
     146    public function register_admin_assets($hook) {
     147        // Check if we're on an allowed admin screen
     148        if (!in_array($hook, $this->get_admin_screens_allowed_for_assets())) {
     149            return; // Exit early if not our page
     150        }
     151
     152        // Register admin styles
    131153        wp_register_style(
    132154            'vapfem-admin',
     
    136158        );
    137159
     160        // Register admin scripts
    138161        wp_register_script(
    139162            'vapfem-admin',
     
    143166            true
    144167        );
     168
     169        // Enqueue registered assets
     170        wp_enqueue_style('vapfem-admin');
     171        wp_enqueue_script('vapfem-admin');
    145172    }
    146173
  • az-video-and-audio-player-addon-for-elementor/tags/2.1.4/includes/class-settings-page.php

    r3365547 r3381618  
    4747     */
    4848    public function render_guide_page() {
    49         wp_enqueue_style('vapfem-admin');
    50         wp_enqueue_script('vapfem-admin');
    5149        ?>
    5250        <div class="wrap vapfem-admin">
     
    7977     */
    8078    public function render_hire_me_page() {
    81         wp_enqueue_style('vapfem-admin');
    82         wp_enqueue_script('vapfem-admin');
    83 
    8479        include VAPFEM_DIR . '/includes/views/html-hire-page.php';
    8580    }
  • az-video-and-audio-player-addon-for-elementor/tags/2.1.4/plugin-main.php

    r3379675 r3381618  
    22/**
    33Plugin Name: AZ Video and Audio Player for Elementor, Gutenberg & Classic Editor
    4 Plugin URI:
     4Plugin URI: https://leanplugins.com/
    55Description: Video & Audio player for Elementor, Gutenberg & Classic Editor
    6 Version: 2.1.3
     6Version: 2.1.4
    77Author: AZ Plugins
    8 Author URI:
     8Author URI: https://leanplugins.com/
    99License: GPLv2
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    2020 * Define path
    2121 */
    22 define( 'VAPFEM_VERSION', '2.1.3' );
     22define( 'VAPFEM_VERSION', '2.1.4' );
    2323define( 'VAPFEM_URI', plugins_url('', __FILE__) );
    2424define( 'VAPFEM_DIR', dirname( __FILE__ ) );
  • az-video-and-audio-player-addon-for-elementor/tags/2.1.4/readme.txt

    r3379675 r3381618  
    55Tested up to: 6.8
    66Requires PHP: 7.4
    7 Stable tag: 2.1.3
     7Stable tag: 2.1.4
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1313== Description ==
    1414"AZ Video and Audio Player for Elementor, Gutenberg and Classic Editor" - is a simple, lightweight and customizable HTML5, YouTube, Vimeo & mp3 media player that supports all devices. It supports all the major file formats for audio & video. Included audio & video player widget / addon and shortcode support that has lots of customization optios, using those options you can change the player settings how you want.
     15
     16👉 [Live Demo](https://demo.leanplugins.com/video-and-audio-player/)
    1517
    1618== Features: ==
     
    7274
    7375== Changelog ==
     76= Version: 2.1.4 =
     77* Fixed: Flush of Unstyled Content (FOUC) issue on admin pages
     78
    7479= Version: 2.1.3 =
    7580* Security: Improved output escaping in admin notices
  • az-video-and-audio-player-addon-for-elementor/trunk/includes/class-assets-manager.php

    r3367863 r3381618  
    126126
    127127    /**
     128     * Get admin screens allowed for asset loading
     129     * Single source of truth for admin asset loading
     130     *
     131     * @return array Array of admin screen hook suffixes where assets are allowed
     132     */
     133    private function get_admin_screens_allowed_for_assets() {
     134        return array(
     135            'toplevel_page_vapfem-guide',              // Main menu: Video & Audio Player Guide
     136            'video-audio-player_page_vapfem-hire-me',  // Submenu: Hire Me page
     137        );
     138    }
     139
     140    /**
    128141     * Register admin-specific assets
    129      */
    130     public function register_admin_assets() {
     142     * Only loads on plugin's own admin pages for better performance
     143     *
     144     * @param string $hook The current admin page hook suffix
     145     */
     146    public function register_admin_assets($hook) {
     147        // Check if we're on an allowed admin screen
     148        if (!in_array($hook, $this->get_admin_screens_allowed_for_assets())) {
     149            return; // Exit early if not our page
     150        }
     151
     152        // Register admin styles
    131153        wp_register_style(
    132154            'vapfem-admin',
     
    136158        );
    137159
     160        // Register admin scripts
    138161        wp_register_script(
    139162            'vapfem-admin',
     
    143166            true
    144167        );
     168
     169        // Enqueue registered assets
     170        wp_enqueue_style('vapfem-admin');
     171        wp_enqueue_script('vapfem-admin');
    145172    }
    146173
  • az-video-and-audio-player-addon-for-elementor/trunk/includes/class-settings-page.php

    r3365547 r3381618  
    4747     */
    4848    public function render_guide_page() {
    49         wp_enqueue_style('vapfem-admin');
    50         wp_enqueue_script('vapfem-admin');
    5149        ?>
    5250        <div class="wrap vapfem-admin">
     
    7977     */
    8078    public function render_hire_me_page() {
    81         wp_enqueue_style('vapfem-admin');
    82         wp_enqueue_script('vapfem-admin');
    83 
    8479        include VAPFEM_DIR . '/includes/views/html-hire-page.php';
    8580    }
  • az-video-and-audio-player-addon-for-elementor/trunk/plugin-main.php

    r3379675 r3381618  
    22/**
    33Plugin Name: AZ Video and Audio Player for Elementor, Gutenberg & Classic Editor
    4 Plugin URI:
     4Plugin URI: https://leanplugins.com/
    55Description: Video & Audio player for Elementor, Gutenberg & Classic Editor
    6 Version: 2.1.3
     6Version: 2.1.4
    77Author: AZ Plugins
    8 Author URI:
     8Author URI: https://leanplugins.com/
    99License: GPLv2
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    2020 * Define path
    2121 */
    22 define( 'VAPFEM_VERSION', '2.1.3' );
     22define( 'VAPFEM_VERSION', '2.1.4' );
    2323define( 'VAPFEM_URI', plugins_url('', __FILE__) );
    2424define( 'VAPFEM_DIR', dirname( __FILE__ ) );
  • az-video-and-audio-player-addon-for-elementor/trunk/readme.txt

    r3379675 r3381618  
    55Tested up to: 6.8
    66Requires PHP: 7.4
    7 Stable tag: 2.1.3
     7Stable tag: 2.1.4
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1313== Description ==
    1414"AZ Video and Audio Player for Elementor, Gutenberg and Classic Editor" - is a simple, lightweight and customizable HTML5, YouTube, Vimeo & mp3 media player that supports all devices. It supports all the major file formats for audio & video. Included audio & video player widget / addon and shortcode support that has lots of customization optios, using those options you can change the player settings how you want.
     15
     16👉 [Live Demo](https://demo.leanplugins.com/video-and-audio-player/)
    1517
    1618== Features: ==
     
    7274
    7375== Changelog ==
     76= Version: 2.1.4 =
     77* Fixed: Flush of Unstyled Content (FOUC) issue on admin pages
     78
    7479= Version: 2.1.3 =
    7580* Security: Improved output escaping in admin notices
Note: See TracChangeset for help on using the changeset viewer.