Plugin Directory

Changeset 2260618


Ignore:
Timestamp:
03/13/2020 03:52:43 PM (6 years ago)
Author:
applixir
Message:

fixed player positioning

Location:
applixir/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applixir/trunk/inc/class-applixir-restriction.php

    r2249112 r2260618  
    1111
    1212        add_shortcode('insert-AppLixir', '__return_empty_string');
    13         add_action('wp_footer', array( $this, 'update_counter'));
     13        add_action('wp_footer', array( $this, 'insert_ad_div'), 9999999);
    1414    }
    1515
     
    5252
    5353
    54         $message  = '<div id="applixir_vanishing_div" hidden>
    55                         <iframe id="applixir_parent" allow="autoplay"></iframe>
    56                     </div>';
    57         $message  .= '<script>';
     54
     55        $message  = '<script>';
    5856        $message .=' var applixir_settings ='.json_encode($settings);
    5957
     
    112110
    113111    }
     112
     113    function insert_ad_div(){
     114        $message  = '<div id="applixir_vanishing_div" hidden>
     115        <iframe id="applixir_parent" allow="autoplay"></iframe>
     116    </div>';
     117    echo $message;
     118
     119    }
    114120}
    115121new Applixir_Restriction();
  • applixir/trunk/readme.txt

    r2249112 r2260618  
    55Tested up to: 5.3
    66Requires PHP: 5.6
    7 Stable tag: 1.0
     7Stable tag: 1.1
    88License: GPL3
    99
     
    3535
    3636== Changelog ==
     371.1
     38Fixed player positioning
     39
    37401.0
    3841Initial launch
Note: See TracChangeset for help on using the changeset viewer.