VOD Infomaniak - Version 1.3.8

Version Description

(18/05/2016) = * Fix problme compatibilit PHP7 (suite)

Download this release

Release Info

Developer infomaniak-dev
Plugin Icon wp plugin VOD Infomaniak
Version 1.3.8
Comparing to
See all releases

Code changes from version 1.3.7 to 1.3.8

Files changed (3) hide show
  1. readme.txt +4 -1
  2. vod.class.php +4 -4
  3. vod.php +1 -1
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.3.7
9
10
11
@@ -72,6 +72,9 @@ Si vous ne trouvez pas de solution à votre question, vous pouvez aussi nous con
72
73
== Changelog ==
74
75
= 1.3.7 (18/05/2016) =
76
* Fix problème compatibilité PHP7
77
5
Tags: video, manage, infomaniak, vod
6
Requires at least: 2.8.6
7
Tested up to: 4.3.1
8
+ Stable tag: 1.3.8
9
10
11
72
73
== Changelog ==
74
75
+ = 1.3.8 (18/05/2016) =
76
+ * Fix problème compatibilité PHP7 (suite)
77
+
78
= 1.3.7 (18/05/2016) =
79
* Fix problème compatibilité PHP7
80
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.3.7
9
* @copyright infomaniak.ch
10
*/
11
@@ -15,7 +15,7 @@
15
define('VOD_RIGHT_ADMIN', 4);
16
17
class EasyVod {
18
- public $version = "1.3.7";
19
private $local_version;
20
private $plugin_url;
21
private $options;
@@ -256,7 +256,7 @@
256
function tag_upload($file, $params, $high = 'v', $time = '', $side = 0) {
257
//On check que le tag upload ne doit pas etre remplacer par un tag vod
258
if (!empty($file) && strpos($file, ':') !== false) {
259
- $decoupage = split(":", $file);
260
$sToken = $decoupage[0];
261
$aUpload = $this->db->get_upload_video($sToken);
262
if (intval($aUpload->iVideo) > 0) {
@@ -314,7 +314,7 @@
314
$params = html_entity_decode($params);
315
$params = strtolower(str_replace('"', "", $params));
316
317
- $aList = split(" ", $params);
318
foreach ($aList as $param) {
319
if (strpos($param, "=") !== false) {
320
$aCut = explode("=", $param);
5
*
6
* @author Destrem Kevin + Davide Rubini + Arnaud Toullieux
7
* @link http://statslive.infomaniak.ch/vod/api/
8
+ * @version 1.3.8
9
* @copyright infomaniak.ch
10
*/
11
15
define('VOD_RIGHT_ADMIN', 4);
16
17
class EasyVod {
18
+ public $version = "1.3.8";
19
private $local_version;
20
private $plugin_url;
21
private $options;
256
function tag_upload($file, $params, $high = 'v', $time = '', $side = 0) {
257
//On check que le tag upload ne doit pas etre remplacer par un tag vod
258
if (!empty($file) && strpos($file, ':') !== false) {
259
+ $decoupage = explode(":", $file);
260
$sToken = $decoupage[0];
261
$aUpload = $this->db->get_upload_video($sToken);
262
if (intval($aUpload->iVideo) > 0) {
314
$params = html_entity_decode($params);
315
$params = strtolower(str_replace('"', "", $params));
316
317
+ $aList = explode(" ", $params);
318
foreach ($aList as $param) {
319
if (strpos($param, "=") !== false) {
320
$aCut = explode("=", $param);
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.3.7
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.3.8
8
Author URI: http://infomaniak.com
9
*/
10