Plugin Directory

Changeset 1821442


Ignore:
Timestamp:
02/13/2018 04:16:00 PM (8 years ago)
Author:
techadminsmilingvideo
Message:

1.1.5: restored videojs lib

Location:
smiling-video/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • smiling-video/trunk/js/smiling_video.js

    r1819184 r1821442  
    140140       
    141141        /* start TYPE HLS*/
    142             videojs.removePlayers();
     142            //videojs.removePlayers();
    143143            videos_hls = {};
    144144            $('.video-box.video-hls').each(function() {
  • smiling-video/trunk/js/video-js-5.19.2.js

    r1819199 r1821442  
    2377323773    }
    2377423774   
    23775 /* CLKWEB edit start */
    23776 //    // If a player instance has already been created for this ID return it.
    23777 //    if (videojs.getPlayers()[id]) {
    23778 //
    23779 //      // If options or ready funtion are passed, warn
    23780 //      if (options) {
    23781 //        _log2['default'].warn('Player "' + id + '" is already initialised. Options will not be applied.');
    23782 //      }
    23783 //
    23784 //      if (ready) {
    23785 //        videojs.getPlayers()[id].ready(ready);
    23786 //      }
    23787 //
    23788 //      return videojs.getPlayers()[id];
    23789 //    }
    23790 /* CLKWEB edit end */
    23791 
     23775    // If a player instance has already been created for this ID return it.
     23776    if (videojs.getPlayers()[id]) {
     23777
     23778      // If options or ready funtion are passed, warn
     23779      if (options) {
     23780        _log2['default'].warn('Player "' + id + '" is already initialised. Options will not be applied.');
     23781      }
     23782
     23783      if (ready) {
     23784        videojs.getPlayers()[id].ready(ready);
     23785      }
     23786
     23787      return videojs.getPlayers()[id];
     23788    }
     23789   
    2379223790    // Otherwise get element for ID
    2379323791    tag = Dom.getEl(id);
     
    2394423942
    2394523943/*CLKWEB edit start: clear players object*/
    23946     videojs.removePlayers = function () {
    23947         _player2['default'].players = {};
    23948     };
     23944//    videojs.removePlayers = function () {
     23945//        _player2['default'].players = {};
     23946//    };
    2394923947/*CLKWEB edit end*/
    2395023948
  • smiling-video/trunk/readme.txt

    r1820559 r1821442  
    9999== Changelog ==
    100100
    101 = 1.2.0 =
     101= 1.1.5 =
     102 * restored video-js lib
     103 
     104= 1.1.4 =
    102105 * added authorization for non admin users
    103106 
  • smiling-video/trunk/smiling_video.php

    r1820559 r1821442  
    88Description: Smiling.Video offers a video player and gallery with a wide catalogue of premium videos proposed by leading Content Providers of all sectors: news, sport, movie and tv series, cinema, etc
    99Videos are continuously updated in many languages: italian, english, spanish, french
    10 Version: 1.1.4
     10Version: 1.1.5
    1111Author: Smiling.video
    1212Author URI: http://smiling.video/
     
    145145}
    146146function smiling_video_add_css() {
    147     wp_register_style( 'smiling_video_style', plugins_url('css/smiling_video.css?smver=1.1.4', __FILE__));
    148     wp_register_style( 'smiling_video_csscore', plugins_url('css/video-js-5.19.2.css?smver=1.1.4', __FILE__));
     147    wp_register_style( 'smiling_video_style', plugins_url('css/smiling_video.css?smver=1.1.5', __FILE__));
     148    wp_register_style( 'smiling_video_csscore', plugins_url('css/video-js-5.19.2.css?smver=1.1.5', __FILE__));
    149149    wp_enqueue_style('smiling_video_style');
    150150    wp_enqueue_style('smiling_video_csscore');
    151151}
    152152function smiling_video_add_js() {
    153     wp_register_script( 'smiling_video_script', plugins_url('js/smiling_video.js?smver=1.1.4', __FILE__), array( 'jquery' ) );
    154     wp_register_script( 'smiling_video_script_4hls', plugins_url('js/video-js-5.19.2.js?smver=1.1.4', __FILE__));
     153    wp_register_script( 'smiling_video_script', plugins_url('js/smiling_video.js?smver=1.1.5', __FILE__), array( 'jquery' ) );
     154    wp_register_script( 'smiling_video_script_4hls', plugins_url('js/video-js-5.19.2.js?smver=1.1.5', __FILE__));
    155155    wp_register_script( 'smiling_video_script_hls_min', plugins_url('js/videojs-contrib-hls.min.js', __FILE__));
    156156    wp_enqueue_script('smiling_video_script');
     
    536536
    537537function smiling_video_enqueue_style() {
    538     wp_enqueue_style( 'smiling_video_csscore', plugins_url('css/video-js-5.19.2.css?smver=1.1.4', __FILE__), false );
    539     wp_enqueue_style( 'smiling_video_cssima', plugins_url('css/videojs.ima.css?smver=1.1.4', __FILE__), false );
    540     wp_enqueue_style( 'smiling_video_cssskin', plugins_url('css/skin-smiling-player-multicp-2.0.css?smver=1.1.4', __FILE__), false );
     538    wp_enqueue_style( 'smiling_video_csscore', plugins_url('css/video-js-5.19.2.css?smver=1.1.5', __FILE__), false );
     539    wp_enqueue_style( 'smiling_video_cssima', plugins_url('css/videojs.ima.css?smver=1.1.5', __FILE__), false );
     540    wp_enqueue_style( 'smiling_video_cssskin', plugins_url('css/skin-smiling-player-multicp-2.0.css?smver=1.1.5', __FILE__), false );
    541541    wp_enqueue_style( 'smiling_video_cssgoogleapisfont', plugins_url('css/Quicksand.css', __FILE__), false );
    542542}
    543543
    544544function smiling_video_enqueue_script() {
    545     wp_enqueue_script( 'smiling_video_jscommon', plugins_url('js/sm-common-func.js?smver=1.1.4', __FILE__), false );
     545    wp_enqueue_script( 'smiling_video_jscommon', plugins_url('js/sm-common-func.js?smver=1.1.5', __FILE__), false );
    546546}
    547547
Note: See TracChangeset for help on using the changeset viewer.