Changeset 1335330
- Timestamp:
- 01/25/2016 07:47:06 AM (10 years ago)
- Location:
- vod-infomaniak/trunk
- Files:
-
- 3 edited
-
readme.txt (modified) (2 diffs)
-
vod.class.php (modified) (3 diffs)
-
vod.template.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
vod-infomaniak/trunk/readme.txt
r1273766 r1335330 6 6 Requires at least: 2.8.6 7 7 Tested up to: 4.3.1 8 Stable tag: 1.3. 48 Stable tag: 1.3.5 9 9 10 10 … … 72 72 73 73 == Changelog == 74 75 = 1.3.5 (25/01/2016) = 76 * Prise en compte HTTPS si besoin 74 77 75 78 = 1.3.4 (27/09/2015) = -
vod-infomaniak/trunk/vod.class.php
r1273766 r1335330 6 6 * @author Destrem Kevin + Davide Rubini + Arnaud Toullieux 7 7 * @link http://statslive.infomaniak.ch/vod/api/ 8 * @version 1.3. 48 * @version 1.3.5 9 9 * @copyright infomaniak.ch 10 10 */ … … 16 16 17 17 class EasyVod { 18 public $version = "1.3. 3";18 public $version = "1.3.5"; 19 19 private $local_version; 20 20 private $plugin_url; … … 328 328 //Recuperation des differents parametres 329 329 $iVod = $this->options['vod_api_icodeservice']; 330 $sUrl = "http://vod.infomaniak.com/iframe.php"; 330 if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == "on") { 331 $sProtocol = "https"; 332 }else{ 333 $sProtocol = "http"; 334 } 335 336 $sUrl = $sProtocol."://vod.infomaniak.com/iframe.php"; 337 331 338 $sAccountBase = $this->options['vod_api_id']; 332 339 $sKey = ""; -
vod-infomaniak/trunk/vod.template.php
r1211783 r1335330 333 333 <h2><?php _e('Administration du plugin VOD', 'vod_infomaniak'); ?></h2> 334 334 335 <iframe frameborder="0" width="512" height="384" src="http ://vod.infomaniak.com/iframe.php?url=https://vod.infomaniak.com/redirect/faq_vod/racine-1594/mp4-319/1539_72_1397483621_2934.mp4&duration=&player=299&vod=86&preloadImage=https://vod.infomaniak.com/redirect/faq_vod/racine-1594/mp4-319/1539_72_1397483621_2934.jpg?1438234073197&lg=fr&wmode=direct"></iframe>335 <iframe frameborder="0" width="512" height="384" src="https://vod.infomaniak.com/iframe.php?url=https://vod.infomaniak.com/redirect/faq_vod/racine-1594/mp4-319/1539_72_1397483621_2934.mp4&duration=&player=299&vod=86&preloadImage=https://vod.infomaniak.com/redirect/faq_vod/racine-1594/mp4-319/1539_72_1397483621_2934.jpg?1438234073197&lg=fr&wmode=direct"></iframe> 336 336 337 337 <form name="adminForm" action="<?php echo $action_url; ?>" method="post"> … … 1080 1080 jQuery("#dialog-modal-admin").attr("href", "https://statslive.infomaniak.com/vod/videoDetail.php/g<?php echo $aOptions['vod_api_group'];?>s7i<?php echo $aOptions['vod_api_icodeservice'];?>?iFileCode=" + iVideo); 1081 1081 jQuery("#dialog-modal-admin2").attr("href", "https://statslive.infomaniak.com/vod/videoDetail.php/g<?php echo $aOptions['vod_api_group'];?>s7i<?php echo $aOptions['vod_api_icodeservice'];?>?iFileCode=" + iVideo + "&tab=2"); 1082 jQuery("#dialog-modal-video").attr("src", "http ://vod.infomaniak.com/iframe.php?url=" + urlComplete + "." + sExtension + sParam + "&player=576&vod=214&preloadImage=" + urlComplete + ".jpg");1082 jQuery("#dialog-modal-video").attr("src", "https://vod.infomaniak.com/iframe.php?url=" + urlComplete + "." + sExtension + sParam + "&player=576&vod=214&preloadImage=" + urlComplete + ".jpg"); 1083 1083 1084 1084 textAccess = ""; … … 1284 1284 console.log(value); 1285 1285 jQuery('#player-info-' + value).show(); 1286 jQuery("#player-demo-video").attr("src", "http ://vod.infomaniak.com/iframe.php?url=infomaniak_11_vod/demo-2362/mp4-226/big_buck_bunny_720p_h264.mp4&player=" + value + "&vod=<?php echo $aOptions['vod_api_icodeservice'];?>&preloadImage=infomaniak_11_vod/demo-2362/mp4-226/big_buck_bunny_720p_h264.jpg");1286 jQuery("#player-demo-video").attr("src", "https://vod.infomaniak.com/iframe.php?url=infomaniak_11_vod/demo-2362/mp4-226/big_buck_bunny_720p_h264.mp4&player=" + value + "&vod=<?php echo $aOptions['vod_api_icodeservice'];?>&preloadImage=infomaniak_11_vod/demo-2362/mp4-226/big_buck_bunny_720p_h264.jpg"); 1287 1287 } 1288 1288 PlayerInfo();
Note: See TracChangeset
for help on using the changeset viewer.