Changeset 1821442
- Timestamp:
- 02/13/2018 04:16:00 PM (8 years ago)
- Location:
- smiling-video/trunk
- Files:
-
- 4 edited
-
js/smiling_video.js (modified) (1 diff)
-
js/video-js-5.19.2.js (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
-
smiling_video.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
smiling-video/trunk/js/smiling_video.js
r1819184 r1821442 140 140 141 141 /* start TYPE HLS*/ 142 videojs.removePlayers();142 //videojs.removePlayers(); 143 143 videos_hls = {}; 144 144 $('.video-box.video-hls').each(function() { -
smiling-video/trunk/js/video-js-5.19.2.js
r1819199 r1821442 23773 23773 } 23774 23774 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 23792 23790 // Otherwise get element for ID 23793 23791 tag = Dom.getEl(id); … … 23944 23942 23945 23943 /*CLKWEB edit start: clear players object*/ 23946 videojs.removePlayers = function () {23947 _player2['default'].players = {};23948 };23944 // videojs.removePlayers = function () { 23945 // _player2['default'].players = {}; 23946 // }; 23949 23947 /*CLKWEB edit end*/ 23950 23948 -
smiling-video/trunk/readme.txt
r1820559 r1821442 99 99 == Changelog == 100 100 101 = 1.2.0 = 101 = 1.1.5 = 102 * restored video-js lib 103 104 = 1.1.4 = 102 105 * added authorization for non admin users 103 106 -
smiling-video/trunk/smiling_video.php
r1820559 r1821442 8 8 Description: 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 9 9 Videos are continuously updated in many languages: italian, english, spanish, french 10 Version: 1.1. 410 Version: 1.1.5 11 11 Author: Smiling.video 12 12 Author URI: http://smiling.video/ … … 145 145 } 146 146 function 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__)); 149 149 wp_enqueue_style('smiling_video_style'); 150 150 wp_enqueue_style('smiling_video_csscore'); 151 151 } 152 152 function 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__)); 155 155 wp_register_script( 'smiling_video_script_hls_min', plugins_url('js/videojs-contrib-hls.min.js', __FILE__)); 156 156 wp_enqueue_script('smiling_video_script'); … … 536 536 537 537 function 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 ); 541 541 wp_enqueue_style( 'smiling_video_cssgoogleapisfont', plugins_url('css/Quicksand.css', __FILE__), false ); 542 542 } 543 543 544 544 function 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 ); 546 546 } 547 547
Note: See TracChangeset
for help on using the changeset viewer.