Plugin Directory

Changeset 2801058


Ignore:
Timestamp:
10/19/2022 07:58:06 AM (3 years ago)
Author:
VBog
Message:

Version 1.4.4

Location:
bg-rutube-embed
Files:
15 added
3 edited

Legend:

Unmodified
Added
Removed
  • bg-rutube-embed/trunk/bg-rutube.php

    r2790474 r2801058  
    44    Plugin URI: http://bogaiskov.ru/plugin-bg-rutube-embed/
    55    Description: The plugin is the easiest way to embed RuTube videos in WordPress.
    6     Version: 1.4.3
     6    Version: 1.4.4
    77    Author: VBog
    88    Author URI: http://bogaiskov.ru
     
    3939    die( 'Sorry, you are not allowed to access this page directly.' );
    4040}
    41 define('BG_RUTUBE_VERSION', '1.4.3');
     41define('BG_RUTUBE_VERSION', '1.4.4');
    4242
    4343// Подключаем CSS и JS
  • bg-rutube-embed/trunk/js/bg_rutube.js

    r2790474 r2801058  
    2222        // Следующий фильм
    2323            jQuery('#bg_rutube_next_movie'+uuid).click(function(){
    24                 var movieID = jQuery('iframe#bg_rutube_player'+uuid).attr('src').replace(rutube_url,'');
     24//              var movieID = jQuery('iframe#bg_rutube_player'+uuid).attr('src').replace(rutube_url,'');
     25                var movieID = jQuery('div#bg_rutube_playlistContainer'+uuid).attr('data-movie');
    2526                var el = bg_rutube_findMovie(movieID, uuid);
    2627                if (el === false) return false;
     
    3233        // Предыдущий фильм
    3334            jQuery('#bg_rutube_prev_movie'+uuid).click(function(){
    34                 var movieID = jQuery('iframe#bg_rutube_player'+uuid).attr('src').replace(rutube_url,'');
     35//              var movieID = jQuery('iframe#bg_rutube_player'+uuid).attr('src').replace(rutube_url,'');
     36                var movieID = jQuery('div#bg_rutube_playlistContainer'+uuid).attr('data-movie');
    3537                var el = bg_rutube_findMovie(movieID, uuid);
    3638                if (el === false) return false;
     
    6365            movieID = el.first().attr('data-movie');
    6466            jQuery('iframe#bg_rutube_player'+uuid).attr('src',rutube_url+movieID);
     67            jQuery('div#bg_rutube_playlistContainer'+uuid).attr('data-movie',movieID);
    6568        // Перемещаемся вверх к фрейму. Фрейм по центру экрана
    6669            var margin = (jQuery(window).height() - jQuery('iframe#bg_rutube_player'+uuid).height())/2;
  • bg-rutube-embed/trunk/readme.txt

    r2790476 r2801058  
    66Requires PHP: 5.3
    77Requires at least: 3.0.1
    8 Tested up to: 6.0.2
    9 Stable tag: 1.4.3
     8Tested up to: 6.0.3
     9Stable tag: 1.4.4
    1010License: GPLv2
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4545
    4646== Changelog ==
     47
     48= 1.4.4 =
     49
     50* Fixed: don't work Next and Previous buttons on the start.
    4751
    4852= 1.4.2-3 =
Note: See TracChangeset for help on using the changeset viewer.