Version Description
(28/07/2020) = * Correction de bugs lis l'utilisation du plugin sur un site https (upload de videos)
Download this release
Release Info
Developer | infomaniak-dev |
Plugin | VOD Infomaniak |
Version | 1.4.3 |
Comparing to | |
See all releases |
Code changes from version 1.4.2 to 1.4.3
- readme.txt +4 -1
- vod.class.php +2 -2
- vod.php +1 -1
- vod.template.php +9 -9
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Plugin Name: Vod Infomaniak
|
|
5 |
Tags: video, manage, infomaniak, vod
|
6 |
Requires at least: 2.8.6
|
7 |
Tested up to: 4.3.1
|
8 |
-
Stable tag: 1.4.
|
9 |
|
10 |
|
11 |
|
@@ -73,6 +73,9 @@ Si vous ne trouvez pas de solution à votre question, vous pouvez aussi nous con
|
|
73 |
|
74 |
== Changelog ==
|
75 |
|
|
|
|
|
|
|
76 |
= 1.4.2 (11/09/2019) =
|
77 |
* Correction de bugs
|
78 |
|
5 |
Tags: video, manage, infomaniak, vod
|
6 |
Requires at least: 2.8.6
|
7 |
Tested up to: 4.3.1
|
8 |
+
Stable tag: 1.4.3
|
9 |
|
10 |
|
11 |
|
73 |
|
74 |
== Changelog ==
|
75 |
|
76 |
+
= 1.4.3 (28/07/2020) =
|
77 |
+
* Correction de bugs liés à l'utilisation du plugin sur un site https (upload de videos)
|
78 |
+
|
79 |
= 1.4.2 (11/09/2019) =
|
80 |
* Correction de bugs
|
81 |
|
vod.class.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
*
|
6 |
* @author Destrem Kevin + Davide Rubini + Arnaud Toullieux
|
7 |
* @link http://statslive.infomaniak.ch/vod/api/
|
8 |
-
* @version 1.4.
|
9 |
* @copyright infomaniak.ch
|
10 |
*/
|
11 |
define('VOD_RIGHT_CONTRIBUTOR', 1);
|
@@ -14,7 +14,7 @@
|
|
14 |
define('VOD_RIGHT_ADMIN', 4);
|
15 |
|
16 |
class EasyVod {
|
17 |
-
public $version = "1.4.
|
18 |
private $local_version;
|
19 |
private $plugin_url;
|
20 |
private $options;
|
5 |
*
|
6 |
* @author Destrem Kevin + Davide Rubini + Arnaud Toullieux
|
7 |
* @link http://statslive.infomaniak.ch/vod/api/
|
8 |
+
* @version 1.4.3
|
9 |
* @copyright infomaniak.ch
|
10 |
*/
|
11 |
define('VOD_RIGHT_CONTRIBUTOR', 1);
|
14 |
define('VOD_RIGHT_ADMIN', 4);
|
15 |
|
16 |
class EasyVod {
|
17 |
+
public $version = "1.4.3";
|
18 |
private $local_version;
|
19 |
private $plugin_url;
|
20 |
private $options;
|
vod.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/vod-infomaniak/
|
5 |
Description: Easily embed and manage videos from Infomaniak VOD in your posts, comments and RSS feeds. You need an Infomaniak VOD account to use this plugin.
|
6 |
Author: Infomaniak Staff
|
7 |
-
Version: 1.4.
|
8 |
Author URI: http://infomaniak.com
|
9 |
*/
|
10 |
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/vod-infomaniak/
|
5 |
Description: Easily embed and manage videos from Infomaniak VOD in your posts, comments and RSS feeds. You need an Infomaniak VOD account to use this plugin.
|
6 |
Author: Infomaniak Staff
|
7 |
+
Version: 1.4.3
|
8 |
Author URI: http://infomaniak.com
|
9 |
*/
|
10 |
|
vod.template.php
CHANGED
@@ -4,8 +4,8 @@
|
|
4 |
* En cas de problemes ou de questions, veuillez contacter support-vod-wordpress@infomaniak.ch
|
5 |
*
|
6 |
* @author Destrem Kevin + Davide Rubini
|
7 |
-
* @link
|
8 |
-
* @version 1.
|
9 |
* @copyright infomaniak.ch
|
10 |
*
|
11 |
*/
|
@@ -36,7 +36,7 @@
|
|
36 |
<div style="padding-left: 20px;">
|
37 |
<strong><?php _e('Exemple', 'vod_infomaniak'); ?>:</strong>
|
38 |
<ul id="dialog-exemple">
|
39 |
-
<li><?php _e('Url complete', 'vod_infomaniak'); ?>: <code>
|
40 |
<li><?php _e('Url partiel', 'vod_infomaniak'); ?>: <code>folder-234/mp4-148/video.mp4</code></li>
|
41 |
<li><?php _e('Identifiant de playlist', 'vod_infomaniak'); ?>: <code>25</code></li>
|
42 |
</ul>
|
@@ -66,7 +66,7 @@
|
|
66 |
?>
|
67 |
<tr class="vod_element_select" onclick="Vod_selectVideo(this, '<?php echo $oVideo->sPath . $oVideo->sServerCode . "." . strtolower($oVideo->sExtension); ?>','<?php echo $oVideo->sToken; ?>','<?php echo $oVideo->iFolder; ?>');">
|
68 |
<td>
|
69 |
-
<img width="100" src="<?php echo "
|
70 |
</td>
|
71 |
<td>
|
72 |
<?php echo ucfirst(stripslashes($oVideo->sName)); ?><br/><br/>
|
@@ -176,7 +176,7 @@
|
|
176 |
nbFichier: 1
|
177 |
};
|
178 |
|
179 |
-
swfobject.embedSWF("
|
180 |
};
|
181 |
|
182 |
var updateUpladerSize = function (objId, iHeight) {
|
@@ -1072,10 +1072,10 @@
|
|
1072 |
jQuery("#dialog-post-id").val(iVideo);
|
1073 |
jQuery("#dialog-modal-title").text(title);
|
1074 |
jQuery("#dialog-modal-name").val(title);
|
1075 |
-
jQuery("#dialog-modal-url").val("
|
1076 |
-
jQuery("#dialog-modal-url-href").attr("href", "
|
1077 |
-
jQuery("#dialog-modal-url-img").val("
|
1078 |
-
jQuery("#dialog-modal-url-img-href").attr("href", "
|
1079 |
jQuery("#dialog-modal-balise").val("[" + sBalise + "]" + url + "." + sExtension + "[/vod]");
|
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 |
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");
|
4 |
* En cas de problemes ou de questions, veuillez contacter support-vod-wordpress@infomaniak.ch
|
5 |
*
|
6 |
* @author Destrem Kevin + Davide Rubini
|
7 |
+
* @link https://statslive.infomaniak.ch/vod/api/
|
8 |
+
* @version 1.4.3
|
9 |
* @copyright infomaniak.ch
|
10 |
*
|
11 |
*/
|
36 |
<div style="padding-left: 20px;">
|
37 |
<strong><?php _e('Exemple', 'vod_infomaniak'); ?>:</strong>
|
38 |
<ul id="dialog-exemple">
|
39 |
+
<li><?php _e('Url complete', 'vod_infomaniak'); ?>: <code>https://vod.infomaniak.com/redirect/infomaniak_vod1/folder-234/mp4-148/video.mp4</code>
|
40 |
<li><?php _e('Url partiel', 'vod_infomaniak'); ?>: <code>folder-234/mp4-148/video.mp4</code></li>
|
41 |
<li><?php _e('Identifiant de playlist', 'vod_infomaniak'); ?>: <code>25</code></li>
|
42 |
</ul>
|
66 |
?>
|
67 |
<tr class="vod_element_select" onclick="Vod_selectVideo(this, '<?php echo $oVideo->sPath . $oVideo->sServerCode . "." . strtolower($oVideo->sExtension); ?>','<?php echo $oVideo->sToken; ?>','<?php echo $oVideo->iFolder; ?>');">
|
68 |
<td>
|
69 |
+
<img width="100" src="<?php echo "https://vod.infomaniak.com/redirect/" . $options['vod_api_id'] . $oVideo->sPath . $oVideo->sServerCode . ".mini.jpg"; ?>"/>
|
70 |
</td>
|
71 |
<td>
|
72 |
<?php echo ucfirst(stripslashes($oVideo->sName)); ?><br/><br/>
|
176 |
nbFichier: 1
|
177 |
};
|
178 |
|
179 |
+
swfobject.embedSWF("https://adminvod.infomaniak.ch/apiUpload/uploadStda.swf", objId, "700", "80", "9.0.0", "https://infomaniak.ch/shared/flashs/expressInstall.swf", flashvarsUpld, paramsUpld, attributesUpld);
|
180 |
};
|
181 |
|
182 |
var updateUpladerSize = function (objId, iHeight) {
|
1072 |
jQuery("#dialog-post-id").val(iVideo);
|
1073 |
jQuery("#dialog-modal-title").text(title);
|
1074 |
jQuery("#dialog-modal-name").val(title);
|
1075 |
+
jQuery("#dialog-modal-url").val("https://vod.infomaniak.com/redirect/" + urlComplete + "." + sExtension);
|
1076 |
+
jQuery("#dialog-modal-url-href").attr("href", "https://vod.infomaniak.com/redirect/" + urlComplete + "." + sExtension + sParam);
|
1077 |
+
jQuery("#dialog-modal-url-img").val("https://vod.infomaniak.com/redirect/" + urlComplete + ".jpg");
|
1078 |
+
jQuery("#dialog-modal-url-img-href").attr("href", "https://vod.infomaniak.com/redirect/" + urlComplete + ".jpg");
|
1079 |
jQuery("#dialog-modal-balise").val("[" + sBalise + "]" + url + "." + sExtension + "[/vod]");
|
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 |
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");
|