VOD Infomaniak - Version 1.1.8

Version Description

(17/06/2014) = * Ajout de la cration d'un article depuis la liste des playlistes

Download this release

Release Info

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

Code changes from version 1.0.0 to 1.1.8

css/jquery-ui.css CHANGED
@@ -12,7 +12,7 @@
12
  */
13
 
14
  /*dialog*/
15
- .ui-dialog {
16
  /*resets*/margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none;
17
  font-family: ;
18
  font-size: px;
@@ -20,6 +20,10 @@
20
  color: #333333;
21
  border: 4px solid #AAAAAA;
22
  position: relative;
 
 
 
 
23
  }
24
  .ui-resizable-handle {
25
  position: absolute;
12
  */
13
 
14
  /*dialog*/
15
+ div.ui-dialog {
16
  /*resets*/margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none;
17
  font-family: ;
18
  font-size: px;
20
  color: #333333;
21
  border: 4px solid #AAAAAA;
22
  position: relative;
23
+ z-index: 300002;
24
+ }
25
+ ul.ac_results{
26
+ z-index: 300003;
27
  }
28
  .ui-resizable-handle {
29
  position: absolute;
css/jquery.ui.tabs.css CHANGED
@@ -16,3 +16,7 @@
16
  .ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
17
  .ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; }
18
  .ui-tabs .ui-tabs-hide { display: none !important; }
 
 
 
 
16
  .ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
17
  .ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; }
18
  .ui-tabs .ui-tabs-hide { display: none !important; }
19
+
20
+ .vod_element_select {cursor : pointer;}
21
+ .vod_element_select:hover {background-color : #eee;}
22
+ .vod_element_selected {background-color : #FBEED5;}
img/audiofile.png ADDED
Binary file
js/editor_plugin.js CHANGED
@@ -3,44 +3,76 @@
3
  *
4
  * @author Destrem Kevin
5
  * @link http://statslive.infomaniak.ch/vod/api/
6
- * @version 1.0
7
  * @copyright infomaniak.ch
8
  *
9
  */
10
- //Fonction permettant d'afficher ou non les options d'integration
11
- Vod_dialogToggleSlider = function(){
12
- if ( !jQuery("#dialog-slide-header").hasClass("selected") ) {
13
- jQuery("#dialog-slide-header").addClass("selected");
14
- jQuery("#dialog-slide").show();
15
- } else {
16
- jQuery("#dialog-slide-header").removeClass("selected");
17
- jQuery("#dialog-slide").hide();
18
- }
19
- jQuery("#dialog-vod-form").dialog( "option", {'position' : 'center'} );
20
- };
21
 
22
  //Fonction permettant de cacher l'overlay de configuration
23
  Vod_dialogOpen = function () {
 
24
  jQuery("#dialog-url-input").value = "";
25
  jQuery("#dialog-slide-header").removeClass("selected");
26
- jQuery("#dialog-vod-form").dialog('open');
27
- jQuery("#dialog-url-input").focus();
 
28
  }
29
 
30
- //Fonction permettant de cacher l'overlay de configuration
31
- Vod_dialogClose = function () {
32
- jQuery("#dialog-vod-form").dialog("close");
33
- jQuery("#dialog-slide").hide();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  };
35
 
36
- Vod_selectVideo = function (sUrl,sToken,iFolder) {
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  jQuery('#dialog-url-input').val( sUrl );
 
38
  if( sToken != "" ){
39
  jQuery('#dialog-token').val( iFolder );
40
- }else{
41
- jQuery('#dialog-token').val( "" );
42
  }
43
- jQuery('#dialog-tabs').tabs( "select" , 1 )
 
 
 
 
 
 
 
44
  };
45
 
46
  sVodUploadParameters = "";
@@ -104,7 +136,7 @@ Vod_dialogValid = function () {
104
  //Celles qu'on ajoute à chaque fois
105
  var stretch = jQuery("#dialog-stretch").attr('checked') ? 1 : 0;
106
  var autostart = jQuery("#dialog-autostart").attr('checked') ? 1 : 0;
107
- var loop = jQuery("#dialog-loop").attr('checked') ? 1 : 0;
108
  text += " stretch='"+ parseInt(stretch)+"'";
109
  text += " autoplay='"+ parseInt(autostart)+"'";
110
  text += " loop='"+ parseInt(loop)+"'";
@@ -160,53 +192,17 @@ Vod_dialogValid = function () {
160
  //On switch le menu d'implementation et le bouton Ajouter
161
  if( jQuery('#dialog-tabs').tabs('option', 'selected') == 0 || jQuery('#dialog-tabs').tabs('option', 'selected') == 2 || jQuery('#dialog-tabs').tabs('option', 'selected') == 3){
162
  jQuery('.ui-dialog-buttonpane button').eq(0).button('disable');
163
- jQuery('#dialog-config').hide();
164
  jQuery("#dialog-search-input-video").focus();
165
  }else{
166
  jQuery('.ui-dialog-buttonpane button').eq(0).button('enable');
167
- jQuery('#dialog-config').show();
168
  jQuery("#dialog-url-input").focus();
169
  }
170
  jQuery("#dialog-vod-form").dialog( "option", {'position' : 'center'} );
171
  }
172
  });
173
 
174
- jQuery('#dialog-search-input-video').suggest(jQuery('#url_ajax_search_video').val(), {
175
- delay : 150,
176
- onSelect : function(){
177
- part = this.value.split(';;;');
178
- jQuery('#dialog-search-input-video').val('');
179
- jQuery('#dialog-url-input').val(part[0]);
180
- if( part.length == 3 ){
181
- jQuery('#dialog-token').val( part[1] );
182
- }else{
183
- jQuery('#dialog-token').val("");
184
- }
185
- jQuery('#dialog-tabs').tabs( "select" , 1 )
186
- }
187
- });
188
-
189
- jQuery('#dialog-search-input-playlist').suggest(jQuery('#url_ajax_search_playlist').val(), {
190
- delay : 150,
191
- onSelect : function(){
192
- part = this.value.split(';;;');
193
- jQuery('#dialog-search-input-playlist').val('');
194
- jQuery('#dialog-url-input').val(part[0]);
195
- jQuery('#dialog-tabs').tabs( "select" , 1 )
196
- }
197
- });
198
-
199
- checkSearchType = function(){
200
- if( jQuery('input[type=radio][name=searchtype]:checked').attr('value') == "video" ){
201
- jQuery('#dialog-search-input-video').show();
202
- jQuery('#dialog-search-input-playlist').hide();
203
- }else{
204
- jQuery('#dialog-search-input-video').hide();
205
- jQuery('#dialog-search-input-playlist').show();
206
- }
207
- };
208
- checkSearchType();
209
-
210
  ed.addButton('vodplugin', {
211
  title : 'Inserer VOD',
212
  image: url + "/../img/videofile.png",
3
  *
4
  * @author Destrem Kevin
5
  * @link http://statslive.infomaniak.ch/vod/api/
6
+ * @version 1.1.8
7
  * @copyright infomaniak.ch
8
  *
9
  */
10
+
11
+ //Centrer l'overlay
12
+ //jQuery("#dialog-vod-form").dialog( "option", {'position' : 'center'} );
13
+
 
 
 
 
 
 
 
14
 
15
  //Fonction permettant de cacher l'overlay de configuration
16
  Vod_dialogOpen = function () {
17
+ jQuery("#dialog-vod-form").dialog('open');
18
  jQuery("#dialog-url-input").value = "";
19
  jQuery("#dialog-slide-header").removeClass("selected");
20
+ jQuery("#dialog-slide").hide();
21
+ Vod_setPlayerOptions();
22
+ Vod_selectTab(2);
23
  }
24
 
25
+ //Fonction permettant de naviguer entre les onglets
26
+ Vod_selectTab = function (iTabCode) {
27
+ if (jQuery("#dialog-slide-header").hasClass("selected") ) {
28
+ jQuery("#dialog-slide-header").removeClass("selected");
29
+ jQuery("#dialog-slide").slideUp('fast');
30
+ }
31
+
32
+ jQuery('.tabSelected').each(function(index, oTab){
33
+ jQuery('#'+oTab.id).removeClass("tabSelected");
34
+ jQuery('#'+oTab.id).fadeOut();
35
+ });
36
+
37
+ if(jQuery('#dialog-tab'+iTabCode)){
38
+ jQuery('#dialog-tab'+iTabCode).fadeIn();
39
+ jQuery('#dialog-tab'+iTabCode).addClass("tabSelected");
40
+ }
41
+
42
+ if(parseInt(iTabCode,10) == 2){
43
+ if(jQuery('#vod_infomaniak_search_videos'))jQuery('#vod_infomaniak_search_videos').focus();
44
+ }else if(parseInt(iTabCode,10) == 4){
45
+ if(jQuery('#vod_infomaniak_search_playlists'))jQuery('#vod_infomaniak_search_playlists').focus();
46
+ }
47
  };
48
 
49
+ //Fonction permettant d'afficher ou non les options d'integration
50
+ Vod_dialogToggleSlider = function(){
51
+ if ( !jQuery("#dialog-slide-header").hasClass("selected") ) {
52
+ jQuery("#dialog-slide-header").addClass("selected");
53
+ jQuery('.tabSelected').slideUp();
54
+ jQuery("#dialog-slide").slideDown();
55
+ } else {
56
+ jQuery("#dialog-slide-header").removeClass("selected");
57
+ jQuery("#dialog-slide").slideUp();
58
+ jQuery('.tabSelected').slideDown();
59
+ }
60
+ };
61
+
62
+ Vod_selectVideo = function (oElement, sUrl,sToken,iFolder) {
63
  jQuery('#dialog-url-input').val( sUrl );
64
+ jQuery('#dialog-token').val( "" );
65
  if( sToken != "" ){
66
  jQuery('#dialog-token').val( iFolder );
 
 
67
  }
68
+ jQuery('.vod_element_selected').each(function(index, oElement){jQuery(oElement).removeClass('vod_element_selected')});
69
+ jQuery(oElement).addClass("vod_element_selected");
70
+ Vod_dialogToggleSlider();
71
+ };
72
+
73
+ //Fonction permettant de cacher l'overlay de configuration
74
+ Vod_dialogClose = function () {
75
+ jQuery("#dialog-vod-form").dialog("close");
76
  };
77
 
78
  sVodUploadParameters = "";
136
  //Celles qu'on ajoute à chaque fois
137
  var stretch = jQuery("#dialog-stretch").attr('checked') ? 1 : 0;
138
  var autostart = jQuery("#dialog-autostart").attr('checked') ? 1 : 0;
139
+ var loop = jQuery("#dialog-loop").attr('checked') ? 1 : 0;
140
  text += " stretch='"+ parseInt(stretch)+"'";
141
  text += " autoplay='"+ parseInt(autostart)+"'";
142
  text += " loop='"+ parseInt(loop)+"'";
192
  //On switch le menu d'implementation et le bouton Ajouter
193
  if( jQuery('#dialog-tabs').tabs('option', 'selected') == 0 || jQuery('#dialog-tabs').tabs('option', 'selected') == 2 || jQuery('#dialog-tabs').tabs('option', 'selected') == 3){
194
  jQuery('.ui-dialog-buttonpane button').eq(0).button('disable');
195
+ jQuery('#dialog-config').slideUp();
196
  jQuery("#dialog-search-input-video").focus();
197
  }else{
198
  jQuery('.ui-dialog-buttonpane button').eq(0).button('enable');
199
+ jQuery('#dialog-config').slideDown();
200
  jQuery("#dialog-url-input").focus();
201
  }
202
  jQuery("#dialog-vod-form").dialog( "option", {'position' : 'center'} );
203
  }
204
  });
205
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
206
  ed.addButton('vodplugin', {
207
  title : 'Inserer VOD',
208
  image: url + "/../img/videofile.png",
languages/vod_infomaniak-de_DE.mo CHANGED
Binary file
languages/vod_infomaniak-de_DE.po CHANGED
@@ -7,601 +7,790 @@ msgid ""
7
  msgstr ""
8
  "Project-Id-Version: vod\n"
9
  "Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2011-10-31 10:54+0100\n"
11
- "PO-Revision-Date: 2011-11-21 18:52+0100\n"
12
- "Last-Translator: \n"
13
- "Language-Team: LANGUAGE <LL@li.org>\n"
14
  "Language: de_DE\n"
15
  "MIME-Version: 1.0\n"
16
- "Content-Type: text/plain; charset=iso-8859-1\n"
17
  "Content-Transfer-Encoding: 8bit\n"
 
 
 
 
 
 
 
 
 
 
18
 
19
- #: vod.template.php:77
20
- msgid "1. Selection du dossier"
21
- msgstr "1. Ordnerauswahl"
22
 
23
- #: vod.template.php:93
24
- msgid "2. Envoi d'un fichier"
25
- msgstr "2. Dateiversand"
26
 
27
- #: vod.template.php:927
28
- msgid ""
29
- "<li>Fonction de seek permettant de se deplacer dans une video meme longue quasi instantanement.</li>\n"
30
- "\t\t\t\t<li>Bouton permettant de changer a la vole entre les differentes qualites d'une video.</li>\n"
31
- "\t\t\t\t<li>Bouton d'export sur certains reseau sociaux (facebook, twitter) afin que votre video soit plus visible.</li>\n"
32
- "\t\t\t\t<li>Player exportable afin de permettre aux visiteurs de recuperer le code d'integration.</li>\n"
33
- "\t\t\t\t<li>Facilite de personnalisation du player via de rapides modifications (couleurs de la barre, taille de la barre, logo) ou l'utilisation d'une barre entierement personnaliser.</li>\n"
34
- "\t\t\t\t<li>Compatibilite avec adswizz afin d'ajouter facilement des publicites avant ou apres les videos.</li>\n"
35
- "\t\t\t\t<li>Et encore d'autres options a decouvrir ...</li>"
36
- msgstr ""
37
- "<li>Seek-Funktion, um die Abspielposition im Video praktisch unmittelbar zu verschieben.</li>\n"
38
- "\t\t\t\t<li>Schaltfl�che, um unmittelbar eine andere Videoqualit�t zu w�hlen.</li>\n"
39
- "\t\t\t\t<li>Schaltfl�che f�r den Export in soziale Netzwerke (Facebook, Twitter), um Ihr Video bekannter zu machen.</li>\n"
40
- "\t\t\t\t<li>Exportierbarer Player, damit Besucher den Integrationscode �bernehmen k�nnen.</li>\n"
41
- "\t\t\t\t<li>Pers�nliche Gestaltung des Players �ber Schnelleinstellungen (Farbe der Leiste, Gr�sse der Leiste, Logo) oder Verwendung einer pers�nlichen Leiste.</li>\n"
42
- "\t\t\t\t<li>Adswizz-Kompatibilit�t, um vor oder nach den Videos bequem Werbung einzublenden.</li>\n"
43
- "\t\t\t\t<li>Und viele weitere Optionen ...</li>"
44
 
45
- #: vod.template.php:702
46
- #: vod.template.php:823
47
- msgid "Action"
48
- msgstr "Aktion"
 
49
 
50
- #: vod.template.php:230
51
- msgid "Administration du plugin VOD"
52
- msgstr "Verwaltung des VOD-Plugins"
53
 
54
- #: vod.template.php:852
55
- msgid "Administrer cette playlist"
56
- msgstr "Diese Playlist verwalten"
 
 
57
 
58
- #: vod.template.php:674
59
- #: vod.template.php:721
60
- msgid "Administrer cette video"
61
- msgstr "Dieses Video verwalten"
62
 
63
- #: vod.template.php:550
64
- msgid "Adresse"
65
- msgstr "Adresse"
66
 
67
- #: vod.template.php:303
68
- msgid "Adresse de callback"
69
- msgstr "Callback-Adresse"
70
 
71
- #: vod.template.php:922
72
- #, php-format
73
- msgid "Afin de modifier ou creer de nouveaux players flash, nous vous invitons a vous rendre dans votre administration vod : <a href='https://statslive.infomaniak.com/vod/player.php?iVodCode=%d' target='_blank'>Acceder a la configuration des players</a>"
74
- msgstr "Bitte begeben Sie sich in Ihre VOD-Verwaltung, um neue Flash-Player zu bearbeiten oder anzulegen: <a href='https://statslive.infomaniak.com/vod/player.php?iVodCode=%d' target='_blank'>Player-Einrichtung anzeigen</a>"
 
 
 
75
 
76
- #: vod.class.php:147
77
- msgid "Ajout"
78
- msgstr "Hinzuf�gen"
 
 
 
79
 
80
- #: vod.template.php:744
81
- msgid "Annuler"
82
- msgstr "R�ckg�ngig"
 
83
 
84
- #: vod.class.php:576
85
- msgid "Article correctement cree. Vous allez etre rediriger sur la page d'edition"
86
- msgstr "Artikel erfolgreich angelegt. Sie werden auf die Bearbeitungsseite weitergeleitet."
87
 
88
- #: vod.template.php:621
89
- msgid "Attention"
90
- msgstr "Vorsicht"
91
 
92
- #: vod.template.php:82
93
- #: vod.template.php:357
94
- msgid "Aucun dossier disponible"
95
- msgstr "Kein Ordner verf�gbar"
96
 
97
- #: vod.template.php:192
98
- #: vod.template.php:876
99
- #: vod.template.php:892
100
- msgid "Aucun player disponible"
101
- msgstr "Kein Player verf�gbar"
102
 
103
- #: vod.template.php:829
104
- msgid "Aucune playlist disponible"
105
- msgstr "Keine Playlist verf�gbar"
106
 
107
- #: vod.template.php:51
108
- #: vod.template.php:708
109
- msgid "Aucune video disponible"
110
- msgstr "Kein Video verf�gbar"
111
 
112
- #: vod.template.php:23
113
- msgid "Avec l'url"
114
- msgstr "Mit der URL"
115
 
116
- #: vod.template.php:622
117
- msgid "C'est une suppression definitive de la video, il n'y pas de corbeille ou de moyen de la recuperer une fois effacer."
118
- msgstr "Das Video wird endg�ltig gel�scht. Es gibt weder einen Papierkorb noch die M�glichkeit, ein gel�schtes Video wiederherzustellen."
 
119
 
120
- #: vod.template.php:350
121
- msgid "Ce plug-in vous permet d'ajouter de nouvelles videos directement depuis ce blog. Pour cela, vous n'avez qu'a choisir un dossier puis suivre les instructions"
122
- msgstr "Mit diesem Plugin k�nnen Sie neue Videos unmittelbar aus diesem Blog hinzuf�gen. Daf�r m�ssen Sie nur einen Ordner ausw�hlen und den Anweisungen folgen"
 
123
 
124
- #: vod.template.php:560
125
- msgid "Cette adresse necessite une authentification."
126
- msgstr "Diese Adresse erfordert eine Authentifizierung."
 
 
 
 
 
 
 
127
 
128
- #: vod.template.php:299
129
- #, php-format
130
- msgid "Cette option vous permet de mettre a jour automatiquement votre blog a chaque ajout de video a votre espace VOD.<br/>Veuillez aller dans \"<a href='https://statslive.infomaniak.com/vod/configuration.php?iVodCode=%d' target='_blank'>Configuration -> Api & Callback</a>\" et mettre l'adresse suivante dans le champ \"Adresse de Callback\""
131
- msgstr "Diese Option erm�glicht die automatische Aktualisierung Ihres Blogs, sobald ein Video in Ihrem VOD-Bereich hinzugef�gt wird.<br/>Bitte begeben Sie sich in \"<a href='https://statslive.infomaniak.com/vod/configuration.php?iVodCode=%d' target='_blank'>Einstellungen -> Api & Callback</a>\" und geben Sie folgende Adresse im Feld \"Callback-Adresse \" ein"
132
 
133
- #: vod.template.php:887
134
- msgid "Choisir ce player"
135
- msgstr "Diesen Player ausw�hlen"
 
136
 
137
- #: vod.template.php:352
138
- msgid "Choix du dossier d'envoi"
139
- msgstr "Auswahl des Sendeordners"
 
 
140
 
141
- #: vod.template.php:368
142
- msgid "Choix du type d'envoi"
143
- msgstr "Auswahl des Versandtyps"
144
 
145
- #: vod.template.php:667
146
- msgid "Code d'integration"
147
- msgstr "Integrationscode"
 
148
 
149
- #: vod.class.php:98
150
- msgid "Configuration"
151
- msgstr "Einstellungen"
152
 
153
- #: vod.template.php:298
154
- msgid "Configuration du callback"
155
- msgstr "Callback-Konfiguration "
156
 
157
- #: vod.template.php:255
158
- msgid "Connecter"
159
- msgstr "Verbinden"
 
 
160
 
161
- #: vod.template.php:252
162
- msgid "Connection"
163
- msgstr "Verbindung"
 
 
164
 
165
- #: vod.template.php:921
166
- msgid "Creation ou modification de players"
167
- msgstr "Player erstellen oder bearbeiten"
 
 
 
 
168
 
169
- #: vod.template.php:689
170
- msgid "Creer un article"
171
- msgstr "Artikel anlegen"
172
 
173
- #: vod.template.php:316
174
- #: vod.template.php:822
175
- #: vod.template.php:899
176
- msgid "Date"
177
- msgstr "Datum"
178
 
179
- #: vod.template.php:45
180
- #: vod.template.php:701
181
- msgid "Date d'upload"
182
- msgstr "Uploaddatum"
 
 
 
 
 
 
 
 
 
183
 
184
- #: vod.template.php:210
185
- #: vod.template.php:901
 
 
 
 
186
  msgid "Demarrage automatique"
187
  msgstr "Automatischer Start"
188
 
189
- #: vod.template.php:22
190
- msgid "Dernieres videos"
191
- msgstr "Letzte Videos"
192
-
193
- #: vod.template.php:316
194
- #: vod.template.php:818
195
- msgid "Description"
196
- msgstr "Beschreibung"
197
 
198
- #: vod.template.php:183
199
- msgid "Dimensions"
200
- msgstr "Aufl�sung"
201
 
202
- #: vod.template.php:85
203
- #: vod.template.php:360
204
- #: vod.template.php:700
205
- msgid "Dossier"
206
- msgstr "Ordner"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
207
 
208
- #: vod.template.php:79
209
- #: vod.template.php:488
210
- #: vod.template.php:539
211
- msgid "Dossier d'envoi"
212
- msgstr "Sendeordner"
213
 
214
- #: vod.template.php:274
215
- msgid "Dossiers recuperes"
216
- msgstr "Wiederhergestellte Ordner"
217
 
218
- #: vod.class.php:147
219
- #: vod.template.php:820
220
- msgid "Duree"
221
- msgstr "Dauer"
222
 
223
- #: vod.template.php:333
224
- msgid "En cours de conversion"
225
- msgstr "Umwandlung in Bearbeitung"
226
 
227
- #: vod.template.php:499
228
- msgid "Envoi"
229
- msgstr "Senden"
230
 
231
- #: vod.template.php:349
232
- msgid "Envoi d'une nouvelle video"
233
- msgstr "Neues Video versenden"
 
 
234
 
235
- #: vod.template.php:24
236
- msgid "Envoi d'une video"
237
- msgstr "Video versenden"
238
 
239
- #: vod.template.php:376
240
- msgid "Envoi termine"
241
- msgstr "Versand abgeschlossen"
 
 
 
 
 
 
 
 
 
 
242
 
243
- #: vod.template.php:369
244
- msgid "Envoyer depuis cet ordinateur"
245
- msgstr "Von diesem Computer senden"
246
 
247
- #: vod.class.php:504
248
- msgid "Erreur : Impossible de se connecter"
249
- msgstr "Fehler: Verbindung nicht m�glich"
250
 
251
- #: vod.template.php:336
252
- msgid "Erreurs"
253
- msgstr "Fehler"
254
 
255
- #: vod.template.php:624
256
- msgid "Etes-vous sur de vouloir continuer ?"
257
- msgstr "M�chten Sie wirklich fortsetzen?"
258
 
259
- #: vod.template.php:206
260
- msgid "Etirer la video (stretch)"
261
- msgstr "Video strecken (stretch)"
262
 
263
- #: vod.template.php:30
264
- msgid "Exemple"
265
- msgstr "Beispiel"
266
 
267
- #: vod.template.php:316
268
- msgid "Fichier"
269
- msgstr "Datei"
270
 
271
- #: vod.class.php:94
272
- msgid "Gestionnaire"
273
- msgstr "Verwaltung"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
274
 
275
- #: vod.template.php:605
276
- msgid "Gestionnaire de videos"
277
- msgstr "Videoverwaltung"
 
278
 
279
- #: vod.template.php:248
280
- msgid "Identifiant de l'espace VOD"
281
- msgstr "ID des VOD-Bereichs"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
282
 
283
- #: vod.template.php:34
284
- msgid "Identifiant de playlist"
285
- msgstr "Playlist-ID"
 
 
 
 
 
 
 
 
 
 
 
286
 
287
- #: vod.template.php:925
288
- msgid "Il est possible de personnaliser votre player video afin qu'ils s'integre parfaitement a votre site. Voici quelques fonctionnalites avancees qu'il propose :"
289
- msgstr "Sie k�nnen Ihren Videoplayer pers�nlich gestalten, damit er perfekt in Ihre Website integriert ist. Er bietet u.a. folgende fortgeschrittenen Funktionen:"
290
 
291
- #: vod.class.php:108
292
- #: vod.class.php:606
293
- #: vod.class.php:617
294
- msgid "Il n'est pas possible d'uploader dans ce dossier."
295
- msgstr "Uploads in diesen Ordner sind nicht m�glich."
296
 
297
- #: vod.class.php:95
298
- msgid "Importation"
299
- msgstr "Import"
300
 
301
- #: vod.template.php:566
302
- msgid "Importer"
303
- msgstr "Importieren"
 
 
304
 
305
- #: vod.template.php:370
306
- msgid "Importer depuis un autre site"
307
- msgstr "Von einer anderen Website importieren"
308
 
309
- #: vod.template.php:257
310
- msgid "Impossible de se connecter"
311
- msgstr "Verbindung nicht m�glich"
312
 
313
- #: vod.template.php:720
314
- msgid "Information sur cette video"
315
- msgstr "Informationen zu diesem Video"
316
 
317
- #: vod.template.php:635
318
- msgid "Informations"
319
- msgstr "Informationen"
320
 
321
- #: vod.template.php:889
322
- msgid "Informations sur ce Player"
323
- msgstr "Informationen zu diesem Player"
324
 
325
- #: vod.template.php:650
326
- msgid "Integration"
327
- msgstr "Integration"
328
 
329
- #: vod.template.php:866
330
- msgid "Integration par defaut des videos"
331
- msgstr "Standard-Integration der Videos"
332
 
333
- #: vod.template.php:378
334
- msgid "L'ajout de cette video a correctement ete pris en compte.<br/>Vous pouvez retrouver l'avancement de cette conversion video dans le tableau ci-dessous."
335
- msgstr "Dieses Video wurde erfolgreich hinzugef�gt.<br/>Sie sehen der Fortschritt der Videoumwandlung in der Tabelle unten."
 
 
 
 
 
 
336
 
337
- #: vod.template.php:496
338
- msgid "L'envoi doit etre effectue en moins de 4 heures"
339
- msgstr "Der Versand darf nicht l�nger als 4 Stunden dauern"
340
 
341
- #: vod.template.php:494
342
- #: vod.template.php:545
343
- msgid "Le poids des fichiers envoyes via ce module est limite a 1Go"
344
- msgstr "Die Dateigr�sse ist beim Hochladen �ber dieses Modul auf 1 GB begrenzt"
345
 
346
- #: vod.template.php:214
347
- #: vod.template.php:902
348
- msgid "Lecture en boucle"
349
- msgstr "Wiedergabeschleife"
350
 
351
- #: vod.template.php:495
352
- #: vod.template.php:546
353
- msgid "Les formats videos supportes sont avi, flv, mov, mpeg, mp4, mkv, rm, wmv, m4v, vob, 3gp, webm, f4v, ts"
354
- msgstr "Folgende Videoformate werden unterst�tzt: avi, flv, mov, mpeg, mp4, mkv, rm, wmv, m4v, vob, 3gp, webm, f4v, ts"
355
 
356
- #: vod.template.php:492
357
- #: vod.template.php:543
358
- msgid "Limites"
359
- msgstr "Obergrenzen"
360
 
361
- #: vod.template.php:240
362
- #: vod.template.php:563
363
- msgid "Login"
364
- msgstr "Benutzername"
 
 
 
365
 
366
- #: vod.template.php:427
367
  msgid "Mise a jour dans"
368
  msgstr "Aktualisierung in"
369
 
370
- #: vod.template.php:821
371
- msgid "Mode de lecture"
372
- msgstr "Wiedergabemodus"
373
-
374
- #: vod.template.php:906
375
- msgid "Modifier ce Player"
376
- msgstr "Diesen Player bearbeiten"
377
-
378
- #: vod.template.php:44
379
- #: vod.template.php:85
380
- #: vod.template.php:360
381
- #: vod.template.php:644
382
- #: vod.template.php:817
383
- #: vod.template.php:898
384
- msgid "Nom"
385
- msgstr "Name"
386
-
387
- #: vod.template.php:819
388
- msgid "Nombre videos"
389
- msgstr "Anzahl Videos"
390
 
391
- #: vod.template.php:324
392
- msgid "OK"
393
- msgstr "OK"
 
394
 
395
- #: vod.template.php:327
396
- msgid "Ok (des alertes sont apparues)"
397
- msgstr "Ok (Warnmeldungen wurden angezeigt)"
 
398
 
399
- #: vod.template.php:180
400
- msgid "Options d'integration"
401
- msgstr "Integrationsoptionen"
 
 
 
 
 
402
 
403
- #: vod.template.php:25
404
- msgid "Outil de recherche"
405
- msgstr "Such-Tool"
406
 
407
- #: vod.template.php:244
408
- #: vod.template.php:564
409
- msgid "Password"
410
- msgstr "Kennwort"
411
 
412
- #: vod.template.php:188
413
- msgid "Player choisi"
414
- msgstr "Ausgew�hlter Player"
415
 
416
- #: vod.class.php:96
417
- msgid "Player video"
418
- msgstr "Videoplayer"
419
 
420
- #: vod.template.php:278
421
- msgid "Players recuperes"
422
- msgstr "Heruntergeladene Player"
423
 
424
- #: vod.class.php:97
425
- #: vod.template.php:170
426
- msgid "Playlist"
427
- msgstr "Playlist"
428
 
429
- #: vod.template.php:282
430
- msgid "Playlist recuperes"
431
- msgstr "Heruntergeladene Playlists"
432
 
433
- #: vod.template.php:810
434
- msgid "Playlists"
435
- msgstr "Playlists"
436
 
437
- #: vod.template.php:923
438
- msgid "Plus d'options"
439
- msgstr "Weitere Optionen"
440
 
441
- #: vod.template.php:268
442
- msgid "Pour fonctionner correctement, cette extension a besoin de se synchroniser regulierement avec votre compte VOD.<br/>Cela vous permet de garder une liste des players, dossiers et playlist a jour sur votre blog.<br/>Cette operation s'effectue automatiquement assez regulierement mais il est egalement possible de forcer une verification ci-dessous."
443
- msgstr "Um richtig zu funktionieren, muss diese Erweiterung sich regelm�ssig mit Ihrem VOD-Konto synchronisieren.<br/>Auf diese Weise bleiben Ihre Playerliste, Ordner und Playlists in Ihrem Blog auf dem neuesten Stand.<br/>Dieser Vorgang l�uft regelm�ssig automatisch ab, Sie k�nnen aber auch unten eine Pr�fung durchf�hren."
444
 
445
- #: vod.template.php:234
446
  msgid ""
447
- "Pour fonctionner, le plugin a besoin de s'interfacer avec votre compte VOD infomaniak.<br/>\n"
448
- "\t\t\t\tPour des raisons de securites, il est fortement conseille de creer un nouvel utilisateur dedie dans votre admin infomaniak avec uniquement des droits restreints sur l'API.<br/>\n"
449
- "\t\t\t\tPour plus d'information, veuillez vous rendre dans la partie \"Configuration -> Api & Callback\" de votre administration VOD."
450
  msgstr ""
451
- "Das Plugin muss sich mit Ihrem VOD-Konto bei Infomaniak verbinden, damit es funktioniert.<br/>\n"
452
- "\t\t\t\tWir raten aus Sicherheitsgr�nden dringend dazu, in Ihrer Infomaniak-Verwaltungskonsole einen neuen Benutzer anzulegen, der nur begrenzte Rechte f�r die API besitzt.<br/>\n"
453
- "\t\t\t\tWeitere Informationen finden Sie im Men� \"Einstellungen -> Api & Callback\" Ihrer VOD-Verwaltung."
454
 
455
- #: vod.template.php:314
456
- #: vod.template.php:813
457
- msgid "Precedents Envois"
458
- msgstr "Vorherige Sendungen"
459
 
460
- #: vod.template.php:629
461
  msgid "Previsualisation d'une video"
462
  msgstr "Video-Vorschau"
463
 
464
- #: vod.class.php:529
465
- msgid "Probleme de configuration"
466
- msgstr "Konfigurationsproblem"
467
 
468
- #: vod.template.php:168
469
- msgid "Recherche d'une"
470
- msgstr "Suche nach"
471
 
472
- #: vod.template.php:900
473
- msgid "Resolution"
474
- msgstr "Aufl�sung"
475
 
476
- #: vod.template.php:647
477
- msgid "Restriction d'acces"
478
- msgstr "Zugangsbeschr�nkung"
479
 
480
- #: vod.template.php:778
481
- msgid "Securise avec un token"
482
- msgstr "Mit Token gesichert"
483
 
484
- #: vod.template.php:872
485
- msgid "Selection du player par defaut"
486
- msgstr "Auswahl des Standardplayers"
487
 
488
- #: vod.template.php:811
489
- #, php-format
490
- msgid "Si vous desirez ajouter ou modifier les playlist ci-dessous, veuillez vous rendre dans <a href='https://statslive.infomaniak.com/vod/playlists.php?iVodCode=%s' target='_blank'>la console d'administration</a>"
491
- msgstr "Wenn Sie die Playlists erweitern oder bearbeiten m�chten, begeben Sie sich in die <a href='https://statslive.infomaniak.com/vod/playlists.php?iVodCode=%s' target='_blank'>Verwaltungskonsole</a>"
 
492
 
493
- #: vod.template.php:316
494
- msgid "Statut"
495
- msgstr "Status"
 
 
 
 
 
 
 
 
 
 
496
 
497
- #: vod.template.php:723
 
 
 
 
 
 
 
 
 
498
  msgid "Supprimer cette video"
499
- msgstr "Dieses Video l�schen"
500
 
501
- #: vod.template.php:741
502
  msgid "Supprimer definitivement la video"
503
- msgstr "Video endg�ltig l�schen"
504
 
505
- #: vod.template.php:613
506
- msgid "Supprimer une video"
507
- msgstr "Video l�schen"
508
 
509
- #: vod.template.php:903
510
- msgid "Switch de qualite"
511
- msgstr "Qualit�ts-Switch"
512
 
513
- #: vod.template.php:267
514
- msgid "Synchronisation des donnees"
515
- msgstr "Datensynchronisation"
516
 
517
- #: vod.template.php:290
518
- msgid "Synchronisation rapide"
519
- msgstr "Schnellsynchronisation"
 
 
 
 
 
 
 
520
 
521
- #: vod.template.php:294
522
- msgid "Synchroniser Videos"
523
- msgstr "Videos synchronisieren "
524
 
525
- #: vod.template.php:330
526
- msgid "Telechargement en cours"
527
- msgstr "Download l�uft"
528
 
529
- #: vod.template.php:32
530
- msgid "Url complete"
531
- msgstr "Vollst�ndige URL"
532
 
533
- #: vod.template.php:663
534
- msgid "Url de l'image"
535
- msgstr "Bild-URL"
536
 
537
- #: vod.template.php:656
538
- msgid "Url de la video"
539
- msgstr "Video-URL"
540
 
541
- #: vod.template.php:33
542
- msgid "Url partiel"
543
- msgstr "Teilweise URL"
544
 
545
- #: vod.template.php:218
546
- msgid "Utilisation du token du dossier (Id dossier)"
547
- msgstr "Verwendung des Ordner-Tokens (Ordner-ID)"
548
 
549
- #: vod.template.php:486
550
- msgid "Utilitaire d'envoi de video"
551
- msgstr "Dienstprogramm f�r den Videoversand"
552
 
553
- #: vod.template.php:532
554
- msgid "Utilitaire d'importation de video"
555
- msgstr "Dienstprogramm f�r den Videoimport"
556
 
557
- #: vod.template.php:261
558
- msgid "Valider"
559
- msgstr "Best�tigen"
560
 
561
- #: vod.template.php:28
562
- msgid "Veuillez saisir l'URL d'une video"
563
- msgstr "Bitte geben Sie die URL eines Videos ein"
 
564
 
565
- #: vod.class.php:529
566
- msgid "Veuillez-vous rendre dans <a href='admin.php?page=configuration'>Videos -> Configuration</a> afin de configurer votre compte."
567
- msgstr "Bitte begeben Sie sich ins Men� <a href='admin.php?page=configuration'>Videos -> Einstellungen</a>, um Ihr Konto einzurichten."
568
 
569
- #: vod.template.php:43
570
- #: vod.template.php:169
571
- #: vod.template.php:699
572
- msgid "Video"
573
- msgstr "Video"
 
 
 
 
 
 
574
 
575
- #: vod.template.php:774
576
- msgid "Video Geolocalise"
577
- msgstr "Geolokalisiertes Video"
578
 
579
- #: vod.class.php:200
580
- msgid "Video en cours de conversion"
581
- msgstr "Videoumwandlung in Bearbeitung"
 
 
 
 
 
582
 
583
- #: vod.class.php:90
584
- msgid "Videos"
585
- msgstr "Videos"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
586
 
587
- #: vod.template.php:270
588
- msgid "Videos recuperes"
589
- msgstr "Heruntergeladene Videos"
590
 
591
- #: vod.template.php:653
592
- msgid "Visualiser la video"
593
- msgstr "Video anzeigen"
594
 
595
- #: vod.template.php:679
596
- msgid "Voir les statistiques"
597
- msgstr "Statistiken anzeigen"
598
 
599
- #: vod.template.php:679
600
- #: vod.template.php:722
601
- msgid "Voir les statistiques de cette video"
602
- msgstr "Statistiken dieses Videos anzeigen"
603
 
604
- #: vod.template.php:619
605
- msgid "Vous etes sur le point de supprimer la video"
606
- msgstr "Sie sind dabei, das Video zu l�schen"
607
 
 
 
7
  msgstr ""
8
  "Project-Id-Version: vod\n"
9
  "Report-Msgid-Bugs-To: \n"
10
+ "POT-Creation-Date: 2014-04-17 11:15+0100\n"
11
+ "PO-Revision-Date: 2014-05-12 16:25+0100\n"
12
+ "Last-Translator: Uli Böhm <uli@traduc.de>\n"
13
+ "Language-Team: www.traduc.de\n"
14
  "Language: de_DE\n"
15
  "MIME-Version: 1.0\n"
16
+ "Content-Type: text/plain; charset=UTF-8\n"
17
  "Content-Transfer-Encoding: 8bit\n"
18
+ "X-Generator: Poedit 1.6.5\n"
19
+ "X-Poedit-KeywordsList: _e;__\n"
20
+ "X-Poedit-Basepath: .\n"
21
+ "X-Poedit-SearchPath-0: /Users/daviderubini/Projets/LOCAL/wordpress/wp-"
22
+ "content/plugins/vod-infomaniak\n"
23
+
24
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:147
25
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:21
26
+ msgid "Videos"
27
+ msgstr "Videos"
28
 
29
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:152
30
+ msgid "Gestionnaire"
31
+ msgstr "Verwaltung"
32
 
33
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:155
34
+ msgid "Importation"
35
+ msgstr "Import"
36
 
37
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:158
38
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:499
39
+ msgid "Player video"
40
+ msgstr "Videoplayer"
 
 
 
 
 
 
 
 
 
 
 
 
 
41
 
42
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:161
43
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:89
44
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:515
45
+ msgid "Playlist"
46
+ msgstr "Playlist"
47
 
48
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:164
49
+ msgid "Configuration"
50
+ msgstr "Einstellungen"
51
 
52
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:177
53
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:755
54
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:767
55
+ msgid "Il n'est pas possible d'uploader dans ce dossier."
56
+ msgstr "Uploads in diesen Ordner sind nicht möglich."
57
 
58
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:288
59
+ msgid "Video en cours de conversion"
60
+ msgstr "Videoumwandlung in Bearbeitung"
 
61
 
62
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:632
63
+ msgid "Erreur : Impossible de se connecter"
64
+ msgstr "Fehler: Verbindung nicht möglich"
65
 
66
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:673
67
+ msgid "Probleme de configuration"
68
+ msgstr "Konfigurationsproblem"
69
 
70
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:673
71
+ msgid ""
72
+ "Veuillez-vous rendre dans <a href='admin.php?page=configuration'>Videos -> "
73
+ "Configuration</a> afin de configurer votre compte."
74
+ msgstr ""
75
+ "Bitte begeben Sie sich ins Menü <a href='admin.php?"
76
+ "page=configuration'>Videos -> Einstellungen</a>, um Ihr Konto einzurichten."
77
 
78
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:723
79
+ msgid ""
80
+ "Article correctement cree. Vous allez etre rediriger sur la page d'edition"
81
+ msgstr ""
82
+ "Artikel erfolgreich angelegt. Sie werden auf die Bearbeitungsseite "
83
+ "weitergeleitet."
84
 
85
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:22
86
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1121
87
+ msgid "Playlists"
88
+ msgstr "Playlists"
89
 
90
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:23
91
+ msgid "Avec l'url"
92
+ msgstr "Mit der URL"
93
 
94
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:25
95
+ msgid "Envoi d'une video"
96
+ msgstr "Video versenden"
97
 
98
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:31
99
+ msgid "Veuillez saisir l'URL d'une video"
100
+ msgstr "Bitte geben Sie die URL eines Videos ein"
 
101
 
102
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:33
103
+ msgid "Exemple"
104
+ msgstr "Beispiel"
 
 
105
 
106
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:35
107
+ msgid "Url complete"
108
+ msgstr "Vollständige URL"
109
 
110
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:36
111
+ msgid "Url partiel"
112
+ msgstr "Teilweise URL"
 
113
 
114
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:37
115
+ msgid "Identifiant de playlist"
116
+ msgstr "Playlist-ID"
117
 
118
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:45
119
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:83
120
+ msgid "Rechercher ..."
121
+ msgstr "Suchen..."
122
 
123
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:51
124
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:989
125
+ msgid "Video"
126
+ msgstr "Video"
127
 
128
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:52
129
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:139
130
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:444
131
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:446
132
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:602
133
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:910
134
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1128
135
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1219
136
+ msgid "Nom"
137
+ msgstr "Name"
138
 
139
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:53
140
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:991
141
+ msgid "Date d'upload"
142
+ msgstr "Uploaddatum"
143
 
144
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:59
145
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:998
146
+ msgid "Aucune video disponible"
147
+ msgstr "Kein Video verfügbar"
148
 
149
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:90
150
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:555
151
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1129
152
+ msgid "Description"
153
+ msgstr "Beschreibung"
154
 
155
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:91
156
+ msgid "Nbr Videos"
157
+ msgstr "Anzahl Videos"
158
 
159
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:92
160
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1131
161
+ msgid "Duree"
162
+ msgstr "Dauer"
163
 
164
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:98
165
+ msgid "Aucune playlist de disponible"
166
+ msgstr "Keine Playlist verfügbar"
167
 
168
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:131
169
+ msgid "1. Selection du dossier"
170
+ msgstr "1. Ordnerauswahl"
171
 
172
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:133
173
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:736
174
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:790
175
+ msgid "Dossier d'envoi"
176
+ msgstr "Sendeordner"
177
 
178
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:136
179
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:440
180
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:599
181
+ msgid "Aucun dossier disponible"
182
+ msgstr "Kein Ordner verfügbar"
183
 
184
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:139
185
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:444
186
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:446
187
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:602
188
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:990
189
+ msgid "Dossier"
190
+ msgstr "Ordner"
191
 
192
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:148
193
+ msgid "2. Envoi d'un fichier"
194
+ msgstr "2. Dateiversand"
195
 
196
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:224
197
+ msgid "Options d'integration"
198
+ msgstr "Integrationsoptionen"
 
 
199
 
200
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:227
201
+ msgid "Dimensions"
202
+ msgstr "Auflösung"
203
+
204
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:233
205
+ msgid "Player choisi"
206
+ msgstr "Ausgewählter Player"
207
+
208
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:237
209
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1194
210
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1211
211
+ msgid "Aucun player disponible"
212
+ msgstr "Kein Player verfügbar"
213
 
214
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:252
215
+ msgid "Etirer la video (stretch)"
216
+ msgstr "Video strecken (stretch)"
217
+
218
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:257
219
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1227
220
  msgid "Demarrage automatique"
221
  msgstr "Automatischer Start"
222
 
223
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:262
224
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1230
225
+ msgid "Lecture en boucle"
226
+ msgstr "Wiedergabeschleife"
 
 
 
 
227
 
228
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:343
229
+ msgid "Administration du plugin VOD"
230
+ msgstr "Verwaltung des VOD-Plugins"
231
 
232
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:348
233
+ msgid ""
234
+ "Pour fonctionner, le plugin a besoin de s'interfacer avec votre compte VOD "
235
+ "infomaniak.<br/>\n"
236
+ "\t\t\t\tPour des raisons de securites, il est fortement conseille de creer "
237
+ "un nouvel utilisateur dedie dans votre admin infomaniak avec uniquement des "
238
+ "droits restreints sur l'API.<br/>\n"
239
+ "\t\t\t\tPour plus d'information, veuillez vous rendre dans la partie "
240
+ "\"Configuration -> Api & Callback\" de votre administration VOD."
241
+ msgstr ""
242
+ "Das Plugin muss sich mit Ihrem VOD-Konto bei Infomaniak verbinden, damit es "
243
+ "funktioniert.<br/>\n"
244
+ "\t\t\t\tWir raten aus Sicherheitsgründen dringend dazu, in Ihrer Infomaniak-"
245
+ "Verwaltungskonsole einen neuen Benutzer anzulegen, der nur begrenzte Rechte "
246
+ "für die API besitzt.<br/>\n"
247
+ "\t\t\t\tWeitere Informationen finden Sie im Menü \"Einstellungen -> Api & "
248
+ "Callback\" Ihrer VOD-Verwaltung."
249
+
250
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:355
251
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:819
252
+ msgid "Login"
253
+ msgstr "Benutzername"
254
 
255
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:361
256
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:821
257
+ msgid "Password"
258
+ msgstr "Kennwort"
 
259
 
260
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:367
261
+ msgid "Identifiant de l'espace VOD"
262
+ msgstr "ID des VOD-Bereichs"
263
 
264
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:373
265
+ msgid "Connection"
266
+ msgstr "Verbindung"
 
267
 
268
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:376
269
+ msgid "Connecter"
270
+ msgstr "Verbinden"
271
 
272
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:379
273
+ msgid "Impossible de se connecter"
274
+ msgstr "Verbindung nicht möglich"
275
 
276
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:386
277
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:452
278
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:532
279
+ msgid "Valider"
280
+ msgstr "Bestätigen"
281
 
282
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:392
283
+ msgid "Synchronisation des donnees"
284
+ msgstr "Datensynchronisation"
285
 
286
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:393
287
+ msgid ""
288
+ "Pour fonctionner correctement, cette extension a besoin de se synchroniser "
289
+ "regulierement avec votre compte VOD.<br/>Cela vous permet de garder une "
290
+ "liste des players, dossiers et playlist a jour sur votre blog.<br/>Cette "
291
+ "operation s'effectue automatiquement assez regulierement mais il est "
292
+ "egalement possible de forcer une verification ci-dessous."
293
+ msgstr ""
294
+ "Um richtig zu funktionieren, muss diese Erweiterung sich regelmässig mit "
295
+ "Ihrem VOD-Konto synchronisieren.<br/>Auf diese Weise bleiben Ihre "
296
+ "Playerliste, Ordner und Playlists in Ihrem Blog auf dem neuesten Stand.<br/"
297
+ ">Dieser Vorgang läuft regelmässig automatisch ab, Sie können aber auch unten "
298
+ "eine Prüfung durchführen."
299
 
300
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:395
301
+ msgid "Videos recuperes"
302
+ msgstr "Heruntergeladene Videos"
303
 
304
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:399
305
+ msgid "Dossiers recuperes"
306
+ msgstr "Wiederhergestellte Ordner"
307
 
308
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:403
309
+ msgid "Players recuperes"
310
+ msgstr "Heruntergeladene Player"
311
 
312
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:407
313
+ msgid "Playlist recuperes"
314
+ msgstr "Heruntergeladene Playlists"
315
 
316
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:417
317
+ msgid "Synchronisation rapide"
318
+ msgstr "Schnellsynchronisation"
319
 
320
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:423
321
+ msgid "Synchroniser Videos"
322
+ msgstr "Videos synchronisieren "
323
 
324
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:427
325
+ msgid "Filtrer l'acces a l'espace VOD"
326
+ msgstr "Zugriff auf den VOD-Bereich filtern"
327
 
328
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:428
329
+ msgid ""
330
+ "Par defaut, ce plugin permet d'acceder a l'integralite des videos/dossiers "
331
+ "presents sur votre espace VOD.<br/>\n"
332
+ "\t\t\t\tIl peut etre utile dans certains cas de limiter l'acces aux "
333
+ "utilisateurs de ce site qu'a une partie des dossiers.<br/>\n"
334
+ "\t\t\t\tL'option ci-dessous permet de restreindre l'acces de ce site a un "
335
+ "dossier ainsi que tous ses dossiers fils."
336
+ msgstr ""
337
+ "Dieses Plugin gestattet standardmässig den Zugriff auf sämtliche Videos/"
338
+ "Ordner Ihres VOD-Bereichs.<br/>\n"
339
+ "\t\t\t\tIn bestimmten Fällen kann es nützlich sein, den Zugriff durch "
340
+ "Benutzer dieser Website auf bestimmte Ordner zu beschränken.<br/>\n"
341
+ "\t\t\t\tMit der Option unten lässt sich der Zugriff dieser Website auf einen "
342
+ "Ordner und sämtliche untergeordneten Ordner einschränken."
343
+
344
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:436
345
+ msgid "Dossier Racine"
346
+ msgstr "Stammverzeichnis"
347
+
348
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:456
349
+ msgid "Gestion des droits par groupe d'utilisateur"
350
+ msgstr "Verwaltung der Zugriffsrechte nach Benutzergruppe"
351
+
352
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:458
353
+ msgid ""
354
+ "Par defaut, toutes les options du plugin sont disponibles pour les "
355
+ "utilisateurs a partir du rang de contributeur.<br/>\n"
356
+ "\t\t\t\tCi-dessous, il est cependant possible de parametrer les options que "
357
+ "vous souhaitez proposer a vos utilisateurs."
358
+ msgstr ""
359
+ "Alle Optionen des Plugins stehen standardmässig allen Benutzern ab dem Rang "
360
+ "eines Beitragenden zur Verfügung.<br/>\n"
361
+ "\t\t\t\tSie jedoch unten die Optionen einstellen, die Sie Ihren Benutzern "
362
+ "anbieten möchten."
363
 
364
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:467
365
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:917
366
+ msgid "Integration"
367
+ msgstr "Integration"
368
 
369
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:471
370
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:487
371
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:503
372
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:519
373
+ msgid "Contributeur"
374
+ msgstr "Beitragender"
375
+
376
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:474
377
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:490
378
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:506
379
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:522
380
+ msgid "Auteur"
381
+ msgstr "Autor"
382
+
383
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:477
384
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:493
385
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:509
386
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:525
387
+ msgid "Editeur"
388
+ msgstr "Editor"
389
+
390
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:480
391
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:496
392
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:512
393
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:528
394
+ msgid "Administrateur"
395
+ msgstr "Administrator"
396
+
397
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:483
398
+ msgid "Importation de video"
399
+ msgstr "Videoimport"
400
+
401
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:537
402
+ msgid "Configuration du callback"
403
+ msgstr "Callback-Konfiguration "
404
 
405
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:538
406
+ #, php-format
407
+ msgid ""
408
+ "Cette option vous permet de mettre a jour automatiquement votre blog a "
409
+ "chaque ajout de video a votre espace VOD.<br/>Veuillez aller dans \"<a "
410
+ "href='https://statslive.infomaniak.com/vod/configuration.php/g%ds7i%d' "
411
+ "target='_blank'>Configuration -> Api & Callback</a>\" et mettre l'adresse "
412
+ "suivante dans le champ \"Adresse de Callback\""
413
+ msgstr ""
414
+ "Diese Option ermöglicht die automatische Aktualisierung Ihres Blogs, sobald "
415
+ "ein Video in Ihrem VOD-Bereich hinzugefügt wird.<br/>Bitte begeben Sie sich "
416
+ "in \"<a href='https://statslive.infomaniak.com/vod/configuration.php/g%ds7i"
417
+ "%d' target='_blank'>Einstellungen -> Api & Callback</a>\" und geben Sie "
418
+ "folgende Adresse im Feld \"Callback-Adresse \" ein"
419
 
420
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:542
421
+ msgid "Adresse de callback"
422
+ msgstr "Callback-Adresse"
423
 
424
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:553
425
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1124
426
+ msgid "Precedents Envois"
427
+ msgstr "Vorherige Sendungen"
 
428
 
429
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:555
430
+ msgid "Fichier"
431
+ msgstr "Datei"
432
 
433
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:555
434
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1133
435
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1221
436
+ msgid "Date"
437
+ msgstr "Datum"
438
 
439
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:555
440
+ msgid "Statut"
441
+ msgstr "Status"
442
 
443
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:563
444
+ msgid "OK"
445
+ msgstr "OK"
446
 
447
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:566
448
+ msgid "Ok (des alertes sont apparues)"
449
+ msgstr "Ok (Warnmeldungen wurden angezeigt)"
450
 
451
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:569
452
+ msgid "Telechargement en cours"
453
+ msgstr "Download läuft"
454
 
455
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:572
456
+ msgid "En cours de conversion"
457
+ msgstr "Umwandlung in Bearbeitung"
458
 
459
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:574
460
+ msgid "Erreurs"
461
+ msgstr "Fehler"
462
 
463
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:590
464
+ msgid "Envoi d'une nouvelle video"
465
+ msgstr "Neues Video versenden"
466
 
467
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:591
468
+ msgid ""
469
+ "Ce plug-in vous permet d'ajouter de nouvelles videos directement depuis ce "
470
+ "blog. Pour cela, vous n'avez qu'a choisir un dossier puis suivre les "
471
+ "instructions"
472
+ msgstr ""
473
+ "Mit diesem Plugin können Sie neue Videos unmittelbar aus diesem Blog "
474
+ "hinzufügen. Dafür müssen Sie nur einen Ordner auswählen und den Anweisungen "
475
+ "folgen"
476
 
477
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:594
478
+ msgid "Choix du dossier d'envoi"
479
+ msgstr "Auswahl des Sendeordners"
480
 
481
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:610
482
+ msgid "Choix du type d'envoi"
483
+ msgstr "Auswahl des Versandtyps"
 
484
 
485
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:612
486
+ msgid "Envoyer depuis cet ordinateur"
487
+ msgstr "Von diesem Computer senden"
 
488
 
489
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:615
490
+ msgid "Importer depuis un autre site"
491
+ msgstr "Von einer anderen Website importieren"
 
492
 
493
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:622
494
+ msgid "Envoi termine"
495
+ msgstr "Versand abgeschlossen"
 
496
 
497
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:624
498
+ msgid ""
499
+ "L'ajout de cette video a correctement ete pris en compte.<br/>Vous pouvez "
500
+ "retrouver l'avancement de cette conversion video dans le tableau ci-dessous."
501
+ msgstr ""
502
+ "Dieses Video wurde erfolgreich hinzugefügt.<br/>Sie sehen der Fortschritt "
503
+ "der Videoumwandlung in der Tabelle unten."
504
 
505
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:673
506
  msgid "Mise a jour dans"
507
  msgstr "Aktualisierung in"
508
 
509
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:734
510
+ msgid "Utilitaire d'envoi de video"
511
+ msgstr "Dienstprogramm für den Videoversand"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
512
 
513
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:742
514
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:797
515
+ msgid "Limites"
516
+ msgstr "Obergrenzen"
517
 
518
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:744
519
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:799
520
+ msgid "Le poids des fichiers envoyes via ce module est limite a 1Go"
521
+ msgstr "Die Dateigrösse ist beim Hochladen über dieses Modul auf 1 GB begrenzt"
522
 
523
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:745
524
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:800
525
+ msgid ""
526
+ "Les formats videos supportes sont avi, flv, mov, mpeg, mp4, mkv, rm, wmv, "
527
+ "m4v, vob, 3gp, webm, f4v, ts"
528
+ msgstr ""
529
+ "Folgende Videoformate werden unterstützt: avi, flv, mov, mpeg, mp4, mkv, rm, "
530
+ "wmv, m4v, vob, 3gp, webm, f4v, ts"
531
 
532
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:746
533
+ msgid "L'envoi doit etre effectue en moins de 4 heures"
534
+ msgstr "Der Versand darf nicht länger als 4 Stunden dauern"
535
 
536
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:749
537
+ msgid "Envoi"
538
+ msgstr "Senden"
 
539
 
540
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:782
541
+ msgid "Utilitaire d'importation de video"
542
+ msgstr "Dienstprogramm für den Videoimport"
543
 
544
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:804
545
+ msgid "Adresse"
546
+ msgstr "Adresse"
547
 
548
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:815
549
+ msgid "Cette adresse necessite une authentification."
550
+ msgstr "Diese Adresse erfordert eine Authentifizierung."
551
 
552
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:826
553
+ msgid "Importer"
554
+ msgstr "Importieren"
 
555
 
556
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:865
557
+ msgid "Gestionnaire de videos"
558
+ msgstr "Videoverwaltung"
559
 
560
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:873
561
+ msgid "Supprimer une video"
562
+ msgstr "Video löschen"
563
 
564
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:881
565
+ msgid "Vous etes sur le point de supprimer la video"
566
+ msgstr "Sie sind dabei, das Video zu löschen"
567
 
568
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:884
569
+ msgid "Attention"
570
+ msgstr "Vorsicht"
571
 
572
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:885
573
  msgid ""
574
+ "C'est une suppression definitive de la video, il n'y pas de corbeille ou de "
575
+ "moyen de la recuperer une fois effacer."
 
576
  msgstr ""
577
+ "Das Video wird endgültig gelöscht. Es gibt weder einen Papierkorb noch die "
578
+ "Möglichkeit, ein gelöschtes Video wiederherzustellen."
 
579
 
580
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:887
581
+ msgid "Etes-vous sur de vouloir continuer ?"
582
+ msgstr "Möchten Sie wirklich fortsetzen?"
 
583
 
584
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:892
585
  msgid "Previsualisation d'une video"
586
  msgstr "Video-Vorschau"
587
 
588
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:898
589
+ msgid "Informations"
590
+ msgstr "Informationen"
591
 
592
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:913
593
+ msgid "Restriction d'acces"
594
+ msgstr "Zugangsbeschränkung"
595
 
596
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:923
597
+ msgid "Visualiser la video"
598
+ msgstr "Video anzeigen"
599
 
600
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:928
601
+ msgid "Url de la video"
602
+ msgstr "Video-URL"
603
 
604
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:940
605
+ msgid "Url de l'image"
606
+ msgstr "Bild-URL"
607
 
608
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:947
609
+ msgid "Code d'integration"
610
+ msgstr "Integrationscode"
611
 
612
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:956
613
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:957
614
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1026
615
+ msgid "Administrer cette video"
616
+ msgstr "Dieses Video verwalten"
617
 
618
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:964
619
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1030
620
+ msgid "Voir les statistiques de cette video"
621
+ msgstr "Statistiken dieses Videos anzeigen"
622
+
623
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:965
624
+ msgid "Voir les statistiques"
625
+ msgstr "Statistiken anzeigen"
626
+
627
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:978
628
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:979
629
+ msgid "Creer un article"
630
+ msgstr "Artikel anlegen"
631
 
632
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:992
633
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1134
634
+ msgid "Action"
635
+ msgstr "Aktion"
636
+
637
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1022
638
+ msgid "Information sur cette video"
639
+ msgstr "Informationen zu diesem Video"
640
+
641
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1034
642
  msgid "Supprimer cette video"
643
+ msgstr "Dieses Video löschen"
644
 
645
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1052
646
  msgid "Supprimer definitivement la video"
647
+ msgstr "Video endgültig löschen"
648
 
649
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1055
650
+ msgid "Annuler"
651
+ msgstr "Rückgängig"
652
 
653
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1085
654
+ msgid "Video Geolocalise"
655
+ msgstr "Geolokalisiertes Video"
656
 
657
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1089
658
+ msgid "Securise avec un token"
659
+ msgstr "Mit Token gesichert"
660
 
661
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1122
662
+ #, php-format
663
+ msgid ""
664
+ "Si vous desirez ajouter ou modifier les playlist ci-dessous, veuillez vous "
665
+ "rendre dans <a href='https://statslive.infomaniak.com/vod/playlists.php/g"
666
+ "%ds7i%d' target='_blank'>la console d'administration</a>"
667
+ msgstr ""
668
+ "Wenn Sie die Playlists erweitern oder bearbeiten möchten, begeben Sie sich "
669
+ "in die <a href='https://statslive.infomaniak.com/vod/playlists.php/g%ds7i%d' "
670
+ "target='_blank'>Verwaltungskonsole</a>"
671
 
672
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1130
673
+ msgid "Nombre videos"
674
+ msgstr "Anzahl Videos"
675
 
676
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1132
677
+ msgid "Mode de lecture"
678
+ msgstr "Wiedergabemodus"
679
 
680
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1140
681
+ msgid "Aucune playlist disponible"
682
+ msgstr "Keine Playlist verfügbar"
683
 
684
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1169
685
+ msgid "Administrer cette playlist"
686
+ msgstr "Diese Playlist verwalten"
687
 
688
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1183
689
+ msgid "Integration par defaut des videos"
690
+ msgstr "Standard-Integration der Videos"
691
 
692
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1189
693
+ msgid "Selection du player par defaut"
694
+ msgstr "Auswahl des Standardplayers"
695
 
696
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1206
697
+ msgid "Choisir ce player"
698
+ msgstr "Diesen Player auswählen"
699
 
700
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1208
701
+ msgid "Informations sur ce Player"
702
+ msgstr "Informationen zu diesem Player"
703
 
704
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1224
705
+ msgid "Resolution"
706
+ msgstr "Auflösung"
707
 
708
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1232
709
+ msgid "Switch de qualite"
710
+ msgstr "Qualitäts-Switch"
711
 
712
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1242
713
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1243
714
+ msgid "Modifier ce Player"
715
+ msgstr "Diesen Player bearbeiten"
716
 
717
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1259
718
+ msgid "Creation ou modification de players"
719
+ msgstr "Player erstellen oder bearbeiten"
720
 
721
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1260
722
+ #, php-format
723
+ msgid ""
724
+ "Afin de modifier ou creer de nouveaux players flash, nous vous invitons a "
725
+ "vous rendre dans votre administration vod : <a href='https://statslive."
726
+ "infomaniak.com/vod/player.php/g%ds7i%d' target='_blank'>Acceder a la "
727
+ "configuration des players</a>"
728
+ msgstr ""
729
+ "Bitte begeben Sie sich in Ihre VOD-Verwaltung, um Flash-Player zu bearbeiten "
730
+ "oder anzulegen: <a href='https://statslive.infomaniak.com/vod/player.php/g"
731
+ "%ds7i%d' target='_blank'>Player-Einrichtung anzeigen</a>"
732
 
733
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1261
734
+ msgid "Plus d'options"
735
+ msgstr "Weitere Optionen"
736
 
737
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1263
738
+ msgid ""
739
+ "Il est possible de personnaliser votre player video afin qu'ils s'integre "
740
+ "parfaitement a votre site. Voici quelques fonctionnalites avancees qu'il "
741
+ "propose :"
742
+ msgstr ""
743
+ "Sie können Ihren Videoplayer persönlich gestalten, damit er perfekt in Ihre "
744
+ "Website integriert ist. Er bietet u.a. folgende fortgeschrittenen Funktionen:"
745
 
746
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1265
747
+ msgid ""
748
+ "<li>Fonction de seek permettant de se deplacer dans une video meme longue "
749
+ "quasi instantanement.</li>\n"
750
+ "\t\t\t\t<li>Bouton permettant de changer a la vole entre les differentes "
751
+ "qualites d'une video.</li>\n"
752
+ "\t\t\t\t<li>Bouton d'export sur certains reseau sociaux (facebook, twitter) "
753
+ "afin que votre video soit plus visible.</li>\n"
754
+ "\t\t\t\t<li>Player exportable afin de permettre aux visiteurs de recuperer "
755
+ "le code d'integration.</li>\n"
756
+ "\t\t\t\t<li>Facilite de personnalisation du player via de rapides "
757
+ "modifications (couleurs de la barre, taille de la barre, logo) ou "
758
+ "l'utilisation d'une barre entierement personnaliser.</li>\n"
759
+ "\t\t\t\t<li>Compatibilite avec adswizz afin d'ajouter facilement des "
760
+ "publicites avant ou apres les videos.</li>\n"
761
+ "\t\t\t\t<li>Et encore d'autres options a decouvrir ...</li>"
762
+ msgstr ""
763
+ "<li>Seek-Funktion, um die Abspielposition im Video praktisch unmittelbar zu "
764
+ "verschieben.</li>\n"
765
+ "\t\t\t\t<li>Schaltfläche, um unmittelbar eine andere Videoqualität zu wählen."
766
+ "</li>\n"
767
+ "\t\t\t\t<li>Schaltfläche für den Export in soziale Netzwerke (Facebook, "
768
+ "Twitter), um Ihr Video bekannter zu machen.</li>\n"
769
+ "\t\t\t\t<li>Exportierbarer Player, damit Besucher den Integrationscode "
770
+ "übernehmen können.</li>\n"
771
+ "\t\t\t\t<li>Persönliche Gestaltung des Players über Schnelleinstellungen "
772
+ "(Farbe der Leiste, Grösse der Leiste, Logo) oder Verwendung einer "
773
+ "persönlichen Leiste.</li>\n"
774
+ "\t\t\t\t<li>Adswizz-Kompatibilität, um vor oder nach den Videos bequem "
775
+ "Werbung einzublenden.</li>\n"
776
+ "\t\t\t\t<li>Und viele weitere Optionen ...</li>"
777
 
778
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod_callback.php:26
779
+ msgid "Probleme avec les parametres"
780
+ msgstr "Problem mit den Einstellungen"
781
 
782
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod_callback.php:30
783
+ msgid "Dossier inconnu"
784
+ msgstr "Unbekannter Ordner"
785
 
786
+ #~ msgid "Ajout"
787
+ #~ msgstr "Hinzufügen"
 
788
 
789
+ #~ msgid "Dernieres videos"
790
+ #~ msgstr "Letzte Videos"
 
 
791
 
792
+ #~ msgid "Outil de recherche"
793
+ #~ msgstr "Such-Tool"
 
794
 
795
+ #~ msgid "Utilisation du token du dossier (Id dossier)"
796
+ #~ msgstr "Verwendung des Ordner-Tokens (Ordner-ID)"
languages/vod_infomaniak-en_US.mo CHANGED
Binary file
languages/vod_infomaniak-en_US.po CHANGED
@@ -7,601 +7,854 @@ msgid ""
7
  msgstr ""
8
  "Project-Id-Version: vod\n"
9
  "Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2011-10-31 10:54+0100\n"
11
- "PO-Revision-Date: 2011-11-21 18:50+0100\n"
12
  "Last-Translator: \n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
  "Language: fr_FR\n"
15
  "MIME-Version: 1.0\n"
16
  "Content-Type: text/plain; charset=UTF-8\n"
17
  "Content-Transfer-Encoding: 8bit\n"
 
 
 
 
 
 
 
 
 
 
18
 
19
- #: vod.template.php:77
20
- msgid "1. Selection du dossier"
21
- msgstr "1. Folder selection"
22
 
23
- #: vod.template.php:93
24
- msgid "2. Envoi d'un fichier"
25
- msgstr "2. File sending"
26
 
27
- #: vod.template.php:927
28
- msgid ""
29
- "<li>Fonction de seek permettant de se deplacer dans une video meme longue quasi instantanement.</li>\n"
30
- "\t\t\t\t<li>Bouton permettant de changer a la vole entre les differentes qualites d'une video.</li>\n"
31
- "\t\t\t\t<li>Bouton d'export sur certains reseau sociaux (facebook, twitter) afin que votre video soit plus visible.</li>\n"
32
- "\t\t\t\t<li>Player exportable afin de permettre aux visiteurs de recuperer le code d'integration.</li>\n"
33
- "\t\t\t\t<li>Facilite de personnalisation du player via de rapides modifications (couleurs de la barre, taille de la barre, logo) ou l'utilisation d'une barre entierement personnaliser.</li>\n"
34
- "\t\t\t\t<li>Compatibilite avec adswizz afin d'ajouter facilement des publicites avant ou apres les videos.</li>\n"
35
- "\t\t\t\t<li>Et encore d'autres options a decouvrir ...</li>"
36
- msgstr ""
37
- "<li>Seek function to navigate virtually instantly inside a video, even a long one.</li>\n"
38
- "\t\t\t\t<li>Button to choose instantly between different video qualities.</li>\n"
39
- "\t\t\t\t<li>Export button to increase your video visibilities on different social networks (facebook, twitter).</li>\n"
40
- "\t\t\t\t<li>Exportable player giving the possibility to visitors of getting the integration code.</li>\n"
41
- "\t\t\t\t<li>Easy player customization via quick changes (bar colours, size, logo) or use of an entirely customized bar.</li>\n"
42
- "\t\t\t\t<li>Adswizz compatible to add easily advertising before or after the videos.</li>\n"
43
- "\t\t\t\t<li>And more options to discover ...</li>"
44
-
45
- #: vod.template.php:702
46
- #: vod.template.php:823
47
- msgid "Action"
48
- msgstr "Action"
49
 
50
- #: vod.template.php:230
51
- msgid "Administration du plugin VOD"
52
- msgstr "VOD plugin administration"
 
 
53
 
54
- #: vod.template.php:852
55
- msgid "Administrer cette playlist"
56
- msgstr "Administer this playlist"
57
 
58
- #: vod.template.php:674
59
- #: vod.template.php:721
60
- msgid "Administrer cette video"
61
- msgstr "Administer this video"
 
 
62
 
63
- #: vod.template.php:550
64
- msgid "Adresse"
65
- msgstr "Address"
 
66
 
67
- #: vod.template.php:303
68
- msgid "Adresse de callback"
69
- msgstr "Callback address"
 
70
 
71
- #: vod.template.php:922
72
- #, php-format
73
- msgid "Afin de modifier ou creer de nouveaux players flash, nous vous invitons a vous rendre dans votre administration vod : <a href='https://statslive.infomaniak.com/vod/player.php?iVodCode=%d' target='_blank'>Acceder a la configuration des players</a>"
74
- msgstr "To modify or create new flash players, we invite you to log in to your VOD administration : <a href='https://statslive.infomaniak.com/vod/player.php?iVodCode=%d' target='_blank'>Accessing players configuration</a>"
75
 
76
- #: vod.class.php:147
77
- msgid "Ajout"
78
- msgstr "Adding"
 
 
 
 
 
79
 
80
- #: vod.template.php:744
81
- msgid "Annuler"
82
- msgstr "Cancel"
 
 
83
 
84
- #: vod.class.php:576
85
- msgid "Article correctement cree. Vous allez etre rediriger sur la page d'edition"
86
- msgstr "Item successfully created. You are being redirected to the editing page"
 
87
 
88
- #: vod.template.php:621
89
- msgid "Attention"
90
- msgstr "Caution"
91
 
92
- #: vod.template.php:82
93
- #: vod.template.php:357
94
- msgid "Aucun dossier disponible"
95
- msgstr "No folder available"
96
 
97
- #: vod.template.php:192
98
- #: vod.template.php:876
99
- #: vod.template.php:892
100
- msgid "Aucun player disponible"
101
- msgstr "No player available"
102
 
103
- #: vod.template.php:829
104
- msgid "Aucune playlist disponible"
105
- msgstr "No playlist available"
106
 
107
- #: vod.template.php:51
108
- #: vod.template.php:708
109
- msgid "Aucune video disponible"
110
- msgstr "No video available"
111
 
112
- #: vod.template.php:23
113
- msgid "Avec l'url"
114
- msgstr "With the URL"
 
115
 
116
- #: vod.template.php:622
117
- msgid "C'est une suppression definitive de la video, il n'y pas de corbeille ou de moyen de la recuperer une fois effacer."
118
- msgstr "The deletion of the video is permanent, there is no trash or means of recovery once deleted."
119
 
120
- #: vod.template.php:350
121
- msgid "Ce plug-in vous permet d'ajouter de nouvelles videos directement depuis ce blog. Pour cela, vous n'avez qu'a choisir un dossier puis suivre les instructions"
122
- msgstr "This plug-in enables you to add new videos directly from this blog. All you need to do is choose a folder and follow instructions"
 
 
 
123
 
124
- #: vod.template.php:560
125
- msgid "Cette adresse necessite une authentification."
126
- msgstr "This address requests an authentication."
 
127
 
128
- #: vod.template.php:299
129
- #, php-format
130
- msgid "Cette option vous permet de mettre a jour automatiquement votre blog a chaque ajout de video a votre espace VOD.<br/>Veuillez aller dans \"<a href='https://statslive.infomaniak.com/vod/configuration.php?iVodCode=%d' target='_blank'>Configuration -> Api & Callback</a>\" et mettre l'adresse suivante dans le champ \"Adresse de Callback\""
131
- msgstr "This option will help you updating automatically your blog each time you add a video to your VOD space.<br/> Go to \"<a href='https://statslive.infomaniak.com/vod/configuration.php?iVodCode=%d' target='_blank'>Configuration -> Api & Callback</a>\" and type in the following URL in the \"Callback adress\" field"
 
 
 
 
 
 
132
 
133
- #: vod.template.php:887
134
- msgid "Choisir ce player"
135
- msgstr "Choose this player"
 
 
136
 
137
- #: vod.template.php:352
138
- msgid "Choix du dossier d'envoi"
139
- msgstr "Selection of sending folder"
 
140
 
141
- #: vod.template.php:368
142
- msgid "Choix du type d'envoi"
143
- msgstr "Selection of type of sending"
 
 
144
 
145
- #: vod.template.php:667
146
- msgid "Code d'integration"
147
- msgstr "Integration code"
 
148
 
149
- #: vod.class.php:98
150
- msgid "Configuration"
151
- msgstr "Configuration"
 
152
 
153
- #: vod.template.php:298
154
- msgid "Configuration du callback"
155
- msgstr "Callback Configuration "
 
156
 
157
- #: vod.template.php:255
158
- msgid "Connecter"
159
- msgstr "Connect"
160
 
161
- #: vod.template.php:252
162
- msgid "Connection"
163
- msgstr "Connection"
 
 
 
164
 
165
- #: vod.template.php:921
166
- msgid "Creation ou modification de players"
167
- msgstr "Creation or modification of players"
 
 
168
 
169
- #: vod.template.php:689
170
- msgid "Creer un article"
171
- msgstr "Write an article"
 
 
 
 
172
 
173
- #: vod.template.php:316
174
- #: vod.template.php:822
175
- #: vod.template.php:899
176
- msgid "Date"
177
- msgstr "Date"
178
 
179
- #: vod.template.php:45
180
- #: vod.template.php:701
181
- msgid "Date d'upload"
182
- msgstr "Date of upload"
183
 
184
- #: vod.template.php:210
185
- #: vod.template.php:901
186
- msgid "Demarrage automatique"
187
- msgstr "Automatic launch"
188
 
189
- #: vod.template.php:22
190
- msgid "Dernieres videos"
191
- msgstr "Last videos"
192
 
193
- #: vod.template.php:316
194
- #: vod.template.php:818
195
- msgid "Description"
196
- msgstr "Description"
 
197
 
198
- #: vod.template.php:183
199
- msgid "Dimensions"
200
- msgstr "Size"
 
201
 
202
- #: vod.template.php:85
203
- #: vod.template.php:360
204
- #: vod.template.php:700
205
- msgid "Dossier"
206
- msgstr "Folder"
207
 
208
- #: vod.template.php:79
209
- #: vod.template.php:488
210
- #: vod.template.php:539
211
- msgid "Dossier d'envoi"
212
- msgstr "Sending folder"
213
 
214
- #: vod.template.php:274
215
- msgid "Dossiers recuperes"
216
- msgstr "Recovered folders"
217
 
218
- #: vod.class.php:147
219
- #: vod.template.php:820
220
- msgid "Duree"
221
- msgstr "Duration"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
222
 
223
- #: vod.template.php:333
224
- msgid "En cours de conversion"
225
- msgstr "Conversion in progress"
 
226
 
227
- #: vod.template.php:499
228
- msgid "Envoi"
229
- msgstr "Upload"
230
 
231
- #: vod.template.php:349
232
- msgid "Envoi d'une nouvelle video"
233
- msgstr "Upload a new video"
 
234
 
235
- #: vod.template.php:24
236
- msgid "Envoi d'une video"
237
- msgstr "Sending of a video"
238
 
239
- #: vod.template.php:376
240
- msgid "Envoi termine"
241
- msgstr "Sending complete"
242
 
243
- #: vod.template.php:369
244
- msgid "Envoyer depuis cet ordinateur"
245
- msgstr "Send from this computer"
 
 
246
 
247
- #: vod.class.php:504
248
- msgid "Erreur : Impossible de se connecter"
249
- msgstr "Error : Impossible to connect"
250
 
251
- #: vod.template.php:336
252
- msgid "Erreurs"
253
- msgstr "Errors"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
254
 
255
- #: vod.template.php:624
256
- msgid "Etes-vous sur de vouloir continuer ?"
257
- msgstr "Are you sure you want to continue?"
 
258
 
259
- #: vod.template.php:206
260
- msgid "Etirer la video (stretch)"
261
- msgstr "Stretch the video"
 
262
 
263
- #: vod.template.php:30
264
- msgid "Exemple"
265
- msgstr "Example"
 
266
 
267
- #: vod.template.php:316
268
- msgid "Fichier"
269
- msgstr "File"
 
270
 
271
- #: vod.class.php:94
272
- msgid "Gestionnaire"
273
- msgstr "Manager"
274
 
275
- #: vod.template.php:605
276
- msgid "Gestionnaire de videos"
277
- msgstr "Video manager"
 
278
 
279
- #: vod.template.php:248
280
- msgid "Identifiant de l'espace VOD"
281
- msgstr "VOD Space identifier"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
282
 
283
- #: vod.template.php:34
284
- msgid "Identifiant de playlist"
285
- msgstr "Playlist identifier"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
286
 
287
- #: vod.template.php:925
288
- msgid "Il est possible de personnaliser votre player video afin qu'ils s'integre parfaitement a votre site. Voici quelques fonctionnalites avancees qu'il propose :"
289
- msgstr "You can customize your video player so it fits in perfectly to your website. Here are a few advanced functionalities it offers:"
 
 
 
 
 
 
 
 
 
 
 
 
290
 
291
- #: vod.class.php:108
292
- #: vod.class.php:606
293
- #: vod.class.php:617
294
- msgid "Il n'est pas possible d'uploader dans ce dossier."
295
- msgstr "Uploading in this folder is not possible. "
296
 
297
- #: vod.class.php:95
298
- msgid "Importation"
299
- msgstr "Upload"
 
 
300
 
301
- #: vod.template.php:566
302
- msgid "Importer"
303
- msgstr "Import"
304
 
305
- #: vod.template.php:370
306
- msgid "Importer depuis un autre site"
307
- msgstr "Import from a web address"
 
 
308
 
309
- #: vod.template.php:257
310
- msgid "Impossible de se connecter"
311
- msgstr "Unable to connect to the server"
312
 
313
- #: vod.template.php:720
314
- msgid "Information sur cette video"
315
- msgstr "Information about this video"
316
 
317
- #: vod.template.php:635
318
- msgid "Informations"
319
- msgstr "Information"
 
320
 
321
- #: vod.template.php:889
322
- msgid "Informations sur ce Player"
323
- msgstr "Information about this player"
 
324
 
325
- #: vod.template.php:650
326
- msgid "Integration"
327
- msgstr "Integration"
 
328
 
329
- #: vod.template.php:866
330
- msgid "Integration par defaut des videos"
331
- msgstr "Integration by default of videos"
332
 
333
- #: vod.template.php:378
334
- msgid "L'ajout de cette video a correctement ete pris en compte.<br/>Vous pouvez retrouver l'avancement de cette conversion video dans le tableau ci-dessous."
335
- msgstr "Adding of the video was successfuly registered.<br/>Check out the progress of the video conversion in the table below."
 
336
 
337
- #: vod.template.php:496
338
- msgid "L'envoi doit etre effectue en moins de 4 heures"
339
- msgstr "Sending must be completed within 4 hours"
 
 
 
 
 
 
340
 
341
- #: vod.template.php:494
342
- #: vod.template.php:545
343
- msgid "Le poids des fichiers envoyes via ce module est limite a 1Go"
344
- msgstr "Size of files sent using this module is limited to 1Go"
345
 
346
- #: vod.template.php:214
347
- #: vod.template.php:902
348
- msgid "Lecture en boucle"
349
- msgstr "Loop playback"
350
 
351
- #: vod.template.php:495
352
- #: vod.template.php:546
353
- msgid "Les formats videos supportes sont avi, flv, mov, mpeg, mp4, mkv, rm, wmv, m4v, vob, 3gp, webm, f4v, ts"
354
- msgstr "The supported video formats are avi, flv, mov, mpeg, mp4, mkv, rm, wmv, m4v, vob, 3gp, webm, f4v, ts"
355
 
356
- #: vod.template.php:492
357
- #: vod.template.php:543
358
- msgid "Limites"
359
- msgstr "Limitations"
360
 
361
- #: vod.template.php:240
362
- #: vod.template.php:563
363
- msgid "Login"
364
- msgstr "Login"
 
 
 
 
 
 
 
 
 
365
 
366
- #: vod.template.php:427
367
  msgid "Mise a jour dans"
368
  msgstr "Update in"
369
 
370
- #: vod.template.php:821
371
- msgid "Mode de lecture"
372
- msgstr "Play mode"
373
-
374
- #: vod.template.php:906
375
- msgid "Modifier ce Player"
376
- msgstr "Modify this player"
377
-
378
- #: vod.template.php:44
379
- #: vod.template.php:85
380
- #: vod.template.php:360
381
- #: vod.template.php:644
382
- #: vod.template.php:817
383
- #: vod.template.php:898
384
- msgid "Nom"
385
- msgstr "Name"
386
-
387
- #: vod.template.php:819
388
- msgid "Nombre videos"
389
- msgstr "Number of videos"
390
 
391
- #: vod.template.php:324
392
- msgid "OK"
393
- msgstr "OK"
 
 
394
 
395
- #: vod.template.php:327
396
- msgid "Ok (des alertes sont apparues)"
397
- msgstr "Ok (some alerts occurred)"
 
 
398
 
399
- #: vod.template.php:180
400
- msgid "Options d'integration"
401
- msgstr "Integration options"
 
 
 
 
 
 
402
 
403
- #: vod.template.php:25
404
- msgid "Outil de recherche"
405
- msgstr "Search tool"
 
406
 
407
- #: vod.template.php:244
408
- #: vod.template.php:564
409
- msgid "Password"
410
- msgstr "Password"
411
 
412
- #: vod.template.php:188
413
- msgid "Player choisi"
414
- msgstr "Selected Player"
 
415
 
416
- #: vod.class.php:96
417
- msgid "Player video"
418
- msgstr "Video player"
419
 
420
- #: vod.template.php:278
421
- msgid "Players recuperes"
422
- msgstr "Recovered players"
 
423
 
424
- #: vod.class.php:97
425
- #: vod.template.php:170
426
- msgid "Playlist"
427
- msgstr "Playlist"
428
 
429
- #: vod.template.php:282
430
- msgid "Playlist recuperes"
431
- msgstr "Recovered playlist"
432
 
433
- #: vod.template.php:810
434
- msgid "Playlists"
435
- msgstr "Playlists"
436
 
437
- #: vod.template.php:923
438
- msgid "Plus d'options"
439
- msgstr "More options"
440
 
441
- #: vod.template.php:268
442
- msgid "Pour fonctionner correctement, cette extension a besoin de se synchroniser regulierement avec votre compte VOD.<br/>Cela vous permet de garder une liste des players, dossiers et playlist a jour sur votre blog.<br/>Cette operation s'effectue automatiquement assez regulierement mais il est egalement possible de forcer une verification ci-dessous."
443
- msgstr "To work correctly, this extension needs to synchronize regularly with your VOD account.<br/>This enables you to keep an updated list of players, folders and playlist on your blog.<br/>This operation is quite regularly automatically launched but you can also force a checking below."
 
444
 
445
- #: vod.template.php:234
 
446
  msgid ""
447
- "Pour fonctionner, le plugin a besoin de s'interfacer avec votre compte VOD infomaniak.<br/>\n"
448
- "\t\t\t\tPour des raisons de securites, il est fortement conseille de creer un nouvel utilisateur dedie dans votre admin infomaniak avec uniquement des droits restreints sur l'API.<br/>\n"
449
- "\t\t\t\tPour plus d'information, veuillez vous rendre dans la partie \"Configuration -> Api & Callback\" de votre administration VOD."
450
  msgstr ""
451
- "To work properly, the plugin must be interfaced with your infomaniak VOD account.<br/>\n"
452
- "\t\t\t\tFor security reasons it is strongly recommended you created a new dedicated user in your infomaniak admin with only restricted rights on the API. <br/>\n"
453
- "\t\t\t\tFor more information please go to the \"Configuration -> Api & Callback\" section of your VOD administration."
454
 
455
- #: vod.template.php:314
456
- #: vod.template.php:813
457
- msgid "Precedents Envois"
458
- msgstr "Previous Sendings"
459
 
460
- #: vod.template.php:629
461
  msgid "Previsualisation d'une video"
462
  msgstr "Video preview"
463
 
464
- #: vod.class.php:529
465
- msgid "Probleme de configuration"
466
- msgstr "Configuration problem"
467
-
468
- #: vod.template.php:168
469
- msgid "Recherche d'une"
470
- msgstr "Search of"
471
-
472
- #: vod.template.php:900
473
- msgid "Resolution"
474
- msgstr "Resolution"
475
 
476
- #: vod.template.php:647
477
  msgid "Restriction d'acces"
478
- msgstr "Acess restriction"
479
 
480
- #: vod.template.php:778
481
- msgid "Securise avec un token"
482
- msgstr "Secured with a token"
483
 
484
- #: vod.template.php:872
485
- msgid "Selection du player par defaut"
486
- msgstr "Selection of player by default"
487
 
488
- #: vod.template.php:811
489
- #, php-format
490
- msgid "Si vous desirez ajouter ou modifier les playlist ci-dessous, veuillez vous rendre dans <a href='https://statslive.infomaniak.com/vod/playlists.php?iVodCode=%s' target='_blank'>la console d'administration</a>"
491
- msgstr "If you wish to add or change playlists below, please go to <a href='https://statslive.infomaniak.com/vod/playlists.php?iVodCode=%s' target='_blank'>the administration console</a>"
492
 
493
- #: vod.template.php:316
494
- msgid "Statut"
495
- msgstr "Status"
496
 
497
- #: vod.template.php:723
498
- msgid "Supprimer cette video"
499
- msgstr "Delete this video"
 
 
 
500
 
501
- #: vod.template.php:741
502
- msgid "Supprimer definitivement la video"
503
- msgstr "Permanently delete the video"
 
 
504
 
505
- #: vod.template.php:613
506
- msgid "Supprimer une video"
507
- msgstr "Delete a video"
 
508
 
509
- #: vod.template.php:903
510
- msgid "Switch de qualite"
511
- msgstr "Quality switch"
 
512
 
513
- #: vod.template.php:267
514
- msgid "Synchronisation des donnees"
515
- msgstr "Data synchronization"
 
516
 
517
- #: vod.template.php:290
518
- msgid "Synchronisation rapide"
519
- msgstr "Fast synchronization"
520
 
521
- #: vod.template.php:294
522
- msgid "Synchroniser Videos"
523
- msgstr "Synchonize videos"
524
 
525
- #: vod.template.php:330
526
- msgid "Telechargement en cours"
527
- msgstr "Downloading in progress"
 
528
 
529
- #: vod.template.php:32
530
- msgid "Url complete"
531
- msgstr "Complete URL"
532
 
533
- #: vod.template.php:663
534
- msgid "Url de l'image"
535
- msgstr "Picture URL"
 
536
 
537
- #: vod.template.php:656
538
- msgid "Url de la video"
539
- msgstr "Video URL"
 
540
 
541
- #: vod.template.php:33
542
- msgid "Url partiel"
543
- msgstr "Incomplete url"
 
 
 
 
 
 
 
 
544
 
545
- #: vod.template.php:218
546
- msgid "Utilisation du token du dossier (Id dossier)"
547
- msgstr "Use of folder token (Id folder)"
548
 
549
- #: vod.template.php:486
550
- msgid "Utilitaire d'envoi de video"
551
- msgstr "Video sending utility program"
552
 
553
- #: vod.template.php:532
554
- msgid "Utilitaire d'importation de video"
555
- msgstr "Video import utility program"
556
 
557
- #: vod.template.php:261
558
- msgid "Valider"
559
- msgstr "Submit"
 
560
 
561
- #: vod.template.php:28
562
- msgid "Veuillez saisir l'URL d'une video"
563
- msgstr "Please enter a video URL"
564
 
565
- #: vod.class.php:529
566
- msgid "Veuillez-vous rendre dans <a href='admin.php?page=configuration'>Videos -> Configuration</a> afin de configurer votre compte."
567
- msgstr "Please go to <a href='admin.php?page=setting'>Videos -> Setting</a> to set your account. "
568
 
569
- #: vod.template.php:43
570
- #: vod.template.php:169
571
- #: vod.template.php:699
572
- msgid "Video"
573
- msgstr "Video"
574
 
575
- #: vod.template.php:774
576
- msgid "Video Geolocalise"
577
- msgstr "Geolocated video"
578
 
579
- #: vod.class.php:200
580
- msgid "Video en cours de conversion"
581
- msgstr "Video converting"
582
 
583
- #: vod.class.php:90
584
- msgid "Videos"
585
- msgstr "Videos"
586
 
587
- #: vod.template.php:270
588
- msgid "Videos recuperes"
589
- msgstr "Recovered videos"
 
 
590
 
591
- #: vod.template.php:653
592
- msgid "Visualiser la video"
593
- msgstr "Display video"
 
594
 
595
- #: vod.template.php:679
596
- msgid "Voir les statistiques"
597
- msgstr "Show statistics"
 
 
 
 
 
 
 
 
 
598
 
599
- #: vod.template.php:679
600
- #: vod.template.php:722
601
- msgid "Voir les statistiques de cette video"
602
- msgstr "Show this video's statistics"
603
 
604
- #: vod.template.php:619
605
- msgid "Vous etes sur le point de supprimer la video"
606
- msgstr "You are about to delete the video"
 
 
 
 
 
 
607
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  msgstr ""
8
  "Project-Id-Version: vod\n"
9
  "Report-Msgid-Bugs-To: \n"
10
+ "POT-Creation-Date: 2014-04-17 11:14+0100\n"
11
+ "PO-Revision-Date: 2014-05-12 09:42+0100\n"
12
  "Last-Translator: \n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
  "Language: fr_FR\n"
15
  "MIME-Version: 1.0\n"
16
  "Content-Type: text/plain; charset=UTF-8\n"
17
  "Content-Transfer-Encoding: 8bit\n"
18
+ "X-Generator: Poedit 1.6.5\n"
19
+ "X-Poedit-KeywordsList: _e;__\n"
20
+ "X-Poedit-Basepath: .\n"
21
+ "X-Poedit-SearchPath-0: /Users/daviderubini/Projets/LOCAL/wordpress/wp-"
22
+ "content/plugins/vod-infomaniak\n"
23
+
24
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:147
25
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:21
26
+ msgid "Videos"
27
+ msgstr "Videos"
28
 
29
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:152
30
+ msgid "Gestionnaire"
31
+ msgstr "Manager"
32
 
33
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:155
34
+ msgid "Importation"
35
+ msgstr "Import"
36
 
37
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:158
38
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:499
39
+ msgid "Player video"
40
+ msgstr "Video player"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
41
 
42
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:161
43
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:89
44
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:515
45
+ msgid "Playlist"
46
+ msgstr "Playlist"
47
 
48
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:164
49
+ msgid "Configuration"
50
+ msgstr "Configuration"
51
 
52
+ #  NC NEW-TRANSLATION
53
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:177
54
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:755
55
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:767
56
+ msgid "Il n'est pas possible d'uploader dans ce dossier."
57
+ msgstr "It is not possible to upload to this folder."
58
 
59
+ #  NC REVISED
60
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:288
61
+ msgid "Video en cours de conversion"
62
+ msgstr "Converting video"
63
 
64
+ # NC REVISED
65
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:632
66
+ msgid "Erreur : Impossible de se connecter"
67
+ msgstr "Error: Cannot connect"
68
 
69
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:673
70
+ msgid "Probleme de configuration"
71
+ msgstr "Configuration problem"
 
72
 
73
+ #  NC REVISED
74
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:673
75
+ msgid ""
76
+ "Veuillez-vous rendre dans <a href='admin.php?page=configuration'>Videos -> "
77
+ "Configuration</a> afin de configurer votre compte."
78
+ msgstr ""
79
+ "Please go to <a href='admin.php?page=setting'>Videos -> Settings</a> to set "
80
+ "up your account."
81
 
82
+ #  NC REVISED
83
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:723
84
+ msgid ""
85
+ "Article correctement cree. Vous allez etre rediriger sur la page d'edition"
86
+ msgstr "Item successfully created. You will be redirected to the editing page"
87
 
88
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:22
89
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1121
90
+ msgid "Playlists"
91
+ msgstr "Playlists"
92
 
93
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:23
94
+ msgid "Avec l'url"
95
+ msgstr "With the URL"
96
 
97
+ #  NC REVISED
98
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:25
99
+ msgid "Envoi d'une video"
100
+ msgstr "Uploading a video"
101
 
102
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:31
103
+ msgid "Veuillez saisir l'URL d'une video"
104
+ msgstr "Please enter a video URL"
 
 
105
 
106
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:33
107
+ msgid "Exemple"
108
+ msgstr "Example"
109
 
110
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:35
111
+ msgid "Url complete"
112
+ msgstr "Complete URL"
 
113
 
114
+ #  NC NEW-TRANSLATION
115
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:36
116
+ msgid "Url partiel"
117
+ msgstr "Partial URL"
118
 
119
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:37
120
+ msgid "Identifiant de playlist"
121
+ msgstr "Playlist identifier"
122
 
123
+ #  NC NEW-TRANSLATION
124
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:45
125
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:83
126
+ #, fuzzy
127
+ msgid "Rechercher ..."
128
+ msgstr "Search..."
129
 
130
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:51
131
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:989
132
+ msgid "Video"
133
+ msgstr "Video"
134
 
135
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:52
136
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:139
137
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:444
138
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:446
139
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:602
140
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:910
141
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1128
142
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1219
143
+ msgid "Nom"
144
+ msgstr "Name"
145
 
146
+ # NC REVISED
147
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:53
148
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:991
149
+ msgid "Date d'upload"
150
+ msgstr "Date uploaded"
151
 
152
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:59
153
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:998
154
+ msgid "Aucune video disponible"
155
+ msgstr "No video available"
156
 
157
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:90
158
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:555
159
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1129
160
+ msgid "Description"
161
+ msgstr "Description"
162
 
163
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:91
164
+ #, fuzzy
165
+ msgid "Nbr Videos"
166
+ msgstr "Number of videos"
167
 
168
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:92
169
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1131
170
+ msgid "Duree"
171
+ msgstr "Duration"
172
 
173
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:98
174
+ #, fuzzy
175
+ msgid "Aucune playlist de disponible"
176
+ msgstr "No playlist available"
177
 
178
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:131
179
+ msgid "1. Selection du dossier"
180
+ msgstr "1. Folder selection"
181
 
182
+ #  NC REVISED
183
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:133
184
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:736
185
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:790
186
+ msgid "Dossier d'envoi"
187
+ msgstr "Upload folder"
188
 
189
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:136
190
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:440
191
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:599
192
+ msgid "Aucun dossier disponible"
193
+ msgstr "No folder available"
194
 
195
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:139
196
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:444
197
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:446
198
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:602
199
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:990
200
+ msgid "Dossier"
201
+ msgstr "Folder"
202
 
203
+ #  NC NEW-TRANSLATION
204
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:148
205
+ msgid "2. Envoi d'un fichier"
206
+ msgstr "2. Uploading a file"
 
207
 
208
+ #  NC NEW-TRANSLATION
209
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:224
210
+ msgid "Options d'integration"
211
+ msgstr "Embedding options"
212
 
213
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:227
214
+ msgid "Dimensions"
215
+ msgstr "Size"
 
216
 
217
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:233
218
+ msgid "Player choisi"
219
+ msgstr "Selected Player"
220
 
221
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:237
222
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1194
223
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1211
224
+ msgid "Aucun player disponible"
225
+ msgstr "No player available"
226
 
227
+ #  NC REVISED
228
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:252
229
+ msgid "Etirer la video (stretch)"
230
+ msgstr "Stretch video"
231
 
232
+ #  NC NEW-TRANSLATION
233
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:257
234
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1227
235
+ msgid "Demarrage automatique"
236
+ msgstr "Playback starts automatically"
237
 
238
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:262
239
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1230
240
+ msgid "Lecture en boucle"
241
+ msgstr "Loop playback"
 
242
 
243
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:343
244
+ msgid "Administration du plugin VOD"
245
+ msgstr "VOD plugin administration"
246
 
247
+ #  NC REVISED
248
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:348
249
+ msgid ""
250
+ "Pour fonctionner, le plugin a besoin de s'interfacer avec votre compte VOD "
251
+ "infomaniak.<br/>\n"
252
+ "\t\t\t\tPour des raisons de securites, il est fortement conseille de creer "
253
+ "un nouvel utilisateur dedie dans votre admin infomaniak avec uniquement des "
254
+ "droits restreints sur l'API.<br/>\n"
255
+ "\t\t\t\tPour plus d'information, veuillez vous rendre dans la partie "
256
+ "\"Configuration -> Api & Callback\" de votre administration VOD."
257
+ msgstr ""
258
+ "To work properly, the plugin needs to interface with your Infomaniak VOD "
259
+ "account.<br/>\n"
260
+ "\t\t\t\tFor security reasons it is strongly recommended that you created a "
261
+ "new dedicated user in your Infomaniak control panel with permissions "
262
+ "restricted to API access only. <br/>\n"
263
+ "\t\t\t\tFor more information please go to the \"Configuration -> Api & "
264
+ "Callback\" section of your VOD control panel."
265
+
266
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:355
267
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:819
268
+ msgid "Login"
269
+ msgstr "Login"
270
 
271
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:361
272
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:821
273
+ msgid "Password"
274
+ msgstr "Password"
275
 
276
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:367
277
+ msgid "Identifiant de l'espace VOD"
278
+ msgstr "VOD Space identifier"
279
 
280
+ #  NC REVISED
281
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:373
282
+ msgid "Connection"
283
+ msgstr "Connecting"
284
 
285
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:376
286
+ msgid "Connecter"
287
+ msgstr "Connect"
288
 
289
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:379
290
+ msgid "Impossible de se connecter"
291
+ msgstr "Unable to connect to the server"
292
 
293
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:386
294
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:452
295
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:532
296
+ msgid "Valider"
297
+ msgstr "Submit"
298
 
299
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:392
300
+ msgid "Synchronisation des donnees"
301
+ msgstr "Data synchronization"
302
 
303
+ #  NC REVISED
304
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:393
305
+ msgid ""
306
+ "Pour fonctionner correctement, cette extension a besoin de se synchroniser "
307
+ "regulierement avec votre compte VOD.<br/>Cela vous permet de garder une "
308
+ "liste des players, dossiers et playlist a jour sur votre blog.<br/>Cette "
309
+ "operation s'effectue automatiquement assez regulierement mais il est "
310
+ "egalement possible de forcer une verification ci-dessous."
311
+ msgstr ""
312
+ "To work correctly, this extension needs to synchronize with your VOD account "
313
+ "on a regular basis.<br/>This allows you to keep an up to date list of "
314
+ "players, folders and playlists on your blog.<br/>This operation "
315
+ "automatically takes place on a fairly regular basis, but you can also force "
316
+ "a check below."
317
+
318
+ #  NC NEW-TRANSLATION
319
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:395
320
+ msgid "Videos recuperes"
321
+ msgstr "Videos retrieved"
322
 
323
+ #  NC NEW-TRANSLATION
324
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:399
325
+ msgid "Dossiers recuperes"
326
+ msgstr "Folders retrieved"
327
 
328
+ #  NC NEW-TRANSLATION
329
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:403
330
+ msgid "Players recuperes"
331
+ msgstr "Players retrieved"
332
 
333
+ #  NC NEW-TRANSLATION
334
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:407
335
+ msgid "Playlist recuperes"
336
+ msgstr "Playlists retrieved"
337
 
338
+ #  NC NEW-TRANSLATION
339
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:417
340
+ msgid "Synchronisation rapide"
341
+ msgstr "Quick sync"
342
 
343
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:423
344
+ msgid "Synchroniser Videos"
345
+ msgstr "Synchonize videos"
346
 
347
+ #  NC REVISED
348
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:427
349
+ msgid "Filtrer l'acces a l'espace VOD"
350
+ msgstr "Filtering access to your VOD space"
351
 
352
+ #  NC NEW-TRANSLATION
353
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:428
354
+ msgid ""
355
+ "Par defaut, ce plugin permet d'acceder a l'integralite des videos/dossiers "
356
+ "presents sur votre espace VOD.<br/>\n"
357
+ "\t\t\t\tIl peut etre utile dans certains cas de limiter l'acces aux "
358
+ "utilisateurs de ce site qu'a une partie des dossiers.<br/>\n"
359
+ "\t\t\t\tL'option ci-dessous permet de restreindre l'acces de ce site a un "
360
+ "dossier ainsi que tous ses dossiers fils."
361
+ msgstr ""
362
+ "By default, this plugin allows access to all videos/folders in your VOD "
363
+ "space.<br />\n"
364
+ "\t\t\t\tUnder some circumstances, it may be useful to limit site access to "
365
+ "just a subsection of users.<br />\n"
366
+ "\t\t\t\tThe option below allows you to restrict access to this site to a "
367
+ "particular folder and all subfolders."
368
+
369
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:436
370
+ msgid "Dossier Racine"
371
+ msgstr "Root Folder"
372
+
373
+ #  NC NEW-TRANSLATION
374
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:456
375
+ msgid "Gestion des droits par groupe d'utilisateur"
376
+ msgstr "Managing products by user group"
377
+
378
+ #  NC REVISED
379
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:458
380
+ msgid ""
381
+ "Par defaut, toutes les options du plugin sont disponibles pour les "
382
+ "utilisateurs a partir du rang de contributeur.<br/>\n"
383
+ "\t\t\t\tCi-dessous, il est cependant possible de parametrer les options que "
384
+ "vous souhaitez proposer a vos utilisateurs."
385
+ msgstr ""
386
+ "By default, all plugin options are available to users belonging to the "
387
+ "Contributor category and above.<br/>\n"
388
+ "\t\t\t\tHowever, in the section below, you may configure the options that "
389
+ "you wish to offer to your users."
390
 
391
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:467
392
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:917
393
+ msgid "Integration"
394
+ msgstr "Embedding"
395
+
396
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:471
397
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:487
398
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:503
399
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:519
400
+ msgid "Contributeur"
401
+ msgstr "Contributor"
402
+
403
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:474
404
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:490
405
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:506
406
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:522
407
+ msgid "Auteur"
408
+ msgstr "Author"
409
+
410
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:477
411
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:493
412
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:509
413
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:525
414
+ msgid "Editeur"
415
+ msgstr "Editor"
416
+
417
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:480
418
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:496
419
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:512
420
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:528
421
+ msgid "Administrateur"
422
+ msgstr "Administrator"
423
+
424
+ #  NC NEW-TRANSLATIONS
425
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:483
426
+ msgid "Importation de video"
427
+ msgstr "Importing videos"
428
+
429
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:537
430
+ msgid "Configuration du callback"
431
+ msgstr "Callback Configuration "
432
 
433
+ #  NC REVISED
434
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:538
435
+ #, fuzzy, php-format
436
+ msgid ""
437
+ "Cette option vous permet de mettre a jour automatiquement votre blog a "
438
+ "chaque ajout de video a votre espace VOD.<br/>Veuillez aller dans \"<a "
439
+ "href='https://statslive.infomaniak.com/vod/configuration.php/g%ds7i%d' "
440
+ "target='_blank'>Configuration -> Api & Callback</a>\" et mettre l'adresse "
441
+ "suivante dans le champ \"Adresse de Callback\""
442
+ msgstr ""
443
+ "This option will allow you to automatically update your blog every time a "
444
+ "video is added to your VOD space.<br />Please go to \"<a href='https://"
445
+ "statslive.infomaniak.com/vod/configuration.php/g%ds7i%d' "
446
+ "target='_blank'>Configuration -> Api & Callback</a>\" and enter the "
447
+ "following URL in the \"Callback adress\" field"
448
 
449
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:542
450
+ msgid "Adresse de callback"
451
+ msgstr "Callback address"
 
 
452
 
453
+ #  NC REVISED
454
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:553
455
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1124
456
+ msgid "Precedents Envois"
457
+ msgstr "Previous Uploads"
458
 
459
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:555
460
+ msgid "Fichier"
461
+ msgstr "File"
462
 
463
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:555
464
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1133
465
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1221
466
+ msgid "Date"
467
+ msgstr "Date"
468
 
469
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:555
470
+ msgid "Statut"
471
+ msgstr "Status"
472
 
473
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:563
474
+ msgid "OK"
475
+ msgstr "OK"
476
 
477
+ #  NC REVISED
478
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:566
479
+ msgid "Ok (des alertes sont apparues)"
480
+ msgstr "OK (alerts were triggered)"
481
 
482
+ #  NC REVISED
483
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:569
484
+ msgid "Telechargement en cours"
485
+ msgstr "Downloading"
486
 
487
+ #  NC REVISED
488
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:572
489
+ msgid "En cours de conversion"
490
+ msgstr "Converting"
491
 
492
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:574
493
+ msgid "Erreurs"
494
+ msgstr "Errors"
495
 
496
+ #  NC REVISED
497
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:590
498
+ msgid "Envoi d'une nouvelle video"
499
+ msgstr "Uploading a new video"
500
 
501
+ #  NC REVISED
502
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:591
503
+ msgid ""
504
+ "Ce plug-in vous permet d'ajouter de nouvelles videos directement depuis ce "
505
+ "blog. Pour cela, vous n'avez qu'a choisir un dossier puis suivre les "
506
+ "instructions"
507
+ msgstr ""
508
+ "This plugin allows you to add new videos directly from this blog. To do so, "
509
+ "simply choose a folder then follow the instructions"
510
 
511
+ #  NC NEW-TRANSLATION
512
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:594
513
+ msgid "Choix du dossier d'envoi"
514
+ msgstr "Select upload folder"
515
 
516
+ # NC NEW-TRANSLATION
517
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:610
518
+ msgid "Choix du type d'envoi"
519
+ msgstr "Select upload type"
520
 
521
+ #  NC NEW-TRANSLATION
522
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:612
523
+ msgid "Envoyer depuis cet ordinateur"
524
+ msgstr "Upload from this computer"
525
 
526
+ #  NC NEW-TRANSLATION
527
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:615
528
+ msgid "Importer depuis un autre site"
529
+ msgstr "Import from another site"
530
 
531
+ #  NC REVISED
532
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:622
533
+ msgid "Envoi termine"
534
+ msgstr "Upload complete"
535
+
536
+ #  NC REVISED
537
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:624
538
+ msgid ""
539
+ "L'ajout de cette video a correctement ete pris en compte.<br/>Vous pouvez "
540
+ "retrouver l'avancement de cette conversion video dans le tableau ci-dessous."
541
+ msgstr ""
542
+ "Video upload successfully received.<br />You may check on the progress of "
543
+ "the video conversion in the table below."
544
 
545
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:673
546
  msgid "Mise a jour dans"
547
  msgstr "Update in"
548
 
549
+ # NC NEW-TRANSLATION
550
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:734
551
+ msgid "Utilitaire d'envoi de video"
552
+ msgstr "Video upload utility"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
553
 
554
+ #  NC REVISED
555
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:742
556
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:797
557
+ msgid "Limites"
558
+ msgstr "Limits"
559
 
560
+ #  NC NEW-TRANSLATION
561
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:744
562
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:799
563
+ msgid "Le poids des fichiers envoyes via ce module est limite a 1Go"
564
+ msgstr "The maximum file size for uploads is 1GB"
565
 
566
+ #  NC REVISED
567
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:745
568
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:800
569
+ msgid ""
570
+ "Les formats videos supportes sont avi, flv, mov, mpeg, mp4, mkv, rm, wmv, "
571
+ "m4v, vob, 3gp, webm, f4v, ts"
572
+ msgstr ""
573
+ "Supported video formats are avi, flv, mov, mpeg, mp4, mkv, rm, wmv, m4v, "
574
+ "vob, 3gp, webm, f4v, ts"
575
 
576
+ #  NC REVISED
577
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:746
578
+ msgid "L'envoi doit etre effectue en moins de 4 heures"
579
+ msgstr "The upload must be completed within 4 hours"
580
 
581
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:749
582
+ msgid "Envoi"
583
+ msgstr "Upload"
 
584
 
585
+ #  NC REVISED
586
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:782
587
+ msgid "Utilitaire d'importation de video"
588
+ msgstr "Video import utility"
589
 
590
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:804
591
+ msgid "Adresse"
592
+ msgstr "Address"
593
 
594
+ #  NC REVISED
595
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:815
596
+ msgid "Cette adresse necessite une authentification."
597
+ msgstr "This address requires authentication."
598
 
599
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:826
600
+ msgid "Importer"
601
+ msgstr "Import"
 
602
 
603
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:865
604
+ msgid "Gestionnaire de videos"
605
+ msgstr "Video manager"
606
 
607
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:873
608
+ msgid "Supprimer une video"
609
+ msgstr "Delete a video"
610
 
611
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:881
612
+ msgid "Vous etes sur le point de supprimer la video"
613
+ msgstr "You are about to delete the video"
614
 
615
+ #  NC REVISED
616
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:884
617
+ msgid "Attention"
618
+ msgstr "Warning"
619
 
620
+ #  NC REVISED
621
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:885
622
  msgid ""
623
+ "C'est une suppression definitive de la video, il n'y pas de corbeille ou de "
624
+ "moyen de la recuperer une fois effacer."
 
625
  msgstr ""
626
+ "Deletion of the video is permanent. There is no 'trash' or other means of "
627
+ "recovery once the video is deleted."
 
628
 
629
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:887
630
+ msgid "Etes-vous sur de vouloir continuer ?"
631
+ msgstr "Are you sure you want to continue?"
 
632
 
633
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:892
634
  msgid "Previsualisation d'une video"
635
  msgstr "Video preview"
636
 
637
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:898
638
+ msgid "Informations"
639
+ msgstr "Information"
 
 
 
 
 
 
 
 
640
 
641
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:913
642
  msgid "Restriction d'acces"
643
+ msgstr "Access restriction"
644
 
645
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:923
646
+ msgid "Visualiser la video"
647
+ msgstr "Display video"
648
 
649
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:928
650
+ msgid "Url de la video"
651
+ msgstr "Video URL"
652
 
653
+ #  NC REVISED
654
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:940
655
+ msgid "Url de l'image"
656
+ msgstr "Image URL"
657
 
658
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:947
659
+ msgid "Code d'integration"
660
+ msgstr "Embedding code"
661
 
662
+ #  NC REVISED
663
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:956
664
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:957
665
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1026
666
+ msgid "Administrer cette video"
667
+ msgstr "Manage this video"
668
 
669
+ #  NC REVISED
670
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:964
671
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1030
672
+ msgid "Voir les statistiques de cette video"
673
+ msgstr "Display statistics for this video"
674
 
675
+ #  NC REVISED
676
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:965
677
+ msgid "Voir les statistiques"
678
+ msgstr "View statistics"
679
 
680
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:978
681
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:979
682
+ msgid "Creer un article"
683
+ msgstr "Write an article"
684
 
685
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:992
686
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1134
687
+ msgid "Action"
688
+ msgstr "Action"
689
 
690
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1022
691
+ msgid "Information sur cette video"
692
+ msgstr "Information about this video"
693
 
694
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1034
695
+ msgid "Supprimer cette video"
696
+ msgstr "Delete this video"
697
 
698
+ #  NC REVISED
699
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1052
700
+ msgid "Supprimer definitivement la video"
701
+ msgstr "Permanently delete video"
702
 
703
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1055
704
+ msgid "Annuler"
705
+ msgstr "Cancel"
706
 
707
+ #  NC REVISED
708
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1085
709
+ msgid "Video Geolocalise"
710
+ msgstr "Video with geolocation"
711
 
712
+ #  NC REVISED
713
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1089
714
+ msgid "Securise avec un token"
715
+ msgstr "Token-protected"
716
 
717
+ #  NC NEW-TRANSLATION
718
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1122
719
+ #, fuzzy, php-format
720
+ msgid ""
721
+ "Si vous desirez ajouter ou modifier les playlist ci-dessous, veuillez vous "
722
+ "rendre dans <a href='https://statslive.infomaniak.com/vod/playlists.php/g"
723
+ "%ds7i%d' target='_blank'>la console d'administration</a>"
724
+ msgstr ""
725
+ "If you wish to add or change the playlists below, please go to <a "
726
+ "href='https://statslive.infomaniak.com/vod/playlists.php/g%ds7i%d' "
727
+ "target='_blank'>the control panel</a>"
728
 
729
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1130
730
+ msgid "Nombre videos"
731
+ msgstr "Number of videos"
732
 
733
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1132
734
+ msgid "Mode de lecture"
735
+ msgstr "Play mode"
736
 
737
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1140
738
+ msgid "Aucune playlist disponible"
739
+ msgstr "No playlists available"
740
 
741
+ #  NC REVISED
742
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1169
743
+ msgid "Administrer cette playlist"
744
+ msgstr "Manage this playlist"
745
 
746
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1183
747
+ msgid "Integration par defaut des videos"
748
+ msgstr "Default video integration"
749
 
750
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1189
751
+ msgid "Selection du player par defaut"
752
+ msgstr "Selection of player by default"
753
 
754
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1206
755
+ msgid "Choisir ce player"
756
+ msgstr "Choose this player"
 
 
757
 
758
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1208
759
+ msgid "Informations sur ce Player"
760
+ msgstr "Information about this player"
761
 
762
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1224
763
+ msgid "Resolution"
764
+ msgstr "Resolution"
765
 
766
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1232
767
+ msgid "Switch de qualite"
768
+ msgstr "Quality switch"
769
 
770
+ #  NC REVISED
771
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1242
772
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1243
773
+ msgid "Modifier ce Player"
774
+ msgstr "Edit this player"
775
 
776
+ # NC REVISED
777
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1259
778
+ msgid "Creation ou modification de players"
779
+ msgstr "Creating or editing players"
780
 
781
+ #  NC REVISED
782
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1260
783
+ #, fuzzy, php-format
784
+ msgid ""
785
+ "Afin de modifier ou creer de nouveaux players flash, nous vous invitons a "
786
+ "vous rendre dans votre administration vod : <a href='https://statslive."
787
+ "infomaniak.com/vod/player.php/g%ds7i%d' target='_blank'>Acceder a la "
788
+ "configuration des players</a>"
789
+ msgstr ""
790
+ "To edit or create new flash players, please log into your VOD control panel: "
791
+ "<a href='https://statslive.infomaniak.com/vod/player.php/g%ds7i%d' "
792
+ "target='_blank'>Access player configuration</a>"
793
 
794
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1261
795
+ msgid "Plus d'options"
796
+ msgstr "More options"
 
797
 
798
+ #  NC REVISED
799
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1263
800
+ msgid ""
801
+ "Il est possible de personnaliser votre player video afin qu'ils s'integre "
802
+ "parfaitement a votre site. Voici quelques fonctionnalites avancees qu'il "
803
+ "propose :"
804
+ msgstr ""
805
+ "You may customise your video player so that it integrates fully with your "
806
+ "web site. Here are a few of the advanced features available:"
807
 
808
+ # NC REVISED
809
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1265
810
+ msgid ""
811
+ "<li>Fonction de seek permettant de se deplacer dans une video meme longue "
812
+ "quasi instantanement.</li>\n"
813
+ "\t\t\t\t<li>Bouton permettant de changer a la vole entre les differentes "
814
+ "qualites d'une video.</li>\n"
815
+ "\t\t\t\t<li>Bouton d'export sur certains reseau sociaux (facebook, twitter) "
816
+ "afin que votre video soit plus visible.</li>\n"
817
+ "\t\t\t\t<li>Player exportable afin de permettre aux visiteurs de recuperer "
818
+ "le code d'integration.</li>\n"
819
+ "\t\t\t\t<li>Facilite de personnalisation du player via de rapides "
820
+ "modifications (couleurs de la barre, taille de la barre, logo) ou "
821
+ "l'utilisation d'une barre entierement personnaliser.</li>\n"
822
+ "\t\t\t\t<li>Compatibilite avec adswizz afin d'ajouter facilement des "
823
+ "publicites avant ou apres les videos.</li>\n"
824
+ "\t\t\t\t<li>Et encore d'autres options a decouvrir ...</li>"
825
+ msgstr ""
826
+ "<li>Seek function allowing you to move to a given position in a long video "
827
+ "almost instantly.</li>\n"
828
+ "\t\t\t\t<li>A button allowing you to switch instantly between different "
829
+ "video qualities.</li>\n"
830
+ "\t\t\t\t<li>Export button to increase the visibility of your video on "
831
+ "different social networks (Facebook, Twitter).</li>\n"
832
+ "\t\t\t\t<li>Exportable player allowing visitors to retrieve code to embed "
833
+ "the video in another page.</li>\n"
834
+ "\t\t\t\t<li>Easy player customisation via quick edits (toolbar colours, "
835
+ "size, logo) or the option to use of an fully customised toolbar.</li>\n"
836
+ "\t\t\t\t<li>Adswizz compatible allowing you to easily add advertising before "
837
+ "or after video playback.</li>\n"
838
+ "\t\t\t\t<li>With more options waiting to be discovered...</li>"
839
+
840
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod_callback.php:26
841
+ msgid "Probleme avec les parametres"
842
+ msgstr "Problem with parameters"
843
+
844
+ #  NC NEW-TRANSLATION
845
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod_callback.php:30
846
+ #, fuzzy
847
+ msgid "Dossier inconnu"
848
+ msgstr "Unknown folder"
849
+
850
+ #~ msgid "Ajout"
851
+ #~ msgstr "Add"
852
+
853
+ #~ msgid "Dernieres videos"
854
+ #~ msgstr "Latest videos"
855
+
856
+ #~ msgid "Outil de recherche"
857
+ #~ msgstr "Search tool"
858
+
859
+ #~ msgid "Utilisation du token du dossier (Id dossier)"
860
+ #~ msgstr "Using the folder token (folder ID)"
languages/vod_infomaniak-es_ES.mo ADDED
Binary file
languages/vod_infomaniak-es_ES.po ADDED
@@ -0,0 +1,727 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR Infomaniak website
3
+ # This file is distributed under the same license as the PACKAGE package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ msgid ""
7
+ msgstr ""
8
+ "Project-Id-Version: vod infomaniak\n"
9
+ "Report-Msgid-Bugs-To: \n"
10
+ "POT-Creation-Date: 2012-08-07 10:44+0200\n"
11
+ "PO-Revision-Date: 2014-05-12 09:42+0100\n"
12
+ "Last-Translator: j\n"
13
+ "Language-Team: LANGUAGE <LL@li.org>\n"
14
+ "MIME-Version: 1.0\n"
15
+ "Content-Type: text/plain; charset=UTF-8\n"
16
+ "Content-Transfer-Encoding: 8bit\n"
17
+ "X-Generator: Poedit 1.6.5\n"
18
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
+ "Language: es\n"
20
+
21
+ #: vod.template.php:78
22
+ msgid "1. Selection du dossier"
23
+ msgstr "1. Selección de la carpeta"
24
+
25
+ #: vod.template.php:94
26
+ msgid "2. Envoi d'un fichier"
27
+ msgstr "2. Envío de un archivo"
28
+
29
+ #: vod.template.php:1003
30
+ msgid ""
31
+ "<li>Fonction de seek permettant de se deplacer dans une video meme longue "
32
+ "quasi instantanement.</li>\n"
33
+ "\t\t\t\t<li>Bouton permettant de changer a la vole entre les differentes "
34
+ "qualites d'une video.</li>\n"
35
+ "\t\t\t\t<li>Bouton d'export sur certains reseau sociaux (facebook, twitter) "
36
+ "afin que votre video soit plus visible.</li>\n"
37
+ "\t\t\t\t<li>Player exportable afin de permettre aux visiteurs de recuperer "
38
+ "le code d'integration.</li>\n"
39
+ "\t\t\t\t<li>Facilite de personnalisation du player via de rapides "
40
+ "modifications (couleurs de la barre, taille de la barre, logo) ou "
41
+ "l'utilisation d'une barre entierement personnaliser.</li>\n"
42
+ "\t\t\t\t<li>Compatibilite avec adswizz afin d'ajouter facilement des "
43
+ "publicites avant ou apres les videos.</li>\n"
44
+ "\t\t\t\t<li>Et encore d'autres options a decouvrir ...</li>"
45
+ msgstr ""
46
+ "<li>Función de seek que permite moverse por un vídeo, aunque sea extenso, "
47
+ "casi de forma instantánea.</li>\n"
48
+ "\t\t\t\t<li>Botón que permite seleccionar las distintas cualidades de un "
49
+ "vídeo mientras se está reproduciendo.</li>\n"
50
+ "\t\t\t\t<li>Botón de exportación en algunas redes sociales (facebook, "
51
+ "twitter) para que su vídeo sea más visible.</li>\n"
52
+ "\t\t\t\t<li>Reproductor exportable para permitir a los visitantes recuperar "
53
+ "el código de integración.</li>\n"
54
+ "\t\t\t\t<li>Facilidad de personalización del reproductor mediante "
55
+ "modificaciones rápidas (colores de la barra, tamaño de la barra, logo) o uso "
56
+ "de una barra totalmente personalizada.</li>\n"
57
+ "\t\t\t\t<li>Compatibilidad con adswizz para añadir fácilmente anuncios antes "
58
+ "o después de los vídeos.</li>\n"
59
+ "\t\t\t\t<li>Y todavía muchas más opciones por descubrir ...</li>"
60
+
61
+ #: vod.template.php:774 vod.template.php:899
62
+ msgid "Action"
63
+ msgstr "Acción"
64
+
65
+ #: vod.template.php:340 vod.template.php:347 vod.template.php:354
66
+ #: vod.template.php:361
67
+ msgid "Administrateur"
68
+ msgstr "Administrador"
69
+
70
+ #: vod.template.php:232
71
+ msgid "Administration du plugin VOD"
72
+ msgstr "Administración del complemento VOD"
73
+
74
+ #: vod.template.php:928
75
+ msgid "Administrer cette playlist"
76
+ msgstr "Administrar esta lista de reproducción"
77
+
78
+ #: vod.template.php:746 vod.template.php:797
79
+ msgid "Administrer cette video"
80
+ msgstr "Administrar este vídeo"
81
+
82
+ #: vod.template.php:622
83
+ msgid "Adresse"
84
+ msgstr "Dirección"
85
+
86
+ #: vod.template.php:375
87
+ msgid "Adresse de callback"
88
+ msgstr "Dirección de devolución de llamada"
89
+
90
+ #: vod.template.php:998
91
+ #, php-format
92
+ msgid ""
93
+ "Afin de modifier ou creer de nouveaux players flash, nous vous invitons a "
94
+ "vous rendre dans votre administration vod : <a href='https://statslive."
95
+ "infomaniak.com/vod/player.php/g%ds7i%d' target='_blank'>Acceder a la "
96
+ "configuration des players</a>"
97
+ msgstr ""
98
+ "Para modificar o crear nuevos reproductores flash, acceda a su "
99
+ "administración vod: <a href='https://statslive.infomaniak.com/vod/player.php/"
100
+ "g%ds7i%d' target='_blank'>Acceder a la configuración de los reproductores</a>"
101
+
102
+ #: vod.class.php:170
103
+ msgid "Ajout"
104
+ msgstr "Añadir"
105
+
106
+ #: vod.template.php:820
107
+ msgid "Annuler"
108
+ msgstr "Cancelar"
109
+
110
+ #: vod.class.php:689
111
+ msgid ""
112
+ "Article correctement cree. Vous allez etre rediriger sur la page d'edition"
113
+ msgstr ""
114
+ "El artículo se ha creado correctamente. Será redirigido a la página de "
115
+ "edición."
116
+
117
+ #: vod.template.php:693
118
+ msgid "Attention"
119
+ msgstr "Atención"
120
+
121
+ #: vod.template.php:83 vod.template.php:310 vod.template.php:429
122
+ msgid "Aucun dossier disponible"
123
+ msgstr "No hay ninguna carpeta disponible"
124
+
125
+ #: vod.template.php:194 vod.template.php:952 vod.template.php:968
126
+ msgid "Aucun player disponible"
127
+ msgstr "No hay ningún reproductor disponible"
128
+
129
+ #: vod.template.php:905
130
+ msgid "Aucune playlist disponible"
131
+ msgstr "No hay ninguna lista de reproducción disponible"
132
+
133
+ #: vod.template.php:51 vod.template.php:780
134
+ msgid "Aucune video disponible"
135
+ msgstr "No hay ningún vídeo disponible"
136
+
137
+ #: vod.template.php:338 vod.template.php:345 vod.template.php:352
138
+ #: vod.template.php:359
139
+ msgid "Auteur"
140
+ msgstr "Autor"
141
+
142
+ #: vod.template.php:23
143
+ msgid "Avec l'url"
144
+ msgstr "Con la URL"
145
+
146
+ #: vod.template.php:694
147
+ msgid ""
148
+ "C'est une suppression definitive de la video, il n'y pas de corbeille ou de "
149
+ "moyen de la recuperer une fois effacer."
150
+ msgstr ""
151
+ "Esta acción eliminará definitivamente el vídeo. No habrá forma de "
152
+ "recuperarlo, ni tan siquiera desde la papelera."
153
+
154
+ #: vod.template.php:422
155
+ msgid ""
156
+ "Ce plug-in vous permet d'ajouter de nouvelles videos directement depuis ce "
157
+ "blog. Pour cela, vous n'avez qu'a choisir un dossier puis suivre les "
158
+ "instructions"
159
+ msgstr ""
160
+ "Este complemento le permite añadir nuevos vídeos directamente desde este "
161
+ "blog. Para ello, solo deberá seleccionar una carpeta y después seguir las "
162
+ "instrucciones"
163
+
164
+ #: vod.template.php:632
165
+ msgid "Cette adresse necessite une authentification."
166
+ msgstr "Esta dirección necesita una autentificación."
167
+
168
+ #: vod.template.php:371
169
+ #, php-format
170
+ msgid ""
171
+ "Cette option vous permet de mettre a jour automatiquement votre blog a "
172
+ "chaque ajout de video a votre espace VOD.<br/>Veuillez aller dans \"<a "
173
+ "href='https://statslive.infomaniak.com/vod/configuration.php/g%ds7i%d' "
174
+ "target='_blank'>Configuration -> Api & Callback</a>\" et mettre l'adresse "
175
+ "suivante dans le champ \"Adresse de Callback\""
176
+ msgstr ""
177
+ "Esta opción le permite actualizar automáticamente su blog cada vez que añada "
178
+ "un vídeo a su espacio VOD. <br/>Acceda a \"<a href='https://statslive."
179
+ "infomaniak.com/vod/configuration.php/g%ds7i%d' target='_blank'>Configuración "
180
+ "-> Api & Callback</a>\" y escriba la siguiente dirección en el campo "
181
+ "\"Dirección de devolución de llamada\""
182
+
183
+ #: vod.template.php:963
184
+ msgid "Choisir ce player"
185
+ msgstr "Seleccionar este reproductor"
186
+
187
+ #: vod.template.php:424
188
+ msgid "Choix du dossier d'envoi"
189
+ msgstr "Selección de la carpeta de envío"
190
+
191
+ #: vod.template.php:440
192
+ msgid "Choix du type d'envoi"
193
+ msgstr "Selección del tipo de envío"
194
+
195
+ #: vod.template.php:739
196
+ msgid "Code d'integration"
197
+ msgstr "Código de integración"
198
+
199
+ #: vod.class.php:119
200
+ msgid "Configuration"
201
+ msgstr "Configuración"
202
+
203
+ #: vod.template.php:370
204
+ msgid "Configuration du callback"
205
+ msgstr "Configuración de la devolución de llamada"
206
+
207
+ #: vod.template.php:257
208
+ msgid "Connecter"
209
+ msgstr "Conectar"
210
+
211
+ #: vod.template.php:254
212
+ msgid "Connection"
213
+ msgstr "Conexión"
214
+
215
+ #: vod.template.php:337 vod.template.php:344 vod.template.php:351
216
+ #: vod.template.php:358
217
+ msgid "Contributeur"
218
+ msgstr "Contribuyente"
219
+
220
+ #: vod.template.php:997
221
+ msgid "Creation ou modification de players"
222
+ msgstr "Creación o modificación de reproductores"
223
+
224
+ #: vod.template.php:761
225
+ msgid "Creer un article"
226
+ msgstr "Crear un artículo"
227
+
228
+ #: vod.template.php:388 vod.template.php:898 vod.template.php:975
229
+ msgid "Date"
230
+ msgstr "Fecha"
231
+
232
+ #: vod.template.php:45 vod.template.php:773
233
+ msgid "Date d'upload"
234
+ msgstr "Fecha de carga"
235
+
236
+ #: vod.template.php:212 vod.template.php:977
237
+ msgid "Demarrage automatique"
238
+ msgstr "Inicio automático"
239
+
240
+ #: vod.template.php:22
241
+ msgid "Dernieres videos"
242
+ msgstr "Últimos vídeos"
243
+
244
+ #: vod.template.php:388 vod.template.php:894
245
+ msgid "Description"
246
+ msgstr "Descripción"
247
+
248
+ #: vod.template.php:185
249
+ msgid "Dimensions"
250
+ msgstr "Dimensiones"
251
+
252
+ #: vod.template.php:86 vod.template.php:314 vod.template.php:316
253
+ #: vod.template.php:432 vod.template.php:772
254
+ msgid "Dossier"
255
+ msgstr "Carpeta"
256
+
257
+ #: vod.template.php:307
258
+ msgid "Dossier Racine"
259
+ msgstr "Carpeta raíz"
260
+
261
+ #: vod.template.php:80 vod.template.php:560 vod.template.php:611
262
+ msgid "Dossier d'envoi"
263
+ msgstr "Carpeta de envío"
264
+
265
+ #: vod.template.php:276
266
+ msgid "Dossiers recuperes"
267
+ msgstr "Carpetas recuperadas"
268
+
269
+ #: vod.class.php:170 vod.template.php:896
270
+ msgid "Duree"
271
+ msgstr "Duración"
272
+
273
+ #: vod.template.php:339 vod.template.php:346 vod.template.php:353
274
+ #: vod.template.php:360
275
+ msgid "Editeur"
276
+ msgstr "Editor"
277
+
278
+ #: vod.template.php:405
279
+ msgid "En cours de conversion"
280
+ msgstr "En proceso de conversión"
281
+
282
+ #: vod.template.php:571
283
+ msgid "Envoi"
284
+ msgstr "Envío"
285
+
286
+ #: vod.template.php:421
287
+ msgid "Envoi d'une nouvelle video"
288
+ msgstr "Envío de un nuevo vídeo"
289
+
290
+ #: vod.template.php:24
291
+ msgid "Envoi d'une video"
292
+ msgstr "Envío de un vídeo"
293
+
294
+ #: vod.template.php:448
295
+ msgid "Envoi termine"
296
+ msgstr "Envío finalizado"
297
+
298
+ #: vod.template.php:441
299
+ msgid "Envoyer depuis cet ordinateur"
300
+ msgstr "Enviar desde este ordenador"
301
+
302
+ #: vod.class.php:556
303
+ msgid "Erreur : Impossible de se connecter"
304
+ msgstr "Error: no se puede conectar"
305
+
306
+ #: vod.template.php:408
307
+ msgid "Erreurs"
308
+ msgstr "Errores"
309
+
310
+ #: vod.template.php:696
311
+ msgid "Etes-vous sur de vouloir continuer ?"
312
+ msgstr "¿Está seguro de que desea continuar?"
313
+
314
+ #: vod.template.php:208
315
+ msgid "Etirer la video (stretch)"
316
+ msgstr "Expandir el vídeo (stretch)"
317
+
318
+ #: vod.template.php:30
319
+ msgid "Exemple"
320
+ msgstr "Ejemplo"
321
+
322
+ #: vod.template.php:388
323
+ msgid "Fichier"
324
+ msgstr "Archivo"
325
+
326
+ #: vod.template.php:300
327
+ msgid "Filtrer l'acces a l'espace VOD"
328
+ msgstr "Filtrar el acceso al espacio VOD"
329
+
330
+ #: vod.template.php:326
331
+ msgid "Gestion des droits par groupe d'utilisateur"
332
+ msgstr "Administración de los derechos por grupo de usuario"
333
+
334
+ #: vod.class.php:107
335
+ msgid "Gestionnaire"
336
+ msgstr "Administrador"
337
+
338
+ #: vod.template.php:677
339
+ msgid "Gestionnaire de videos"
340
+ msgstr "Administrador de vídeos"
341
+
342
+ #: vod.template.php:250
343
+ msgid "Identifiant de l'espace VOD"
344
+ msgstr "Identificador del espacio VOD"
345
+
346
+ #: vod.template.php:34
347
+ msgid "Identifiant de playlist"
348
+ msgstr "Identificador de la lista de reproducción"
349
+
350
+ #: vod.template.php:1001
351
+ msgid ""
352
+ "Il est possible de personnaliser votre player video afin qu'ils s'integre "
353
+ "parfaitement a votre site. Voici quelques fonctionnalites avancees qu'il "
354
+ "propose :"
355
+ msgstr ""
356
+ "Es posible personalizar su reproductor para que se integre perfectamente en "
357
+ "su sitio. Vea algunas de las funciones avanzadas que ofrece:"
358
+
359
+ #: vod.class.php:131 vod.class.php:719 vod.class.php:730
360
+ msgid "Il n'est pas possible d'uploader dans ce dossier."
361
+ msgstr "No se puede realizar ninguna carga en esta carpeta."
362
+
363
+ #: vod.class.php:110
364
+ msgid "Importation"
365
+ msgstr "Importación"
366
+
367
+ #: vod.template.php:342
368
+ msgid "Importation de video"
369
+ msgstr "Importación de vídeo"
370
+
371
+ #: vod.template.php:638
372
+ msgid "Importer"
373
+ msgstr "Importar"
374
+
375
+ #: vod.template.php:442
376
+ msgid "Importer depuis un autre site"
377
+ msgstr "Importar desde otro sitio"
378
+
379
+ #: vod.template.php:259
380
+ msgid "Impossible de se connecter"
381
+ msgstr "No se puede conectar"
382
+
383
+ #: vod.template.php:796
384
+ msgid "Information sur cette video"
385
+ msgstr "Información sobre este vídeo"
386
+
387
+ #: vod.template.php:707
388
+ msgid "Informations"
389
+ msgstr "Información"
390
+
391
+ #: vod.template.php:965
392
+ msgid "Informations sur ce Player"
393
+ msgstr "Información sobre este reproductor"
394
+
395
+ #: vod.template.php:335 vod.template.php:722
396
+ msgid "Integration"
397
+ msgstr "Integración"
398
+
399
+ #: vod.template.php:942
400
+ msgid "Integration par defaut des videos"
401
+ msgstr "Integración de los vídeos por defecto"
402
+
403
+ #: vod.template.php:450
404
+ msgid ""
405
+ "L'ajout de cette video a correctement ete pris en compte.<br/>Vous pouvez "
406
+ "retrouver l'avancement de cette conversion video dans le tableau ci-dessous."
407
+ msgstr ""
408
+ "El nuevo vídeo se ha registrado correctamente. <br/> Puede ver el progreso "
409
+ "de esta conversión de vídeo en la tabla siguiente. "
410
+
411
+ #: vod.template.php:568
412
+ msgid "L'envoi doit etre effectue en moins de 4 heures"
413
+ msgstr "El envío debe realizarse en menos de 4 horas"
414
+
415
+ #: vod.template.php:566 vod.template.php:617
416
+ msgid "Le poids des fichiers envoyes via ce module est limite a 1Go"
417
+ msgstr ""
418
+ "El tamaño máximo de los archivos enviados desde este módulo es de 1 GB "
419
+
420
+ #: vod.template.php:216 vod.template.php:978
421
+ msgid "Lecture en boucle"
422
+ msgstr "Lectura en bucle"
423
+
424
+ #: vod.template.php:567 vod.template.php:618
425
+ msgid ""
426
+ "Les formats videos supportes sont avi, flv, mov, mpeg, mp4, mkv, rm, wmv, "
427
+ "m4v, vob, 3gp, webm, f4v, ts"
428
+ msgstr ""
429
+ "Los formatos de vídeo suportados son avi, flv, mov, mpeg, mp4, mkv, rm, wmv, "
430
+ "m4v, vob, 3gp, webm, f4v, ts"
431
+
432
+ #: vod.template.php:564 vod.template.php:615
433
+ msgid "Limites"
434
+ msgstr "Límites"
435
+
436
+ #: vod.template.php:242 vod.template.php:635
437
+ msgid "Login"
438
+ msgstr "Inicio de sesión"
439
+
440
+ #: vod.template.php:499
441
+ msgid "Mise a jour dans"
442
+ msgstr "Actualización en"
443
+
444
+ #: vod.template.php:897
445
+ msgid "Mode de lecture"
446
+ msgstr "Modo de lectura"
447
+
448
+ #: vod.template.php:982
449
+ msgid "Modifier ce Player"
450
+ msgstr "Modificar este reproductor"
451
+
452
+ #: vod.template.php:44 vod.template.php:86 vod.template.php:314
453
+ #: vod.template.php:316 vod.template.php:432 vod.template.php:716
454
+ #: vod.template.php:893 vod.template.php:974
455
+ msgid "Nom"
456
+ msgstr "Nombre"
457
+
458
+ #: vod.template.php:895
459
+ msgid "Nombre videos"
460
+ msgstr "Número de vídeos"
461
+
462
+ #: vod.template.php:396
463
+ msgid "OK"
464
+ msgstr "Aceptar"
465
+
466
+ #: vod.template.php:399
467
+ msgid "Ok (des alertes sont apparues)"
468
+ msgstr "Aceptar (han aparecido alertas)"
469
+
470
+ #: vod.template.php:182
471
+ msgid "Options d'integration"
472
+ msgstr "Opciones de integración"
473
+
474
+ #: vod.template.php:25
475
+ msgid "Outil de recherche"
476
+ msgstr "Herramienta de búsqueda"
477
+
478
+ #: vod.template.php:301
479
+ msgid ""
480
+ "Par defaut, ce plugin permet d'acceder a l'integralite des videos/dossiers "
481
+ "presents sur votre espace VOD.<br/>\n"
482
+ "\t\t\t\tIl peut etre utile dans certains cas de limiter l'acces aux "
483
+ "utilisateurs de ce site qu'a une partie des dossiers.<br/>\n"
484
+ "\t\t\t\tL'option ci-dessous permet de restreindre l'acces de ce site a un "
485
+ "dossier ainsi que tous ses dossiers fils."
486
+ msgstr ""
487
+ "Por defecto, este complemento permite acceder a la totalidad de los vídeos/"
488
+ "carpetas de su espacio VOD.<br/>\n"
489
+ "\t\t\t\tEn algunos casos puede resultar útil limitar el acceso a los "
490
+ "usuarios de este sitio sólo a una parte de estas carpetas.<br/>\n"
491
+ "\t\t\t\tLa siguiente opción permite limitar el acceso de este sitio a una "
492
+ "carpeta así como a todas sus subcarpetas."
493
+
494
+ #: vod.template.php:328
495
+ msgid ""
496
+ "Par defaut, toutes les options du plugin sont disponibles pour les "
497
+ "utilisateurs a partir du rang de contributeur.<br/>\n"
498
+ "\t\t\t\tCi-dessous, il est cependant possible de parametrer les options que "
499
+ "vous souhaitez proposer a vos utilisateurs."
500
+ msgstr ""
501
+ "Por defecto, todas las opciones del complemento están disponibles para los "
502
+ "usuarios a partir del rango de contribuyente. <br/>\n"
503
+ "\t\t\t\tNo obstante, a continuación puede configurar las opciones que desea "
504
+ "ofrecer a sus usuarios."
505
+
506
+ #: vod.template.php:246 vod.template.php:636
507
+ msgid "Password"
508
+ msgstr "Contraseña"
509
+
510
+ #: vod.template.php:190
511
+ msgid "Player choisi"
512
+ msgstr "Reproductor seleccionado"
513
+
514
+ #: vod.class.php:113 vod.template.php:349
515
+ msgid "Player video"
516
+ msgstr "Reproductor de vídeo"
517
+
518
+ #: vod.template.php:280
519
+ msgid "Players recuperes"
520
+ msgstr "Reproductores recuperados"
521
+
522
+ #: vod.class.php:116 vod.template.php:172 vod.template.php:356
523
+ msgid "Playlist"
524
+ msgstr "Lista de reproducción"
525
+
526
+ #: vod.template.php:284
527
+ msgid "Playlist recuperes"
528
+ msgstr "Listas de reproducción recuperadas"
529
+
530
+ #: vod.template.php:886
531
+ msgid "Playlists"
532
+ msgstr "Listas de reproducción"
533
+
534
+ #: vod.template.php:999
535
+ msgid "Plus d'options"
536
+ msgstr "Más opciones"
537
+
538
+ #: vod.template.php:270
539
+ msgid ""
540
+ "Pour fonctionner correctement, cette extension a besoin de se synchroniser "
541
+ "regulierement avec votre compte VOD.<br/>Cela vous permet de garder une "
542
+ "liste des players, dossiers et playlist a jour sur votre blog.<br/>Cette "
543
+ "operation s'effectue automatiquement assez regulierement mais il est "
544
+ "egalement possible de forcer une verification ci-dessous."
545
+ msgstr ""
546
+ "Para que funcione correctamente, esta extensión debe sincronizarse "
547
+ "regularmente con su cuenta VOD.<br/>Esto le permite guardar una lista "
548
+ "actualizada de reproductores, carpetas y listas de reproducción en su blog."
549
+ "<br/>Esta operación se efectúa automáticamente y de forma bastante regular "
550
+ "pero también puede forzarse una verificación."
551
+
552
+ #: vod.template.php:236
553
+ msgid ""
554
+ "Pour fonctionner, le plugin a besoin de s'interfacer avec votre compte VOD "
555
+ "infomaniak.<br/>\n"
556
+ "\t\t\t\tPour des raisons de securites, il est fortement conseille de creer "
557
+ "un nouvel utilisateur dedie dans votre admin infomaniak avec uniquement des "
558
+ "droits restreints sur l'API.<br/>\n"
559
+ "\t\t\t\tPour plus d'information, veuillez vous rendre dans la partie "
560
+ "\"Configuration -> Api & Callback\" de votre administration VOD."
561
+ msgstr ""
562
+ "Para funcionar, el plug-in debe conectarse con su cuenta VOD infomaniak.<br/"
563
+ ">\n"
564
+ "\t\t\t\tPor razones de seguridad, se aconseja crear un nuevo usuario "
565
+ "dedicado en su admin infomaniak únicamente con derechos restringidos en la "
566
+ "API.<br/>\n"
567
+ "\t\t\t\tPara más información, acceda al apartado \"Configuración -> Api & "
568
+ "Devolución de llamada\" de su administración VOD."
569
+
570
+ #: vod.template.php:386 vod.template.php:889
571
+ msgid "Precedents Envois"
572
+ msgstr "Envíos anteriores"
573
+
574
+ #: vod.template.php:701
575
+ msgid "Previsualisation d'une video"
576
+ msgstr "Previsualización de un vídeo"
577
+
578
+ #: vod.class.php:641
579
+ msgid "Probleme de configuration"
580
+ msgstr "Problema de configuración"
581
+
582
+ #: vod.template.php:170
583
+ msgid "Recherche d'une"
584
+ msgstr "Búsqueda de una"
585
+
586
+ #: vod.template.php:976
587
+ msgid "Resolution"
588
+ msgstr "Resolución"
589
+
590
+ #: vod.template.php:719
591
+ msgid "Restriction d'acces"
592
+ msgstr "Restricción de acceso"
593
+
594
+ #: vod.template.php:854
595
+ msgid "Securise avec un token"
596
+ msgstr "Seguridad con un token"
597
+
598
+ #: vod.template.php:948
599
+ msgid "Selection du player par defaut"
600
+ msgstr "Seleccionar un reproductor por defecto"
601
+
602
+ #: vod.template.php:887
603
+ #, php-format
604
+ msgid ""
605
+ "Si vous desirez ajouter ou modifier les playlist ci-dessous, veuillez vous "
606
+ "rendre dans <a href='https://statslive.infomaniak.com/vod/playlists.php/g"
607
+ "%ds7i%d' target='_blank'>la console d'administration</a>"
608
+ msgstr ""
609
+ "Si desea añadir o modificar las siguientes listas de reproducción, debe "
610
+ "acceder al <a href='https://statslive.infomaniak.com/vod/playlists.php/g%ds7i"
611
+ "%d' target='_blank'>panel de administración</a>"
612
+
613
+ #: vod.template.php:388
614
+ msgid "Statut"
615
+ msgstr "Estatus"
616
+
617
+ #: vod.template.php:799
618
+ msgid "Supprimer cette video"
619
+ msgstr "Eliminar este vídeo"
620
+
621
+ #: vod.template.php:817
622
+ msgid "Supprimer definitivement la video"
623
+ msgstr "Eliminar definitivamente el vídeo"
624
+
625
+ #: vod.template.php:685
626
+ msgid "Supprimer une video"
627
+ msgstr "Eliminar un vídeo"
628
+
629
+ #: vod.template.php:979
630
+ msgid "Switch de qualite"
631
+ msgstr "Cambiar la calidad"
632
+
633
+ #: vod.template.php:269
634
+ msgid "Synchronisation des donnees"
635
+ msgstr "Sincronización de los datos"
636
+
637
+ #: vod.template.php:292
638
+ msgid "Synchronisation rapide"
639
+ msgstr "Sincronización rápida"
640
+
641
+ #: vod.template.php:296
642
+ msgid "Synchroniser Videos"
643
+ msgstr "Sincronizar vídeos"
644
+
645
+ #: vod.template.php:402
646
+ msgid "Telechargement en cours"
647
+ msgstr "Descarga en proceso"
648
+
649
+ #: vod.template.php:32
650
+ msgid "Url complete"
651
+ msgstr "URL completa"
652
+
653
+ #: vod.template.php:735
654
+ msgid "Url de l'image"
655
+ msgstr "URL de la imagen"
656
+
657
+ #: vod.template.php:728
658
+ msgid "Url de la video"
659
+ msgstr "URL del vídeo"
660
+
661
+ #: vod.template.php:33
662
+ msgid "Url partiel"
663
+ msgstr "URL parcial"
664
+
665
+ #: vod.template.php:220
666
+ msgid "Utilisation du token du dossier (Id dossier)"
667
+ msgstr "Uso del token de la carpeta (Id. de carpeta)"
668
+
669
+ #: vod.template.php:558
670
+ msgid "Utilitaire d'envoi de video"
671
+ msgstr "Herramienta de envío de vídeo"
672
+
673
+ #: vod.template.php:604
674
+ msgid "Utilitaire d'importation de video"
675
+ msgstr "Herramienta de importación de vídeo"
676
+
677
+ #: vod.template.php:263 vod.template.php:322 vod.template.php:365
678
+ msgid "Valider"
679
+ msgstr "Aceptar"
680
+
681
+ #: vod.template.php:28
682
+ msgid "Veuillez saisir l'URL d'une video"
683
+ msgstr "Introduzca la URL de un vídeo"
684
+
685
+ #: vod.class.php:641
686
+ msgid ""
687
+ "Veuillez-vous rendre dans <a href='admin.php?page=configuration'>Videos -> "
688
+ "Configuration</a> afin de configurer votre compte."
689
+ msgstr ""
690
+ "Para configurar su cuenta, acceda a <a href='admin.php?"
691
+ "page=configuration'>Videos -> Configuración</a>."
692
+
693
+ #: vod.template.php:43 vod.template.php:171 vod.template.php:771
694
+ msgid "Video"
695
+ msgstr "Vídeo"
696
+
697
+ #: vod.template.php:850
698
+ msgid "Video Geolocalise"
699
+ msgstr "Vídeo geolocalizado"
700
+
701
+ #: vod.class.php:223
702
+ msgid "Video en cours de conversion"
703
+ msgstr "Vídeo en proceso de conversión"
704
+
705
+ #: vod.class.php:102
706
+ msgid "Videos"
707
+ msgstr "Vídeos"
708
+
709
+ #: vod.template.php:272
710
+ msgid "Videos recuperes"
711
+ msgstr "Vídeos recuperados"
712
+
713
+ #: vod.template.php:725
714
+ msgid "Visualiser la video"
715
+ msgstr "Visualizar el vídeo"
716
+
717
+ #: vod.template.php:751
718
+ msgid "Voir les statistiques"
719
+ msgstr "Ver las estadísticas"
720
+
721
+ #: vod.template.php:751 vod.template.php:798
722
+ msgid "Voir les statistiques de cette video"
723
+ msgstr "Ver las estadísticas de este vídeo"
724
+
725
+ #: vod.template.php:691
726
+ msgid "Vous etes sur le point de supprimer la video"
727
+ msgstr "Está a punto de suprimir el vídeo"
languages/vod_infomaniak-fr_FR.mo CHANGED
Binary file
languages/vod_infomaniak-fr_FR.po CHANGED
@@ -7,601 +7,794 @@ msgid ""
7
  msgstr ""
8
  "Project-Id-Version: vod\n"
9
  "Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2011-10-31 10:54+0100\n"
11
- "PO-Revision-Date: 2011-11-21 18:50+0100\n"
12
  "Last-Translator: \n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
  "Language: fr_FR\n"
15
  "MIME-Version: 1.0\n"
16
  "Content-Type: text/plain; charset=UTF-8\n"
17
  "Content-Transfer-Encoding: 8bit\n"
 
 
 
 
 
 
 
 
 
 
18
 
19
- #: vod.template.php:77
20
- msgid "1. Selection du dossier"
21
- msgstr "1. Sélection du dossier"
22
 
23
- #: vod.template.php:93
24
- msgid "2. Envoi d'un fichier"
25
- msgstr "2. Envoi d'un fichier"
26
 
27
- #: vod.template.php:927
28
- msgid ""
29
- "<li>Fonction de seek permettant de se deplacer dans une video meme longue quasi instantanement.</li>\n"
30
- "\t\t\t\t<li>Bouton permettant de changer a la vole entre les differentes qualites d'une video.</li>\n"
31
- "\t\t\t\t<li>Bouton d'export sur certains reseau sociaux (facebook, twitter) afin que votre video soit plus visible.</li>\n"
32
- "\t\t\t\t<li>Player exportable afin de permettre aux visiteurs de recuperer le code d'integration.</li>\n"
33
- "\t\t\t\t<li>Facilite de personnalisation du player via de rapides modifications (couleurs de la barre, taille de la barre, logo) ou l'utilisation d'une barre entierement personnaliser.</li>\n"
34
- "\t\t\t\t<li>Compatibilite avec adswizz afin d'ajouter facilement des publicites avant ou apres les videos.</li>\n"
35
- "\t\t\t\t<li>Et encore d'autres options a decouvrir ...</li>"
36
- msgstr ""
37
- "<li>Fonction de seek permettant de se déplacer dans une vidéo même longue quasi instantanément.</li>\n"
38
- "\t\t\t\t<li>Bouton permettant de changer à la volée les différentes qualités d'une vidéo.</li>\n"
39
- "\t\t\t\t<li>Bouton d'export sur certains réseaux sociaux (facebook, twitter) afin que votre vidéo soit plus visible.</li>\n"
40
- "\t\t\t\t<li>Player exportable afin de permettre aux visiteurs de récupérer le code d'intégration.</li>\n"
41
- "\t\t\t\t<li>Facilité de personnalisation du player via de rapides modifications (couleurs de la barre, taille de la barre, logo) ou l'utilisation d'une barre entièrement personnalisée.</li>\n"
42
- "\t\t\t\t<li>Compatibilité avec adswizz afin d'ajouter facilement des publicités avant ou après les vidéos.</li>\n"
43
- "\t\t\t\t<li>Et encore d'autres options à découvrir ...</li>"
44
 
45
- #: vod.template.php:702
46
- #: vod.template.php:823
47
- msgid "Action"
48
- msgstr "Action"
 
49
 
50
- #: vod.template.php:230
51
- msgid "Administration du plugin VOD"
52
- msgstr "Administration du plugin VOD"
53
 
54
- #: vod.template.php:852
55
- msgid "Administrer cette playlist"
56
- msgstr "Administrer cette playlist"
 
 
57
 
58
- #: vod.template.php:674
59
- #: vod.template.php:721
60
- msgid "Administrer cette video"
61
- msgstr "Administrer cette vidéo"
62
 
63
- #: vod.template.php:550
64
- msgid "Adresse"
65
- msgstr "Adresse"
66
 
67
- #: vod.template.php:303
68
- msgid "Adresse de callback"
69
- msgstr "Adresse de callback"
70
 
71
- #: vod.template.php:922
72
- #, php-format
73
- msgid "Afin de modifier ou creer de nouveaux players flash, nous vous invitons a vous rendre dans votre administration vod : <a href='https://statslive.infomaniak.com/vod/player.php?iVodCode=%d' target='_blank'>Acceder a la configuration des players</a>"
74
- msgstr "Afin de modifier ou créer de nouveaux players flash, nous vous invitons à vous rendre dans votre administration vod : <a href='https://statslive.infomaniak.com/vod/player.php?iVodCode=%d' target='_blank'>Accéder à la configuration des players</a>"
 
 
 
75
 
76
- #: vod.class.php:147
77
- msgid "Ajout"
78
- msgstr "Ajout"
 
 
79
 
80
- #: vod.template.php:744
81
- msgid "Annuler"
82
- msgstr "Annuler"
 
83
 
84
- #: vod.class.php:576
85
- msgid "Article correctement cree. Vous allez etre rediriger sur la page d'edition"
86
- msgstr "Article correctement créé. Vous allez être redirigé sur la page d'édition"
87
 
88
- #: vod.template.php:621
89
- msgid "Attention"
90
- msgstr "Attention"
91
 
92
- #: vod.template.php:82
93
- #: vod.template.php:357
94
- msgid "Aucun dossier disponible"
95
- msgstr "Aucun dossier disponible"
96
 
97
- #: vod.template.php:192
98
- #: vod.template.php:876
99
- #: vod.template.php:892
100
- msgid "Aucun player disponible"
101
- msgstr "Aucun player disponible"
102
 
103
- #: vod.template.php:829
104
- msgid "Aucune playlist disponible"
105
- msgstr "Aucune playlist disponible"
106
 
107
- #: vod.template.php:51
108
- #: vod.template.php:708
109
- msgid "Aucune video disponible"
110
- msgstr "Aucune vidéo disponible"
111
 
112
- #: vod.template.php:23
113
- msgid "Avec l'url"
114
- msgstr "Avec l'url"
115
 
116
- #: vod.template.php:622
117
- msgid "C'est une suppression definitive de la video, il n'y pas de corbeille ou de moyen de la recuperer une fois effacer."
118
- msgstr "C'est une suppression définitive de la video, il n'y pas de corbeille ou de moyen de la récuperer une fois effacé."
 
 
119
 
120
- #: vod.template.php:350
121
- msgid "Ce plug-in vous permet d'ajouter de nouvelles videos directement depuis ce blog. Pour cela, vous n'avez qu'a choisir un dossier puis suivre les instructions"
122
- msgstr "Ce plug-in vous permet d'ajouter de nouvelles vidéos directement depuis ce blog. Pour cela, vous n'avez qu'à choisir un dossier puis suivre les instructions"
 
123
 
124
- #: vod.template.php:560
125
- msgid "Cette adresse necessite une authentification."
126
- msgstr "Cette adresse nécessite une authentification."
 
 
 
 
 
 
 
127
 
128
- #: vod.template.php:299
129
- #, php-format
130
- msgid "Cette option vous permet de mettre a jour automatiquement votre blog a chaque ajout de video a votre espace VOD.<br/>Veuillez aller dans \"<a href='https://statslive.infomaniak.com/vod/configuration.php?iVodCode=%d' target='_blank'>Configuration -> Api & Callback</a>\" et mettre l'adresse suivante dans le champ \"Adresse de Callback\""
131
- msgstr "Cette option vous permet de mettre à jour automatiquement votre blog à chaque ajout de vidéo à votre espace VOD.<br/>Veuillez aller dans \"<a href='https://statslive.infomaniak.com/vod/configuration.php?iVodCode=%d' target='_blank'>Configuration -> Api & Callback</a>\" et mettre l'adresse suivante dans le champ \"Adresse de Callback\""
132
 
133
- #: vod.template.php:887
134
- msgid "Choisir ce player"
135
- msgstr "Choisir ce player"
 
136
 
137
- #: vod.template.php:352
138
- msgid "Choix du dossier d'envoi"
139
- msgstr "Choix du dossier d'envoi"
 
 
140
 
141
- #: vod.template.php:368
142
- msgid "Choix du type d'envoi"
143
- msgstr "Choix du type d'envoi"
144
 
145
- #: vod.template.php:667
146
- msgid "Code d'integration"
147
- msgstr "Code d'intégration"
 
148
 
149
- #: vod.class.php:98
150
- msgid "Configuration"
151
- msgstr "Configuration"
 
152
 
153
- #: vod.template.php:298
154
- msgid "Configuration du callback"
155
- msgstr "Configuration du callback"
156
 
157
- #: vod.template.php:255
158
- msgid "Connecter"
159
- msgstr "Connecter"
 
 
160
 
161
- #: vod.template.php:252
162
- msgid "Connection"
163
- msgstr "Connection"
 
 
164
 
165
- #: vod.template.php:921
166
- msgid "Creation ou modification de players"
167
- msgstr "Création ou modification de players"
 
 
 
 
168
 
169
- #: vod.template.php:689
170
- msgid "Creer un article"
171
- msgstr "Créer un article"
172
 
173
- #: vod.template.php:316
174
- #: vod.template.php:822
175
- #: vod.template.php:899
176
- msgid "Date"
177
- msgstr "Date"
178
 
179
- #: vod.template.php:45
180
- #: vod.template.php:701
181
- msgid "Date d'upload"
182
- msgstr "Date d'upload"
 
 
 
 
 
 
 
 
 
183
 
184
- #: vod.template.php:210
185
- #: vod.template.php:901
 
 
 
 
186
  msgid "Demarrage automatique"
187
  msgstr "Démarrage automatique"
188
 
189
- #: vod.template.php:22
190
- msgid "Dernieres videos"
191
- msgstr "Dernières vidéos"
192
-
193
- #: vod.template.php:316
194
- #: vod.template.php:818
195
- msgid "Description"
196
- msgstr "Description"
197
 
198
- #: vod.template.php:183
199
- msgid "Dimensions"
200
- msgstr "Dimensions"
201
 
202
- #: vod.template.php:85
203
- #: vod.template.php:360
204
- #: vod.template.php:700
205
- msgid "Dossier"
206
- msgstr "Dossier"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
207
 
208
- #: vod.template.php:79
209
- #: vod.template.php:488
210
- #: vod.template.php:539
211
- msgid "Dossier d'envoi"
212
- msgstr "Dossier d'envoi"
213
 
214
- #: vod.template.php:274
215
- msgid "Dossiers recuperes"
216
- msgstr "Dossiers récupérés"
217
 
218
- #: vod.class.php:147
219
- #: vod.template.php:820
220
- msgid "Duree"
221
- msgstr "Durée"
222
 
223
- #: vod.template.php:333
224
- msgid "En cours de conversion"
225
- msgstr "En cours de conversion"
226
 
227
- #: vod.template.php:499
228
- msgid "Envoi"
229
- msgstr "Envoi"
230
 
231
- #: vod.template.php:349
232
- msgid "Envoi d'une nouvelle video"
233
- msgstr "Envoi d'une nouvelle vidéo"
 
 
234
 
235
- #: vod.template.php:24
236
- msgid "Envoi d'une video"
237
- msgstr "Envoi d'une vidéo"
238
 
239
- #: vod.template.php:376
240
- msgid "Envoi termine"
241
- msgstr "Envoi terminé"
 
 
 
 
 
 
 
 
 
 
242
 
243
- #: vod.template.php:369
244
- msgid "Envoyer depuis cet ordinateur"
245
- msgstr "Envoyer depuis cet ordinateur"
246
 
247
- #: vod.class.php:504
248
- msgid "Erreur : Impossible de se connecter"
249
- msgstr "Erreur : Impossible de se connecter"
250
 
251
- #: vod.template.php:336
252
- msgid "Erreurs"
253
- msgstr "Erreurs"
254
 
255
- #: vod.template.php:624
256
- msgid "Etes-vous sur de vouloir continuer ?"
257
- msgstr "Etes-vous sur de vouloir continuer ?"
258
 
259
- #: vod.template.php:206
260
- msgid "Etirer la video (stretch)"
261
- msgstr "Etirer la vidéo (stretch)"
262
 
263
- #: vod.template.php:30
264
- msgid "Exemple"
265
- msgstr "Exemple"
266
 
267
- #: vod.template.php:316
268
- msgid "Fichier"
269
- msgstr "Fichier"
270
 
271
- #: vod.class.php:94
272
- msgid "Gestionnaire"
273
- msgstr "Gestionnaire"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
274
 
275
- #: vod.template.php:605
276
- msgid "Gestionnaire de videos"
277
- msgstr "Gestionnaire de vidéos"
 
278
 
279
- #: vod.template.php:248
280
- msgid "Identifiant de l'espace VOD"
281
- msgstr "Identifiant de l'espace VOD"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
282
 
283
- #: vod.template.php:34
284
- msgid "Identifiant de playlist"
285
- msgstr "Identifiant de playlist"
 
 
 
 
 
 
 
 
 
 
 
286
 
287
- #: vod.template.php:925
288
- msgid "Il est possible de personnaliser votre player video afin qu'ils s'integre parfaitement a votre site. Voici quelques fonctionnalites avancees qu'il propose :"
289
- msgstr "Il est possible de personnaliser votre player vidéo afin qu'ils s'intègre parfaitement à votre site. Voici quelques fonctionnalités avancées qu'il propose :"
290
 
291
- #: vod.class.php:108
292
- #: vod.class.php:606
293
- #: vod.class.php:617
294
- msgid "Il n'est pas possible d'uploader dans ce dossier."
295
- msgstr "Il n'est pas possible d'uploader dans ce dossier."
296
 
297
- #: vod.class.php:95
298
- msgid "Importation"
299
- msgstr "Importation"
300
 
301
- #: vod.template.php:566
302
- msgid "Importer"
303
- msgstr "Importer"
 
 
304
 
305
- #: vod.template.php:370
306
- msgid "Importer depuis un autre site"
307
- msgstr "Importer depuis un autre site"
308
 
309
- #: vod.template.php:257
310
- msgid "Impossible de se connecter"
311
- msgstr "Impossible de se connecter"
312
 
313
- #: vod.template.php:720
314
- msgid "Information sur cette video"
315
- msgstr "Information sur cette vidéo"
316
 
317
- #: vod.template.php:635
318
- msgid "Informations"
319
- msgstr "Informations"
320
 
321
- #: vod.template.php:889
322
- msgid "Informations sur ce Player"
323
- msgstr "Informations sur ce Player"
324
 
325
- #: vod.template.php:650
326
- msgid "Integration"
327
- msgstr "Intégration"
328
 
329
- #: vod.template.php:866
330
- msgid "Integration par defaut des videos"
331
- msgstr "Intégration par défaut des videos"
332
 
333
- #: vod.template.php:378
334
- msgid "L'ajout de cette video a correctement ete pris en compte.<br/>Vous pouvez retrouver l'avancement de cette conversion video dans le tableau ci-dessous."
335
- msgstr "L'ajout de cette vidéo a correctement été pris en compte.<br/>Vous pouvez retrouver l'avancement de cette conversion vidéo dans le tableau ci-dessous."
 
 
 
 
 
 
336
 
337
- #: vod.template.php:496
338
- msgid "L'envoi doit etre effectue en moins de 4 heures"
339
- msgstr "L'envoi doit être effectué en moins de 4 heures"
340
 
341
- #: vod.template.php:494
342
- #: vod.template.php:545
343
- msgid "Le poids des fichiers envoyes via ce module est limite a 1Go"
344
- msgstr "Le poids des fichiers envoyés via ce module est limité à 1Go"
345
 
346
- #: vod.template.php:214
347
- #: vod.template.php:902
348
- msgid "Lecture en boucle"
349
- msgstr "Lecture en boucle"
350
 
351
- #: vod.template.php:495
352
- #: vod.template.php:546
353
- msgid "Les formats videos supportes sont avi, flv, mov, mpeg, mp4, mkv, rm, wmv, m4v, vob, 3gp, webm, f4v, ts"
354
- msgstr "Les formats vidéos supportés sont avi, flv, mov, mpeg, mp4, mkv, rm, wmv, m4v, vob, 3gp, webm, f4v, ts"
355
 
356
- #: vod.template.php:492
357
- #: vod.template.php:543
358
- msgid "Limites"
359
- msgstr "Limites"
360
 
361
- #: vod.template.php:240
362
- #: vod.template.php:563
363
- msgid "Login"
364
- msgstr "Login"
 
 
 
365
 
366
- #: vod.template.php:427
367
  msgid "Mise a jour dans"
368
  msgstr "Mise à jour dans"
369
 
370
- #: vod.template.php:821
371
- msgid "Mode de lecture"
372
- msgstr "Mode de lecture"
373
-
374
- #: vod.template.php:906
375
- msgid "Modifier ce Player"
376
- msgstr "Modifier ce Player"
377
-
378
- #: vod.template.php:44
379
- #: vod.template.php:85
380
- #: vod.template.php:360
381
- #: vod.template.php:644
382
- #: vod.template.php:817
383
- #: vod.template.php:898
384
- msgid "Nom"
385
- msgstr "Nom"
386
-
387
- #: vod.template.php:819
388
- msgid "Nombre videos"
389
- msgstr "Nombre vidéos"
390
 
391
- #: vod.template.php:324
392
- msgid "OK"
393
- msgstr "OK"
 
394
 
395
- #: vod.template.php:327
396
- msgid "Ok (des alertes sont apparues)"
397
- msgstr "Ok (des alertes sont apparues)"
 
398
 
399
- #: vod.template.php:180
400
- msgid "Options d'integration"
401
- msgstr "Options d'intégration"
 
 
 
 
 
402
 
403
- #: vod.template.php:25
404
- msgid "Outil de recherche"
405
- msgstr "Outil de recherche"
406
 
407
- #: vod.template.php:244
408
- #: vod.template.php:564
409
- msgid "Password"
410
- msgstr "Password"
411
 
412
- #: vod.template.php:188
413
- msgid "Player choisi"
414
- msgstr "Player choisi"
415
 
416
- #: vod.class.php:96
417
- msgid "Player video"
418
- msgstr "Player vidéo"
419
 
420
- #: vod.template.php:278
421
- msgid "Players recuperes"
422
- msgstr "Players récupérés"
423
 
424
- #: vod.class.php:97
425
- #: vod.template.php:170
426
- msgid "Playlist"
427
- msgstr "Playlist"
428
 
429
- #: vod.template.php:282
430
- msgid "Playlist recuperes"
431
- msgstr "Playlist récupérées"
432
 
433
- #: vod.template.php:810
434
- msgid "Playlists"
435
- msgstr "Playlists"
436
 
437
- #: vod.template.php:923
438
- msgid "Plus d'options"
439
- msgstr "Plus d'options"
440
 
441
- #: vod.template.php:268
442
- msgid "Pour fonctionner correctement, cette extension a besoin de se synchroniser regulierement avec votre compte VOD.<br/>Cela vous permet de garder une liste des players, dossiers et playlist a jour sur votre blog.<br/>Cette operation s'effectue automatiquement assez regulierement mais il est egalement possible de forcer une verification ci-dessous."
443
- msgstr "Pour fonctionner correctement, cette extension a besoin de se synchroniser régulierement avec votre compte VOD.<br/>Cela vous permet de garder une liste des players, dossiers et playlist à jour sur votre blog.<br/>Cette opération s'effectue automatiquement assez régulierement mais il est également possible de forcer une vérification ci-dessous."
444
 
445
- #: vod.template.php:234
446
  msgid ""
447
- "Pour fonctionner, le plugin a besoin de s'interfacer avec votre compte VOD infomaniak.<br/>\n"
448
- "\t\t\t\tPour des raisons de securites, il est fortement conseille de creer un nouvel utilisateur dedie dans votre admin infomaniak avec uniquement des droits restreints sur l'API.<br/>\n"
449
- "\t\t\t\tPour plus d'information, veuillez vous rendre dans la partie \"Configuration -> Api & Callback\" de votre administration VOD."
450
  msgstr ""
451
- "Pour fonctionner, le plugin a besoin de s'interfacer avec votre compte VOD infomaniak.<br/>\n"
452
- "\t\t\t\tPour des raisons de securités, il est fortement conseillé de créer un nouvel utilisateur dedié dans votre admin infomaniak avec uniquement des droits restreints sur l'API.<br/>\n"
453
- "\t\t\t\tPour plus d'information, veuillez vous rendre dans la partie \"Configuration -> Api & Callback\" de votre administration VOD."
454
 
455
- #: vod.template.php:314
456
- #: vod.template.php:813
457
- msgid "Precedents Envois"
458
- msgstr "Précédents Envois"
459
 
460
- #: vod.template.php:629
461
  msgid "Previsualisation d'une video"
462
  msgstr "Prévisualisation d'une vidéo"
463
 
464
- #: vod.class.php:529
465
- msgid "Probleme de configuration"
466
- msgstr "Problème de configuration"
467
-
468
- #: vod.template.php:168
469
- msgid "Recherche d'une"
470
- msgstr "Recherche d'une"
471
-
472
- #: vod.template.php:900
473
- msgid "Resolution"
474
- msgstr "Résolution"
475
 
476
- #: vod.template.php:647
477
  msgid "Restriction d'acces"
478
  msgstr "Restriction d'accès"
479
 
480
- #: vod.template.php:778
481
- msgid "Securise avec un token"
482
- msgstr "Sécurisé avec un token"
483
 
484
- #: vod.template.php:872
485
- msgid "Selection du player par defaut"
486
- msgstr "Sélection du player par défaut"
487
 
488
- #: vod.template.php:811
489
- #, php-format
490
- msgid "Si vous desirez ajouter ou modifier les playlist ci-dessous, veuillez vous rendre dans <a href='https://statslive.infomaniak.com/vod/playlists.php?iVodCode=%s' target='_blank'>la console d'administration</a>"
491
- msgstr "Si vous desirez ajouter ou modifier les playlists ci-dessous, veuillez vous rendre dans <a href='https://statslive.infomaniak.com/vod/playlists.php?iVodCode=%s' target='_blank'>la console d'administration</a>"
492
 
493
- #: vod.template.php:316
494
- msgid "Statut"
495
- msgstr "Statut"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
496
 
497
- #: vod.template.php:723
498
  msgid "Supprimer cette video"
499
  msgstr "Supprimer cette vidéo"
500
 
501
- #: vod.template.php:741
502
  msgid "Supprimer definitivement la video"
503
  msgstr "Supprimer définitivement la vidéo"
504
 
505
- #: vod.template.php:613
506
- msgid "Supprimer une video"
507
- msgstr "Supprimer une vidéo"
508
 
509
- #: vod.template.php:903
510
- msgid "Switch de qualite"
511
- msgstr "Switch de qualité"
512
 
513
- #: vod.template.php:267
514
- msgid "Synchronisation des donnees"
515
- msgstr "Synchronisation des données"
516
 
517
- #: vod.template.php:290
518
- msgid "Synchronisation rapide"
519
- msgstr "Synchronisation rapide"
 
 
 
 
 
 
 
520
 
521
- #: vod.template.php:294
522
- msgid "Synchroniser Videos"
523
- msgstr "Synchroniser Vidéos"
524
 
525
- #: vod.template.php:330
526
- msgid "Telechargement en cours"
527
- msgstr "Téléchargement en cours"
528
 
529
- #: vod.template.php:32
530
- msgid "Url complete"
531
- msgstr "Url complète"
532
 
533
- #: vod.template.php:663
534
- msgid "Url de l'image"
535
- msgstr "Url de l'image"
536
 
537
- #: vod.template.php:656
538
- msgid "Url de la video"
539
- msgstr "Url de la vidéo"
540
 
541
- #: vod.template.php:33
542
- msgid "Url partiel"
543
- msgstr "Url partiel"
544
 
545
- #: vod.template.php:218
546
- msgid "Utilisation du token du dossier (Id dossier)"
547
- msgstr "Utilisation du token du dossier (Id dossier)"
548
 
549
- #: vod.template.php:486
550
- msgid "Utilitaire d'envoi de video"
551
- msgstr "Utilitaire d'envoi de vidéo"
552
 
553
- #: vod.template.php:532
554
- msgid "Utilitaire d'importation de video"
555
- msgstr "Utilitaire d'importation de vidéo"
556
 
557
- #: vod.template.php:261
558
- msgid "Valider"
559
- msgstr "Valider"
560
 
561
- #: vod.template.php:28
562
- msgid "Veuillez saisir l'URL d'une video"
563
- msgstr "Veuillez saisir l'URL d'une vidéo"
 
564
 
565
- #: vod.class.php:529
566
- msgid "Veuillez-vous rendre dans <a href='admin.php?page=configuration'>Videos -> Configuration</a> afin de configurer votre compte."
567
- msgstr "Veuillez-vous rendre dans <a href='admin.php?page=configuration'>Videos -> Configuration</a> afin de configurer votre compte."
568
 
569
- #: vod.template.php:43
570
- #: vod.template.php:169
571
- #: vod.template.php:699
572
- msgid "Video"
573
- msgstr "Vidéo"
 
 
 
 
 
 
 
574
 
575
- #: vod.template.php:774
576
- msgid "Video Geolocalise"
577
- msgstr "Video Geolocalisée"
578
 
579
- #: vod.class.php:200
580
- msgid "Video en cours de conversion"
581
- msgstr "Video en cours de conversion"
 
 
 
 
 
 
582
 
583
- #: vod.class.php:90
584
- msgid "Videos"
585
- msgstr "Vidéos"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
586
 
587
- #: vod.template.php:270
588
- msgid "Videos recuperes"
589
- msgstr "Vidéos récuperées"
590
 
591
- #: vod.template.php:653
592
- msgid "Visualiser la video"
593
- msgstr "Visualiser la vidéo"
 
594
 
595
- #: vod.template.php:679
596
- msgid "Voir les statistiques"
597
- msgstr "Voir les statistiques"
598
 
599
- #: vod.template.php:679
600
- #: vod.template.php:722
601
- msgid "Voir les statistiques de cette video"
602
- msgstr "Voir les statistiques de cette vidéo"
603
 
604
- #: vod.template.php:619
605
- msgid "Vous etes sur le point de supprimer la video"
606
- msgstr "Vous êtes sur le point de supprimer la vidéo"
607
 
 
 
7
  msgstr ""
8
  "Project-Id-Version: vod\n"
9
  "Report-Msgid-Bugs-To: \n"
10
+ "POT-Creation-Date: 2014-04-17 11:11+0100\n"
11
+ "PO-Revision-Date: 2014-04-25 11:30+0100\n"
12
  "Last-Translator: \n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
  "Language: fr_FR\n"
15
  "MIME-Version: 1.0\n"
16
  "Content-Type: text/plain; charset=UTF-8\n"
17
  "Content-Transfer-Encoding: 8bit\n"
18
+ "X-Generator: Poedit 1.6.4\n"
19
+ "X-Poedit-KeywordsList: _e;__\n"
20
+ "X-Poedit-Basepath: .\n"
21
+ "X-Poedit-SearchPath-0: /Users/daviderubini/Projets/LOCAL/wordpress/wp-"
22
+ "content/plugins/vod-infomaniak\n"
23
+
24
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:147
25
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:21
26
+ msgid "Videos"
27
+ msgstr "Vidéos"
28
 
29
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:152
30
+ msgid "Gestionnaire"
31
+ msgstr "Gestionnaire"
32
 
33
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:155
34
+ msgid "Importation"
35
+ msgstr "Importation"
36
 
37
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:158
38
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:499
39
+ msgid "Player video"
40
+ msgstr "Player vidéo"
 
 
 
 
 
 
 
 
 
 
 
 
 
41
 
42
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:161
43
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:89
44
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:515
45
+ msgid "Playlist"
46
+ msgstr "Playlist"
47
 
48
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:164
49
+ msgid "Configuration"
50
+ msgstr "Configuration"
51
 
52
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:177
53
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:755
54
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:767
55
+ msgid "Il n'est pas possible d'uploader dans ce dossier."
56
+ msgstr "Il n'est pas possible d'uploader dans ce dossier."
57
 
58
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:288
59
+ msgid "Video en cours de conversion"
60
+ msgstr "Video en cours de conversion"
 
61
 
62
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:632
63
+ msgid "Erreur : Impossible de se connecter"
64
+ msgstr "Erreur: Impossible de se connecter"
65
 
66
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:673
67
+ msgid "Probleme de configuration"
68
+ msgstr "Problème de configuration"
69
 
70
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:673
71
+ msgid ""
72
+ "Veuillez-vous rendre dans <a href='admin.php?page=configuration'>Videos -> "
73
+ "Configuration</a> afin de configurer votre compte."
74
+ msgstr ""
75
+ "Veuillez-vous rendre dans <a href='admin.php?page=configuration'>Videos -> "
76
+ "Configuration</a> afin de configurer votre compte."
77
 
78
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.class.php:723
79
+ msgid ""
80
+ "Article correctement cree. Vous allez etre rediriger sur la page d'edition"
81
+ msgstr ""
82
+ "Article correctement créé. Vous allez être redirigé sur la page d'édition"
83
 
84
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:22
85
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1121
86
+ msgid "Playlists"
87
+ msgstr "Playlists"
88
 
89
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:23
90
+ msgid "Avec l'url"
91
+ msgstr "Avec l'url"
92
 
93
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:25
94
+ msgid "Envoi d'une video"
95
+ msgstr "Envoi d'une vidéo"
96
 
97
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:31
98
+ msgid "Veuillez saisir l'URL d'une video"
99
+ msgstr "Veuillez saisir l'URL d'une vidéo"
 
100
 
101
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:33
102
+ msgid "Exemple"
103
+ msgstr "Exemple"
 
 
104
 
105
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:35
106
+ msgid "Url complete"
107
+ msgstr "Url complète"
108
 
109
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:36
110
+ msgid "Url partiel"
111
+ msgstr "Url partiel"
 
112
 
113
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:37
114
+ msgid "Identifiant de playlist"
115
+ msgstr "Identifiant de playlist"
116
 
117
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:45
118
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:83
119
+ #, fuzzy
120
+ msgid "Rechercher ..."
121
+ msgstr "Recherche d'une"
122
 
123
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:51
124
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:989
125
+ msgid "Video"
126
+ msgstr "Vidéo"
127
 
128
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:52
129
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:139
130
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:444
131
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:446
132
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:602
133
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:910
134
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1128
135
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1219
136
+ msgid "Nom"
137
+ msgstr "Nom"
138
 
139
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:53
140
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:991
141
+ msgid "Date d'upload"
142
+ msgstr "Date d'upload"
143
 
144
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:59
145
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:998
146
+ msgid "Aucune video disponible"
147
+ msgstr "Aucune vidéo de disponible"
148
 
149
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:90
150
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:555
151
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1129
152
+ msgid "Description"
153
+ msgstr "Description"
154
 
155
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:91
156
+ msgid "Nbr Videos"
157
+ msgstr "Nbr vidéos"
158
 
159
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:92
160
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1131
161
+ msgid "Duree"
162
+ msgstr "Durée"
163
 
164
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:98
165
+ #, fuzzy
166
+ msgid "Aucune playlist de disponible"
167
+ msgstr "Aucune playlist disponible"
168
 
169
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:131
170
+ msgid "1. Selection du dossier"
171
+ msgstr "1. Sélection du dossier"
172
 
173
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:133
174
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:736
175
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:790
176
+ msgid "Dossier d'envoi"
177
+ msgstr "Dossier d'envoi"
178
 
179
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:136
180
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:440
181
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:599
182
+ msgid "Aucun dossier disponible"
183
+ msgstr "Aucun dossier de disponible"
184
 
185
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:139
186
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:444
187
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:446
188
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:602
189
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:990
190
+ msgid "Dossier"
191
+ msgstr "Dossier"
192
 
193
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:148
194
+ msgid "2. Envoi d'un fichier"
195
+ msgstr "2. Envoi d'un fichier"
196
 
197
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:224
198
+ msgid "Options d'integration"
199
+ msgstr "Options d'intégration"
 
 
200
 
201
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:227
202
+ msgid "Dimensions"
203
+ msgstr "Dimensions"
204
+
205
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:233
206
+ msgid "Player choisi"
207
+ msgstr "Player choisi"
208
+
209
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:237
210
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1194
211
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1211
212
+ msgid "Aucun player disponible"
213
+ msgstr "Aucun player de disponible"
214
 
215
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:252
216
+ msgid "Etirer la video (stretch)"
217
+ msgstr "Etirer la vidéo (stretch)"
218
+
219
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:257
220
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1227
221
  msgid "Demarrage automatique"
222
  msgstr "Démarrage automatique"
223
 
224
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:262
225
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1230
226
+ msgid "Lecture en boucle"
227
+ msgstr "Lecture en boucle"
 
 
 
 
228
 
229
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:343
230
+ msgid "Administration du plugin VOD"
231
+ msgstr "Administration du plugin VOD"
232
 
233
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:348
234
+ msgid ""
235
+ "Pour fonctionner, le plugin a besoin de s'interfacer avec votre compte VOD "
236
+ "infomaniak.<br/>\n"
237
+ "\t\t\t\tPour des raisons de securites, il est fortement conseille de creer "
238
+ "un nouvel utilisateur dedie dans votre admin infomaniak avec uniquement des "
239
+ "droits restreints sur l'API.<br/>\n"
240
+ "\t\t\t\tPour plus d'information, veuillez vous rendre dans la partie "
241
+ "\"Configuration -> Api & Callback\" de votre administration VOD."
242
+ msgstr ""
243
+ "Pour fonctionner, le plugin a besoin de s'interfacer avec votre compte VOD "
244
+ "infomaniak.<br/>\n"
245
+ "\t\t\t\tPour des raisons de sécurités, il est fortement conseillé de créer "
246
+ "un nouvel utilisateur dédié dans votre admin infomaniak avec uniquement des "
247
+ "droits restreints sur l'API.<br/>\n"
248
+ "\t\t\t\tPour plus d'information, veuillez vous rendre dans votre console "
249
+ "d'administration VOD/AOD, sous CONFIGURATION puis sous l'onglet API."
250
+
251
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:355
252
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:819
253
+ msgid "Login"
254
+ msgstr "Login"
255
 
256
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:361
257
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:821
258
+ msgid "Password"
259
+ msgstr "Password"
 
260
 
261
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:367
262
+ msgid "Identifiant de l'espace VOD"
263
+ msgstr "Identifiant de l'espace VOD"
264
 
265
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:373
266
+ msgid "Connection"
267
+ msgstr "Connection"
 
268
 
269
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:376
270
+ msgid "Connecter"
271
+ msgstr "Connecté"
272
 
273
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:379
274
+ msgid "Impossible de se connecter"
275
+ msgstr "Impossible de se connecter"
276
 
277
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:386
278
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:452
279
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:532
280
+ msgid "Valider"
281
+ msgstr "Valider"
282
 
283
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:392
284
+ msgid "Synchronisation des donnees"
285
+ msgstr "Synchronisation des données"
286
 
287
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:393
288
+ msgid ""
289
+ "Pour fonctionner correctement, cette extension a besoin de se synchroniser "
290
+ "regulierement avec votre compte VOD.<br/>Cela vous permet de garder une "
291
+ "liste des players, dossiers et playlist a jour sur votre blog.<br/>Cette "
292
+ "operation s'effectue automatiquement assez regulierement mais il est "
293
+ "egalement possible de forcer une verification ci-dessous."
294
+ msgstr ""
295
+ "Pour fonctionner correctement, cette extension a besoin de se synchroniser "
296
+ "régulièrement avec votre compte VOD.<br/>Cela vous permet de garder une "
297
+ "liste des players, dossiers et playlist à jour sur votre blog.<br/>Cette "
298
+ "opération s'effectue automatiquement assez régulièrement mais il est "
299
+ "également possible de forcer une vérification ci-dessous."
300
 
301
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:395
302
+ msgid "Videos recuperes"
303
+ msgstr "Vidéos récupérées"
304
 
305
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:399
306
+ msgid "Dossiers recuperes"
307
+ msgstr "Dossiers récupérés"
308
 
309
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:403
310
+ msgid "Players recuperes"
311
+ msgstr "Players récupérés"
312
 
313
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:407
314
+ msgid "Playlist recuperes"
315
+ msgstr "Playlists récupérées"
316
 
317
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:417
318
+ msgid "Synchronisation rapide"
319
+ msgstr "Synchronisation rapide"
320
 
321
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:423
322
+ msgid "Synchroniser Videos"
323
+ msgstr "Synchroniser Vidéos"
324
 
325
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:427
326
+ msgid "Filtrer l'acces a l'espace VOD"
327
+ msgstr "Filtrer l'accès à l'espace VOD"
328
 
329
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:428
330
+ msgid ""
331
+ "Par defaut, ce plugin permet d'acceder a l'integralite des videos/dossiers "
332
+ "presents sur votre espace VOD.<br/>\n"
333
+ "\t\t\t\tIl peut etre utile dans certains cas de limiter l'acces aux "
334
+ "utilisateurs de ce site qu'a une partie des dossiers.<br/>\n"
335
+ "\t\t\t\tL'option ci-dessous permet de restreindre l'acces de ce site a un "
336
+ "dossier ainsi que tous ses dossiers fils."
337
+ msgstr ""
338
+ "Par défaut, ce plugin permet d'accéder à l'intégralité des vidéos/dossiers "
339
+ "présents sur votre espace VOD.<br/>\n"
340
+ "\t\t\t\tIl peut être utile dans certains cas de limiter l'accès aux "
341
+ "utilisateurs de ce site à une partie des dossiers.<br/>\n"
342
+ "\t\t\t\tL'option ci-dessous permet de restreindre l'accès de ce site a un "
343
+ "dossier ainsi que tous ses dossiers fils."
344
+
345
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:436
346
+ msgid "Dossier Racine"
347
+ msgstr "Dossier Racine"
348
+
349
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:456
350
+ msgid "Gestion des droits par groupe d'utilisateur"
351
+ msgstr "Gestion des droits par groupe d'utilisateurs"
352
+
353
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:458
354
+ msgid ""
355
+ "Par defaut, toutes les options du plugin sont disponibles pour les "
356
+ "utilisateurs a partir du rang de contributeur.<br/>\n"
357
+ "\t\t\t\tCi-dessous, il est cependant possible de parametrer les options que "
358
+ "vous souhaitez proposer a vos utilisateurs."
359
+ msgstr ""
360
+ "Par défaut, toutes les options du plugin sont disponibles pour les "
361
+ "utilisateurs à partir du rang de contributeur.<br/>\n"
362
+ "\t\t\t\tCi-dessous, il est possible de paramétrer les droits nécessaires "
363
+ "pour l'utilisation de chaque fonctionnalité."
364
 
365
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:467
366
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:917
367
+ msgid "Integration"
368
+ msgstr "Intégration"
369
 
370
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:471
371
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:487
372
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:503
373
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:519
374
+ msgid "Contributeur"
375
+ msgstr "Contributeur"
376
+
377
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:474
378
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:490
379
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:506
380
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:522
381
+ msgid "Auteur"
382
+ msgstr "Auteur"
383
+
384
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:477
385
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:493
386
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:509
387
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:525
388
+ msgid "Editeur"
389
+ msgstr "Editeur"
390
+
391
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:480
392
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:496
393
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:512
394
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:528
395
+ msgid "Administrateur"
396
+ msgstr "Administrateur"
397
+
398
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:483
399
+ msgid "Importation de video"
400
+ msgstr "Importation de vidéo"
401
+
402
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:537
403
+ msgid "Configuration du callback"
404
+ msgstr "Configuration du callback"
405
 
406
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:538
407
+ #, php-format
408
+ msgid ""
409
+ "Cette option vous permet de mettre a jour automatiquement votre blog a "
410
+ "chaque ajout de video a votre espace VOD.<br/>Veuillez aller dans \"<a "
411
+ "href='https://statslive.infomaniak.com/vod/configuration.php/g%ds7i%d' "
412
+ "target='_blank'>Configuration -> Api & Callback</a>\" et mettre l'adresse "
413
+ "suivante dans le champ \"Adresse de Callback\""
414
+ msgstr ""
415
+ "Cette option vous permet de mettre à jour automatiquement votre blog à "
416
+ "chaque ajout de vidéo dans votre espace VOD.<br/>Veuillez vous rendre dans "
417
+ "\"<a href='https://statslive.infomaniak.com/vod/configuration.php/g%ds7i%d' "
418
+ "target='_blank'>Configuration -> Api & Callback</a>\" et mettre l'adresse "
419
+ "suivante dans le champ \"Adresse de Callback\""
420
 
421
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:542
422
+ msgid "Adresse de callback"
423
+ msgstr "Adresse de callback"
424
 
425
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:553
426
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1124
427
+ msgid "Precedents Envois"
428
+ msgstr "Précédents Envois"
 
429
 
430
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:555
431
+ msgid "Fichier"
432
+ msgstr "Fichier"
433
 
434
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:555
435
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1133
436
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1221
437
+ msgid "Date"
438
+ msgstr "Date"
439
 
440
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:555
441
+ msgid "Statut"
442
+ msgstr "Statut"
443
 
444
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:563
445
+ msgid "OK"
446
+ msgstr "OK"
447
 
448
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:566
449
+ msgid "Ok (des alertes sont apparues)"
450
+ msgstr "Ok (des alertes sont apparues)"
451
 
452
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:569
453
+ msgid "Telechargement en cours"
454
+ msgstr "Téléchargement en cours"
455
 
456
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:572
457
+ msgid "En cours de conversion"
458
+ msgstr "En cours de conversion"
459
 
460
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:574
461
+ msgid "Erreurs"
462
+ msgstr "Erreurs"
463
 
464
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:590
465
+ msgid "Envoi d'une nouvelle video"
466
+ msgstr "Envoi d'une nouvelle vidéo"
467
 
468
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:591
469
+ msgid ""
470
+ "Ce plug-in vous permet d'ajouter de nouvelles videos directement depuis ce "
471
+ "blog. Pour cela, vous n'avez qu'a choisir un dossier puis suivre les "
472
+ "instructions"
473
+ msgstr ""
474
+ "Ce plug-in vous permet d'ajouter de nouvelles vidéos directement depuis ce "
475
+ "blog. Pour cela, vous n'avez qu'à choisir un dossier puis suivre les "
476
+ "instructions"
477
 
478
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:594
479
+ msgid "Choix du dossier d'envoi"
480
+ msgstr "Choix du dossier d'envoi"
481
 
482
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:610
483
+ msgid "Choix du type d'envoi"
484
+ msgstr "Choix du type d'envoi"
 
485
 
486
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:612
487
+ msgid "Envoyer depuis cet ordinateur"
488
+ msgstr "Envoyer depuis cet ordinateur"
 
489
 
490
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:615
491
+ msgid "Importer depuis un autre site"
492
+ msgstr "Importer depuis un autre site"
 
493
 
494
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:622
495
+ msgid "Envoi termine"
496
+ msgstr "Envoi terminé"
 
497
 
498
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:624
499
+ msgid ""
500
+ "L'ajout de cette video a correctement ete pris en compte.<br/>Vous pouvez "
501
+ "retrouver l'avancement de cette conversion video dans le tableau ci-dessous."
502
+ msgstr ""
503
+ "L'ajout de cette vidéo a correctement été pris en compte.<br/>Vous pouvez "
504
+ "retrouver l'avancement de cette conversion vidéo dans le tableau ci-dessous."
505
 
506
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:673
507
  msgid "Mise a jour dans"
508
  msgstr "Mise à jour dans"
509
 
510
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:734
511
+ msgid "Utilitaire d'envoi de video"
512
+ msgstr "Utilitaire d'envoi de vidéo"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
513
 
514
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:742
515
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:797
516
+ msgid "Limites"
517
+ msgstr "Limites"
518
 
519
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:744
520
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:799
521
+ msgid "Le poids des fichiers envoyes via ce module est limite a 1Go"
522
+ msgstr "Le poids des fichiers envoyés via ce module est limité à 1Go"
523
 
524
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:745
525
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:800
526
+ msgid ""
527
+ "Les formats videos supportes sont avi, flv, mov, mpeg, mp4, mkv, rm, wmv, "
528
+ "m4v, vob, 3gp, webm, f4v, ts"
529
+ msgstr ""
530
+ "Les formats vidéos supportés sont avi, flv, mov, mpeg, mp4, mkv, rm, wmv, "
531
+ "m4v, vob, 3gp, webm, f4v, ts"
532
 
533
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:746
534
+ msgid "L'envoi doit etre effectue en moins de 4 heures"
535
+ msgstr "L'envoi doit être effectué en moins de 4 heures"
536
 
537
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:749
538
+ msgid "Envoi"
539
+ msgstr "Envoi"
 
540
 
541
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:782
542
+ msgid "Utilitaire d'importation de video"
543
+ msgstr "Utilitaire d'importation de vidéo"
544
 
545
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:804
546
+ msgid "Adresse"
547
+ msgstr "Adresse"
548
 
549
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:815
550
+ msgid "Cette adresse necessite une authentification."
551
+ msgstr "Cette adresse nécessite une authentification."
552
 
553
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:826
554
+ msgid "Importer"
555
+ msgstr "Importer"
 
556
 
557
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:865
558
+ msgid "Gestionnaire de videos"
559
+ msgstr "Gestionnaire de vidéos"
560
 
561
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:873
562
+ msgid "Supprimer une video"
563
+ msgstr "Supprimer une vidéo"
564
 
565
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:881
566
+ msgid "Vous etes sur le point de supprimer la video"
567
+ msgstr "Vous êtes sur le point de supprimer la vidéo"
568
 
569
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:884
570
+ msgid "Attention"
571
+ msgstr "Attention"
572
 
573
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:885
574
  msgid ""
575
+ "C'est une suppression definitive de la video, il n'y pas de corbeille ou de "
576
+ "moyen de la recuperer une fois effacer."
 
577
  msgstr ""
578
+ "C'est une suppression définitive de la video, il n'y pas de corbeille ou de "
579
+ "moyen de la récuperer une fois effacé."
 
580
 
581
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:887
582
+ msgid "Etes-vous sur de vouloir continuer ?"
583
+ msgstr "Etes-vous sur de vouloir continuer ?"
 
584
 
585
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:892
586
  msgid "Previsualisation d'une video"
587
  msgstr "Prévisualisation d'une vidéo"
588
 
589
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:898
590
+ msgid "Informations"
591
+ msgstr "Informations"
 
 
 
 
 
 
 
 
592
 
593
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:913
594
  msgid "Restriction d'acces"
595
  msgstr "Restriction d'accès"
596
 
597
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:923
598
+ msgid "Visualiser la video"
599
+ msgstr "Visualiser la vidéo"
600
 
601
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:928
602
+ msgid "Url de la video"
603
+ msgstr "Url de la vidéo"
604
 
605
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:940
606
+ msgid "Url de l'image"
607
+ msgstr "Url de l'image"
 
608
 
609
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:947
610
+ msgid "Code d'integration"
611
+ msgstr "Code d'intégration"
612
+
613
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:956
614
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:957
615
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1026
616
+ msgid "Administrer cette video"
617
+ msgstr "Administrer cette vidéo"
618
+
619
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:964
620
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1030
621
+ msgid "Voir les statistiques de cette video"
622
+ msgstr "Voir les statistiques de cette vidéo"
623
+
624
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:965
625
+ msgid "Voir les statistiques"
626
+ msgstr "Voir les statistiques"
627
+
628
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:978
629
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:979
630
+ msgid "Creer un article"
631
+ msgstr "Créer un article"
632
+
633
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:992
634
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1134
635
+ msgid "Action"
636
+ msgstr "Action"
637
+
638
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1022
639
+ msgid "Information sur cette video"
640
+ msgstr "Information sur cette vidéo"
641
 
642
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1034
643
  msgid "Supprimer cette video"
644
  msgstr "Supprimer cette vidéo"
645
 
646
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1052
647
  msgid "Supprimer definitivement la video"
648
  msgstr "Supprimer définitivement la vidéo"
649
 
650
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1055
651
+ msgid "Annuler"
652
+ msgstr "Annuler"
653
 
654
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1085
655
+ msgid "Video Geolocalise"
656
+ msgstr "Video Geolocalisée"
657
 
658
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1089
659
+ msgid "Securise avec un token"
660
+ msgstr "Sécurisé avec un token"
661
 
662
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1122
663
+ #, php-format
664
+ msgid ""
665
+ "Si vous desirez ajouter ou modifier les playlist ci-dessous, veuillez vous "
666
+ "rendre dans <a href='https://statslive.infomaniak.com/vod/playlists.php/g"
667
+ "%ds7i%d' target='_blank'>la console d'administration</a>"
668
+ msgstr ""
669
+ "Si vous désirez ajouter ou modifier les playlist ci-dessous, veuillez vous "
670
+ "rendre dans <a href='https://statslive.infomaniak.com/vod/playlists.php/g"
671
+ "%ds7i%d' target='_blank'>la console d'administration</a>"
672
 
673
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1130
674
+ msgid "Nombre videos"
675
+ msgstr "Nombre vidéos"
676
 
677
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1132
678
+ msgid "Mode de lecture"
679
+ msgstr "Mode de lecture"
680
 
681
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1140
682
+ msgid "Aucune playlist disponible"
683
+ msgstr "Aucune playlist disponible"
684
 
685
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1169
686
+ msgid "Administrer cette playlist"
687
+ msgstr "Administrer cette playlist"
688
 
689
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1183
690
+ msgid "Integration par defaut des videos"
691
+ msgstr "Intégration par défaut des videos"
692
 
693
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1189
694
+ msgid "Selection du player par defaut"
695
+ msgstr "Sélection du player par défaut"
696
 
697
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1206
698
+ msgid "Choisir ce player"
699
+ msgstr "Choisir ce player"
700
 
701
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1208
702
+ msgid "Informations sur ce Player"
703
+ msgstr "Informations sur ce Player"
704
 
705
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1224
706
+ msgid "Resolution"
707
+ msgstr "Résolution"
708
 
709
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1232
710
+ msgid "Switch de qualite"
711
+ msgstr "Switch de qualité"
712
 
713
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1242
714
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1243
715
+ msgid "Modifier ce Player"
716
+ msgstr "Modifier ce Player"
717
 
718
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1259
719
+ msgid "Creation ou modification de players"
720
+ msgstr "Création ou modification de players"
721
 
722
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1260
723
+ #, php-format
724
+ msgid ""
725
+ "Afin de modifier ou creer de nouveaux players flash, nous vous invitons a "
726
+ "vous rendre dans votre administration vod : <a href='https://statslive."
727
+ "infomaniak.com/vod/player.php/g%ds7i%d' target='_blank'>Acceder a la "
728
+ "configuration des players</a>"
729
+ msgstr ""
730
+ "Afin de modifier ou créer de nouveaux players flash, nous vous invitons à "
731
+ "vous rendre dans votre administration VOD : <a href='https://statslive."
732
+ "infomaniak.com/vod/player.php/g%ds7i%d' target='_blank'>Accéder à la "
733
+ "configuration des players</a>"
734
 
735
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1261
736
+ msgid "Plus d'options"
737
+ msgstr "Plus d'options"
738
 
739
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1263
740
+ msgid ""
741
+ "Il est possible de personnaliser votre player video afin qu'ils s'integre "
742
+ "parfaitement a votre site. Voici quelques fonctionnalites avancees qu'il "
743
+ "propose :"
744
+ msgstr ""
745
+ "Il est possible de personnaliser votre player vidéo afin qu'il s'intègre "
746
+ "parfaitement à votre site. Voici quelques fonctionnalités avancées qu'il "
747
+ "propose:"
748
 
749
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod.template.php:1265
750
+ msgid ""
751
+ "<li>Fonction de seek permettant de se deplacer dans une video meme longue "
752
+ "quasi instantanement.</li>\n"
753
+ "\t\t\t\t<li>Bouton permettant de changer a la vole entre les differentes "
754
+ "qualites d'une video.</li>\n"
755
+ "\t\t\t\t<li>Bouton d'export sur certains reseau sociaux (facebook, twitter) "
756
+ "afin que votre video soit plus visible.</li>\n"
757
+ "\t\t\t\t<li>Player exportable afin de permettre aux visiteurs de recuperer "
758
+ "le code d'integration.</li>\n"
759
+ "\t\t\t\t<li>Facilite de personnalisation du player via de rapides "
760
+ "modifications (couleurs de la barre, taille de la barre, logo) ou "
761
+ "l'utilisation d'une barre entierement personnaliser.</li>\n"
762
+ "\t\t\t\t<li>Compatibilite avec adswizz afin d'ajouter facilement des "
763
+ "publicites avant ou apres les videos.</li>\n"
764
+ "\t\t\t\t<li>Et encore d'autres options a decouvrir ...</li>"
765
+ msgstr ""
766
+ "<li>Fonction de seek permettant de se déplacer dans une vidéo même longue "
767
+ "quasi instantanément</li>\n"
768
+ "\t\t\t\t<li>Bouton permettant de changer à la volée les différentes qualités "
769
+ "d'une vidéo</li>\n"
770
+ "\t\t\t\t<li>Bouton d'export sur certains réseaux sociaux (Facebook, twitter) "
771
+ "afin que votre vidéo soit plus visible</li>\n"
772
+ "\t\t\t\t<li>Player exportable afin de permettre aux visiteurs de récupérer "
773
+ "le code d'intégration</li>\n"
774
+ "\t\t\t\t<li>Facilité de personnalisation du player via de rapides "
775
+ "modifications (couleurs de la barre, taille de la barre, logo) ou "
776
+ "l'utilisation d'une barre entièrement personnalisée</li>\n"
777
+ "\t\t\t\t<li>Compatibilité avec adswizz afin d'ajouter facilement des "
778
+ "publicités avant ou après les vidéos</li>\n"
779
+ "\t\t\t\t<li>Et encore d'autres options à découvrir ...</li>"
780
 
781
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod_callback.php:26
782
+ msgid "Probleme avec les parametres"
783
+ msgstr "Problème avec les paramètres"
784
 
785
+ #: /Users/daviderubini/Projets/LOCAL/wordpress/wp-content/plugins/vod-infomaniak/vod_callback.php:30
786
+ #, fuzzy
787
+ msgid "Dossier inconnu"
788
+ msgstr "Dossier d'envoi"
789
 
790
+ #~ msgid "Ajout"
791
+ #~ msgstr "Ajout"
 
792
 
793
+ #~ msgid "Dernieres videos"
794
+ #~ msgstr "Dernières vidéos"
 
 
795
 
796
+ #~ msgid "Outil de recherche"
797
+ #~ msgstr "Outil de recherche"
 
798
 
799
+ #~ msgid "Utilisation du token du dossier (Id dossier)"
800
+ #~ msgstr "Utilisation du token du dossier (Id dossier)"
languages/vod_infomaniak-it_IT.mo ADDED
Binary file
languages/vod_infomaniak-it_IT.po ADDED
@@ -0,0 +1,725 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR Infomaniak website
3
+ # This file is distributed under the same license as the PACKAGE package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ msgid ""
7
+ msgstr ""
8
+ "Project-Id-Version: vod_infomaniak-it_IT\n"
9
+ "Report-Msgid-Bugs-To: \n"
10
+ "POT-Creation-Date: 2012-08-07 10:44+0200\n"
11
+ "PO-Revision-Date: 2014-05-12 09:41+0100\n"
12
+ "Last-Translator: \n"
13
+ "Language-Team: LANGUAGE <LL@li.org>\n"
14
+ "MIME-Version: 1.0\n"
15
+ "Content-Type: text/plain; charset=UTF-8\n"
16
+ "Content-Transfer-Encoding: 8bit\n"
17
+ "X-Generator: Poedit 1.6.5\n"
18
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
+ "Language: it\n"
20
+
21
+ #: vod.template.php:78
22
+ msgid "1. Selection du dossier"
23
+ msgstr "1. Selezione della cartella"
24
+
25
+ #: vod.template.php:94
26
+ msgid "2. Envoi d'un fichier"
27
+ msgstr "2. Invio di un file"
28
+
29
+ #: vod.template.php:1003
30
+ msgid ""
31
+ "<li>Fonction de seek permettant de se deplacer dans une video meme longue "
32
+ "quasi instantanement.</li>\n"
33
+ "\t\t\t\t<li>Bouton permettant de changer a la vole entre les differentes "
34
+ "qualites d'une video.</li>\n"
35
+ "\t\t\t\t<li>Bouton d'export sur certains reseau sociaux (facebook, twitter) "
36
+ "afin que votre video soit plus visible.</li>\n"
37
+ "\t\t\t\t<li>Player exportable afin de permettre aux visiteurs de recuperer "
38
+ "le code d'integration.</li>\n"
39
+ "\t\t\t\t<li>Facilite de personnalisation du player via de rapides "
40
+ "modifications (couleurs de la barre, taille de la barre, logo) ou "
41
+ "l'utilisation d'une barre entierement personnaliser.</li>\n"
42
+ "\t\t\t\t<li>Compatibilite avec adswizz afin d'ajouter facilement des "
43
+ "publicites avant ou apres les videos.</li>\n"
44
+ "\t\t\t\t<li>Et encore d'autres options a decouvrir ...</li>"
45
+ msgstr ""
46
+ "<li>Funzione di ricerca che permette di spostarsi all'interno di un video "
47
+ "(anche lungo) in modo quasi istantaneo.</li>\n"
48
+ "\t\t\t\t<li>Pulsante che permette di modificare nell'immediato le diverse "
49
+ "qualità di un video.</li>\n"
50
+ "\t\t\t\t<li>Pulsante di esportazione verso alcune reti sociali (facebook, "
51
+ "twitter) per aumentare la visibilità del video.</li>\n"
52
+ "\t\t\t\t<li>Lettore esportabile che permette ai visitatori di recuperare il "
53
+ "codice di integrazione.</li>\n"
54
+ "\t\t\t\t<li>Possibilità di personalizzare il lettore mediante rapide "
55
+ "modifiche (colori della barra, dimensione della barra, logo) oppure usando "
56
+ "una barra da personalizzare interamente.</li>\n"
57
+ "\t\t\t\t<li>Compatibilità con adswizz per aggiungere facilmente delle "
58
+ "pubblicità prima o dopo i video.</li>\n"
59
+ "\t\t\t\t<li>E tante altre opzioni da scoprire...</li>"
60
+
61
+ #: vod.template.php:774 vod.template.php:899
62
+ msgid "Action"
63
+ msgstr "Azione"
64
+
65
+ #: vod.template.php:340 vod.template.php:347 vod.template.php:354
66
+ #: vod.template.php:361
67
+ msgid "Administrateur"
68
+ msgstr "Amministratore"
69
+
70
+ #: vod.template.php:232
71
+ msgid "Administration du plugin VOD"
72
+ msgstr "Amministrazione del plugin VOD"
73
+
74
+ #: vod.template.php:928
75
+ msgid "Administrer cette playlist"
76
+ msgstr "Amministrare questa playlist"
77
+
78
+ #: vod.template.php:746 vod.template.php:797
79
+ msgid "Administrer cette video"
80
+ msgstr "Amministrare questo video"
81
+
82
+ #: vod.template.php:622
83
+ msgid "Adresse"
84
+ msgstr "Indirizzo"
85
+
86
+ #: vod.template.php:375
87
+ msgid "Adresse de callback"
88
+ msgstr "Indirizzo di callback"
89
+
90
+ #: vod.template.php:998
91
+ #, php-format
92
+ msgid ""
93
+ "Afin de modifier ou creer de nouveaux players flash, nous vous invitons a "
94
+ "vous rendre dans votre administration vod : <a href='https://statslive."
95
+ "infomaniak.com/vod/player.php/g%ds7i%d' target='_blank'>Acceder a la "
96
+ "configuration des players</a>"
97
+ msgstr ""
98
+ "Per modificare o creare nuovi lettori flash, andare nell'amministrazione "
99
+ "vod: <a href='https://statslive.infomaniak.com/vod/player.php/g%ds7i%d' "
100
+ "target='_blank'>Accedere alla configurazione dei lettori</a>"
101
+
102
+ #: vod.class.php:170
103
+ msgid "Ajout"
104
+ msgstr "Aggiunta"
105
+
106
+ #: vod.template.php:820
107
+ msgid "Annuler"
108
+ msgstr "Annullare"
109
+
110
+ #: vod.class.php:689
111
+ msgid ""
112
+ "Article correctement cree. Vous allez etre rediriger sur la page d'edition"
113
+ msgstr ""
114
+ "Articolo creato correttamente. Sarete reindirizzati alla pagina di edizione"
115
+
116
+ #: vod.template.php:693
117
+ msgid "Attention"
118
+ msgstr "Attenzione"
119
+
120
+ #: vod.template.php:83 vod.template.php:310 vod.template.php:429
121
+ msgid "Aucun dossier disponible"
122
+ msgstr "Nessuna cartella disponibile"
123
+
124
+ #: vod.template.php:194 vod.template.php:952 vod.template.php:968
125
+ msgid "Aucun player disponible"
126
+ msgstr "Nessun lettore disponibile"
127
+
128
+ #: vod.template.php:905
129
+ msgid "Aucune playlist disponible"
130
+ msgstr "Nessuna playlist disponibile"
131
+
132
+ #: vod.template.php:51 vod.template.php:780
133
+ msgid "Aucune video disponible"
134
+ msgstr "Nessun video disponibile"
135
+
136
+ #: vod.template.php:338 vod.template.php:345 vod.template.php:352
137
+ #: vod.template.php:359
138
+ msgid "Auteur"
139
+ msgstr "Autore"
140
+
141
+ #: vod.template.php:23
142
+ msgid "Avec l'url"
143
+ msgstr "Con l'url"
144
+
145
+ #: vod.template.php:694
146
+ msgid ""
147
+ "C'est une suppression definitive de la video, il n'y pas de corbeille ou de "
148
+ "moyen de la recuperer une fois effacer."
149
+ msgstr ""
150
+ "Questa è un'eliminazione definitiva del video: una volta eliminato, non "
151
+ "esiste un cestino o altro modo per recuperarlo."
152
+
153
+ #: vod.template.php:422
154
+ msgid ""
155
+ "Ce plug-in vous permet d'ajouter de nouvelles videos directement depuis ce "
156
+ "blog. Pour cela, vous n'avez qu'a choisir un dossier puis suivre les "
157
+ "instructions"
158
+ msgstr ""
159
+ "Questo plug-in vi permette di aggiungere dei nuovi video direttamente dal "
160
+ "blog. Per fare ciò, scegliere una cartella e seguire le istruzioni"
161
+
162
+ #: vod.template.php:632
163
+ msgid "Cette adresse necessite une authentification."
164
+ msgstr "Questo indirizzo richiede un'autenticazione."
165
+
166
+ #: vod.template.php:371
167
+ #, php-format
168
+ msgid ""
169
+ "Cette option vous permet de mettre a jour automatiquement votre blog a "
170
+ "chaque ajout de video a votre espace VOD.<br/>Veuillez aller dans \"<a "
171
+ "href='https://statslive.infomaniak.com/vod/configuration.php/g%ds7i%d' "
172
+ "target='_blank'>Configuration -> Api & Callback</a>\" et mettre l'adresse "
173
+ "suivante dans le champ \"Adresse de Callback\""
174
+ msgstr ""
175
+ "Questa opzione vi permette di aggiornare automaticamente il blog ogni volta "
176
+ "che viene aggiunto un video nello spazio VOD.<br/>Andare in \"<a "
177
+ "href='https://statslive.infomaniak.com/vod/configuration.php/g%ds7i%d' "
178
+ "target='_blank'>Configurazione -> Api e Callback</a>\" e immettere il "
179
+ "seguente indirizzo nel campo \"Indirizzo di callback\""
180
+
181
+ #: vod.template.php:963
182
+ msgid "Choisir ce player"
183
+ msgstr "Scegliere questo lettore"
184
+
185
+ #: vod.template.php:424
186
+ msgid "Choix du dossier d'envoi"
187
+ msgstr "Scelta della cartella di invio"
188
+
189
+ #: vod.template.php:440
190
+ msgid "Choix du type d'envoi"
191
+ msgstr "Scelta del tipo di invio"
192
+
193
+ #: vod.template.php:739
194
+ msgid "Code d'integration"
195
+ msgstr "Codice di integrazione"
196
+
197
+ #: vod.class.php:119
198
+ msgid "Configuration"
199
+ msgstr "Configurazione"
200
+
201
+ #: vod.template.php:370
202
+ msgid "Configuration du callback"
203
+ msgstr "Configurazione del callback"
204
+
205
+ #: vod.template.php:257
206
+ msgid "Connecter"
207
+ msgstr "Connettere"
208
+
209
+ #: vod.template.php:254
210
+ msgid "Connection"
211
+ msgstr "Connessione"
212
+
213
+ #: vod.template.php:337 vod.template.php:344 vod.template.php:351
214
+ #: vod.template.php:358
215
+ msgid "Contributeur"
216
+ msgstr "Contribuente"
217
+
218
+ #: vod.template.php:997
219
+ msgid "Creation ou modification de players"
220
+ msgstr "Creazione o modifica dei lettori"
221
+
222
+ #: vod.template.php:761
223
+ msgid "Creer un article"
224
+ msgstr "Creare un articolo"
225
+
226
+ #: vod.template.php:388 vod.template.php:898 vod.template.php:975
227
+ msgid "Date"
228
+ msgstr "Data"
229
+
230
+ #: vod.template.php:45 vod.template.php:773
231
+ msgid "Date d'upload"
232
+ msgstr "Data di upload"
233
+
234
+ #: vod.template.php:212 vod.template.php:977
235
+ msgid "Demarrage automatique"
236
+ msgstr "Avvio automatico"
237
+
238
+ #: vod.template.php:22
239
+ msgid "Dernieres videos"
240
+ msgstr "Ultimi video"
241
+
242
+ #: vod.template.php:388 vod.template.php:894
243
+ msgid "Description"
244
+ msgstr "Descrizione"
245
+
246
+ #: vod.template.php:185
247
+ msgid "Dimensions"
248
+ msgstr "Dimensioni"
249
+
250
+ #: vod.template.php:86 vod.template.php:314 vod.template.php:316
251
+ #: vod.template.php:432 vod.template.php:772
252
+ msgid "Dossier"
253
+ msgstr "Cartella"
254
+
255
+ #: vod.template.php:307
256
+ msgid "Dossier Racine"
257
+ msgstr "Cartella root"
258
+
259
+ #: vod.template.php:80 vod.template.php:560 vod.template.php:611
260
+ msgid "Dossier d'envoi"
261
+ msgstr "Cartella di invio"
262
+
263
+ #: vod.template.php:276
264
+ msgid "Dossiers recuperes"
265
+ msgstr "Cartelle recuperate"
266
+
267
+ #: vod.class.php:170 vod.template.php:896
268
+ msgid "Duree"
269
+ msgstr "Durata"
270
+
271
+ #: vod.template.php:339 vod.template.php:346 vod.template.php:353
272
+ #: vod.template.php:360
273
+ msgid "Editeur"
274
+ msgstr "Editore"
275
+
276
+ #: vod.template.php:405
277
+ msgid "En cours de conversion"
278
+ msgstr "In corso di conversione"
279
+
280
+ #: vod.template.php:571
281
+ msgid "Envoi"
282
+ msgstr "Invio"
283
+
284
+ #: vod.template.php:421
285
+ msgid "Envoi d'une nouvelle video"
286
+ msgstr "Invio di un nuovo video"
287
+
288
+ #: vod.template.php:24
289
+ msgid "Envoi d'une video"
290
+ msgstr "Invio di un video"
291
+
292
+ #: vod.template.php:448
293
+ msgid "Envoi termine"
294
+ msgstr "Invio terminato"
295
+
296
+ #: vod.template.php:441
297
+ msgid "Envoyer depuis cet ordinateur"
298
+ msgstr "Inviare da questo computer"
299
+
300
+ #: vod.class.php:556
301
+ msgid "Erreur : Impossible de se connecter"
302
+ msgstr "Errore: impossibile connettersi"
303
+
304
+ #: vod.template.php:408
305
+ msgid "Erreurs"
306
+ msgstr "Errori"
307
+
308
+ #: vod.template.php:696
309
+ msgid "Etes-vous sur de vouloir continuer ?"
310
+ msgstr "Desiderate continuare?"
311
+
312
+ #: vod.template.php:208
313
+ msgid "Etirer la video (stretch)"
314
+ msgstr "Allungare il video (stretch)"
315
+
316
+ #: vod.template.php:30
317
+ msgid "Exemple"
318
+ msgstr "Esempio"
319
+
320
+ #: vod.template.php:388
321
+ msgid "Fichier"
322
+ msgstr "File"
323
+
324
+ #: vod.template.php:300
325
+ msgid "Filtrer l'acces a l'espace VOD"
326
+ msgstr "Filtrare l'acceso allo spazio VOD"
327
+
328
+ #: vod.template.php:326
329
+ msgid "Gestion des droits par groupe d'utilisateur"
330
+ msgstr "Gestione dei diritti per gruppo di utente"
331
+
332
+ #: vod.class.php:107
333
+ msgid "Gestionnaire"
334
+ msgstr "Gestore"
335
+
336
+ #: vod.template.php:677
337
+ msgid "Gestionnaire de videos"
338
+ msgstr "Gestore di video"
339
+
340
+ #: vod.template.php:250
341
+ msgid "Identifiant de l'espace VOD"
342
+ msgstr "Identificativo dello spazio VOD"
343
+
344
+ #: vod.template.php:34
345
+ msgid "Identifiant de playlist"
346
+ msgstr "Identificativo della playlist"
347
+
348
+ #: vod.template.php:1001
349
+ msgid ""
350
+ "Il est possible de personnaliser votre player video afin qu'ils s'integre "
351
+ "parfaitement a votre site. Voici quelques fonctionnalites avancees qu'il "
352
+ "propose :"
353
+ msgstr ""
354
+ "Potrete personalizzare il lettore video per integrarlo perfettamente nel "
355
+ "vostro sito. Ecco alcune funzionalità avanzate che propone:"
356
+
357
+ #: vod.class.php:131 vod.class.php:719 vod.class.php:730
358
+ msgid "Il n'est pas possible d'uploader dans ce dossier."
359
+ msgstr "Non è possibile effettuare l'upload in questa cartella."
360
+
361
+ #: vod.class.php:110
362
+ msgid "Importation"
363
+ msgstr "Importazione"
364
+
365
+ #: vod.template.php:342
366
+ msgid "Importation de video"
367
+ msgstr "Importazione di video"
368
+
369
+ #: vod.template.php:638
370
+ msgid "Importer"
371
+ msgstr "Importare"
372
+
373
+ #: vod.template.php:442
374
+ msgid "Importer depuis un autre site"
375
+ msgstr "Importare da un altro sito"
376
+
377
+ #: vod.template.php:259
378
+ msgid "Impossible de se connecter"
379
+ msgstr "Impossibile connettersi"
380
+
381
+ #: vod.template.php:796
382
+ msgid "Information sur cette video"
383
+ msgstr "Informazioni su questo video"
384
+
385
+ #: vod.template.php:707
386
+ msgid "Informations"
387
+ msgstr "Informazioni"
388
+
389
+ #: vod.template.php:965
390
+ msgid "Informations sur ce Player"
391
+ msgstr "Informazioni su questo lettore"
392
+
393
+ #: vod.template.php:335 vod.template.php:722
394
+ msgid "Integration"
395
+ msgstr "Integrazione"
396
+
397
+ #: vod.template.php:942
398
+ msgid "Integration par defaut des videos"
399
+ msgstr "Integrazione di default dei video"
400
+
401
+ #: vod.template.php:450
402
+ msgid ""
403
+ "L'ajout de cette video a correctement ete pris en compte.<br/>Vous pouvez "
404
+ "retrouver l'avancement de cette conversion video dans le tableau ci-dessous."
405
+ msgstr ""
406
+ "L'aggiunta di questo video è stata elaborata correttamente.<br/>Per "
407
+ "visualizzare lo stato di avanzamento di questa conversione video, vedere la "
408
+ "tabella di seguito."
409
+
410
+ #: vod.template.php:568
411
+ msgid "L'envoi doit etre effectue en moins de 4 heures"
412
+ msgstr "L'invio deve essere effettuato in meno di 4 ore"
413
+
414
+ #: vod.template.php:566 vod.template.php:617
415
+ msgid "Le poids des fichiers envoyes via ce module est limite a 1Go"
416
+ msgstr "Il volume dei file inviati da questo modulo è limitato a 1GB"
417
+
418
+ #: vod.template.php:216 vod.template.php:978
419
+ msgid "Lecture en boucle"
420
+ msgstr "Lettura in loop"
421
+
422
+ #: vod.template.php:567 vod.template.php:618
423
+ msgid ""
424
+ "Les formats videos supportes sont avi, flv, mov, mpeg, mp4, mkv, rm, wmv, "
425
+ "m4v, vob, 3gp, webm, f4v, ts"
426
+ msgstr ""
427
+ "I formati video supportati sono avi, flv, mov, mpeg, mp4, mkv, rm, wmv, m4v, "
428
+ "vob, 3gp, webm, f4v, ts"
429
+
430
+ #: vod.template.php:564 vod.template.php:615
431
+ msgid "Limites"
432
+ msgstr "Limiti"
433
+
434
+ #: vod.template.php:242 vod.template.php:635
435
+ msgid "Login"
436
+ msgstr "Login"
437
+
438
+ #: vod.template.php:499
439
+ msgid "Mise a jour dans"
440
+ msgstr "Aggiornamento in"
441
+
442
+ #: vod.template.php:897
443
+ msgid "Mode de lecture"
444
+ msgstr "Modalità di lettura"
445
+
446
+ #: vod.template.php:982
447
+ msgid "Modifier ce Player"
448
+ msgstr "Modificare questo lettore"
449
+
450
+ #: vod.template.php:44 vod.template.php:86 vod.template.php:314
451
+ #: vod.template.php:316 vod.template.php:432 vod.template.php:716
452
+ #: vod.template.php:893 vod.template.php:974
453
+ msgid "Nom"
454
+ msgstr "Nome"
455
+
456
+ #: vod.template.php:895
457
+ msgid "Nombre videos"
458
+ msgstr "Numero di video"
459
+
460
+ #: vod.template.php:396
461
+ msgid "OK"
462
+ msgstr "OK"
463
+
464
+ #: vod.template.php:399
465
+ msgid "Ok (des alertes sont apparues)"
466
+ msgstr "OK (sono stati visualizzati degli avvisi)"
467
+
468
+ #: vod.template.php:182
469
+ msgid "Options d'integration"
470
+ msgstr "Opzioni di integrazione"
471
+
472
+ #: vod.template.php:25
473
+ msgid "Outil de recherche"
474
+ msgstr "Strumento di ricerca"
475
+
476
+ #: vod.template.php:301
477
+ msgid ""
478
+ "Par defaut, ce plugin permet d'acceder a l'integralite des videos/dossiers "
479
+ "presents sur votre espace VOD.<br/>\n"
480
+ "\t\t\t\tIl peut etre utile dans certains cas de limiter l'acces aux "
481
+ "utilisateurs de ce site qu'a une partie des dossiers.<br/>\n"
482
+ "\t\t\t\tL'option ci-dessous permet de restreindre l'acces de ce site a un "
483
+ "dossier ainsi que tous ses dossiers fils."
484
+ msgstr ""
485
+ "Di default, questo plugin permette di accedere a tutti i video/le cartelle "
486
+ "presenti sul vostro spazio VOD.<br/>\n"
487
+ "\t\t\t\tPuò essere utile in alcuni casi per limitare l'accesso degli utenti "
488
+ "di questo sito a solo alcune cartelle.<br/>\n"
489
+ "\t\t\t\tLa seguente opzione permette di limitare l'accesso di questo sito a "
490
+ "una cartella e a tutte le sue sotto-cartelle."
491
+
492
+ #: vod.template.php:328
493
+ msgid ""
494
+ "Par defaut, toutes les options du plugin sont disponibles pour les "
495
+ "utilisateurs a partir du rang de contributeur.<br/>\n"
496
+ "\t\t\t\tCi-dessous, il est cependant possible de parametrer les options que "
497
+ "vous souhaitez proposer a vos utilisateurs."
498
+ msgstr ""
499
+ "Di default, tutte le opzioni del plugin sono disponibili per gli utenti "
500
+ "dalla fila di contribuente.<br/>\n"
501
+ "\t\t\t\tDi seguito, potrete tuttavia configurare le opzioni da presentare ai "
502
+ "vostri utenti."
503
+
504
+ #: vod.template.php:246 vod.template.php:636
505
+ msgid "Password"
506
+ msgstr "Password"
507
+
508
+ #: vod.template.php:190
509
+ msgid "Player choisi"
510
+ msgstr "Lettore scelto"
511
+
512
+ #: vod.class.php:113 vod.template.php:349
513
+ msgid "Player video"
514
+ msgstr "Lettore video"
515
+
516
+ #: vod.template.php:280
517
+ msgid "Players recuperes"
518
+ msgstr "Lettori recuperati"
519
+
520
+ #: vod.class.php:116 vod.template.php:172 vod.template.php:356
521
+ msgid "Playlist"
522
+ msgstr "Playlist"
523
+
524
+ #: vod.template.php:284
525
+ msgid "Playlist recuperes"
526
+ msgstr "Playlist recuperate"
527
+
528
+ #: vod.template.php:886
529
+ msgid "Playlists"
530
+ msgstr "Playlist"
531
+
532
+ #: vod.template.php:999
533
+ msgid "Plus d'options"
534
+ msgstr "Più opzioni"
535
+
536
+ #: vod.template.php:270
537
+ msgid ""
538
+ "Pour fonctionner correctement, cette extension a besoin de se synchroniser "
539
+ "regulierement avec votre compte VOD.<br/>Cela vous permet de garder une "
540
+ "liste des players, dossiers et playlist a jour sur votre blog.<br/>Cette "
541
+ "operation s'effectue automatiquement assez regulierement mais il est "
542
+ "egalement possible de forcer une verification ci-dessous."
543
+ msgstr ""
544
+ "Per funzionare correttamente, questa estensione deve essere sincronizzata "
545
+ "regolarmente con il vostro account VOD.<br/>Ciò permette di mantenere "
546
+ "aggiornato un elenco di lettori, cartelle e playlist sul vostro blog.<br/"
547
+ ">Questa operazione viene eseguita regolarmente in modo automatico, ma è "
548
+ "anche possibile forzare una verifica di seguito."
549
+
550
+ #: vod.template.php:236
551
+ msgid ""
552
+ "Pour fonctionner, le plugin a besoin de s'interfacer avec votre compte VOD "
553
+ "infomaniak.<br/>\n"
554
+ "\t\t\t\tPour des raisons de securites, il est fortement conseille de creer "
555
+ "un nouvel utilisateur dedie dans votre admin infomaniak avec uniquement des "
556
+ "droits restreints sur l'API.<br/>\n"
557
+ "\t\t\t\tPour plus d'information, veuillez vous rendre dans la partie "
558
+ "\"Configuration -> Api & Callback\" de votre administration VOD."
559
+ msgstr ""
560
+ "Per funzionare, il plugin deve essere interfacciato con il vostro account "
561
+ "VOD Infomaniak.<br/>\n"
562
+ "\t\t\t\tPer ragioni di sicurezza, si consiglia di creare un nuovo utente "
563
+ "dedicato nella vostra admin Infomaniak che abbia unicamente dei diritti "
564
+ "limitati sull'API.<br/>\n"
565
+ "\t\t\t\tPer maggiori informazioni, andare in \"Configurazione -> Api e "
566
+ "callback\" della vostra amministrazione VOD."
567
+
568
+ #: vod.template.php:386 vod.template.php:889
569
+ msgid "Precedents Envois"
570
+ msgstr "Invii precedenti"
571
+
572
+ #: vod.template.php:701
573
+ msgid "Previsualisation d'une video"
574
+ msgstr "Anteprima di un video"
575
+
576
+ #: vod.class.php:641
577
+ msgid "Probleme de configuration"
578
+ msgstr "Problema di configurazione"
579
+
580
+ #: vod.template.php:170
581
+ msgid "Recherche d'une"
582
+ msgstr "Ricerca di una"
583
+
584
+ #: vod.template.php:976
585
+ msgid "Resolution"
586
+ msgstr "Risoluzione"
587
+
588
+ #: vod.template.php:719
589
+ msgid "Restriction d'acces"
590
+ msgstr "Restrizione di accesso"
591
+
592
+ #: vod.template.php:854
593
+ msgid "Securise avec un token"
594
+ msgstr "Protetto con un token"
595
+
596
+ #: vod.template.php:948
597
+ msgid "Selection du player par defaut"
598
+ msgstr "Selezione del lettore di default"
599
+
600
+ #: vod.template.php:887
601
+ #, php-format
602
+ msgid ""
603
+ "Si vous desirez ajouter ou modifier les playlist ci-dessous, veuillez vous "
604
+ "rendre dans <a href='https://statslive.infomaniak.com/vod/playlists.php/g"
605
+ "%ds7i%d' target='_blank'>la console d'administration</a>"
606
+ msgstr ""
607
+ "Per aggiungere o modificare le seguenti playlist, andare nella <a "
608
+ "href='https://statslive.infomaniak.com/vod/playlists.php/g%ds7i%d' "
609
+ "target='_blank'>Console di amministrazione</a>"
610
+
611
+ #: vod.template.php:388
612
+ msgid "Statut"
613
+ msgstr "Statuto"
614
+
615
+ #: vod.template.php:799
616
+ msgid "Supprimer cette video"
617
+ msgstr "Eliminare questo video"
618
+
619
+ #: vod.template.php:817
620
+ msgid "Supprimer definitivement la video"
621
+ msgstr "Eliminare definitivamente il video"
622
+
623
+ #: vod.template.php:685
624
+ msgid "Supprimer une video"
625
+ msgstr "Eliminare un video"
626
+
627
+ #: vod.template.php:979
628
+ msgid "Switch de qualite"
629
+ msgstr "Switch di qualità"
630
+
631
+ #: vod.template.php:269
632
+ msgid "Synchronisation des donnees"
633
+ msgstr "Sincronizzazione dei dati"
634
+
635
+ #: vod.template.php:292
636
+ msgid "Synchronisation rapide"
637
+ msgstr "Sincronizzazione rapida"
638
+
639
+ #: vod.template.php:296
640
+ msgid "Synchroniser Videos"
641
+ msgstr "Sincronizzare i video"
642
+
643
+ #: vod.template.php:402
644
+ msgid "Telechargement en cours"
645
+ msgstr "Download in corso"
646
+
647
+ #: vod.template.php:32
648
+ msgid "Url complete"
649
+ msgstr "Url completo"
650
+
651
+ #: vod.template.php:735
652
+ msgid "Url de l'image"
653
+ msgstr "Url dell'immagine"
654
+
655
+ #: vod.template.php:728
656
+ msgid "Url de la video"
657
+ msgstr "Url del video"
658
+
659
+ #: vod.template.php:33
660
+ msgid "Url partiel"
661
+ msgstr "Url parziale"
662
+
663
+ #: vod.template.php:220
664
+ msgid "Utilisation du token du dossier (Id dossier)"
665
+ msgstr "Utilizzo del token della cartella (ID cartella)"
666
+
667
+ #: vod.template.php:558
668
+ msgid "Utilitaire d'envoi de video"
669
+ msgstr "Strumento di invio dei video"
670
+
671
+ #: vod.template.php:604
672
+ msgid "Utilitaire d'importation de video"
673
+ msgstr "Strumento di importazione dei video"
674
+
675
+ #: vod.template.php:263 vod.template.php:322 vod.template.php:365
676
+ msgid "Valider"
677
+ msgstr "Convalidare"
678
+
679
+ #: vod.template.php:28
680
+ msgid "Veuillez saisir l'URL d'une video"
681
+ msgstr "Immettere l'URL di un video"
682
+
683
+ #: vod.class.php:641
684
+ msgid ""
685
+ "Veuillez-vous rendre dans <a href='admin.php?page=configuration'>Videos -> "
686
+ "Configuration</a> afin de configurer votre compte."
687
+ msgstr ""
688
+ "Andare in <a href='admin.php?page=configuration'>Video -> Configurazione </"
689
+ "a> per configurare il vostro account."
690
+
691
+ #: vod.template.php:43 vod.template.php:171 vod.template.php:771
692
+ msgid "Video"
693
+ msgstr "Video"
694
+
695
+ #: vod.template.php:850
696
+ msgid "Video Geolocalise"
697
+ msgstr " Video geolocalizzato"
698
+
699
+ #: vod.class.php:223
700
+ msgid "Video en cours de conversion"
701
+ msgstr "Video in corso di conversione"
702
+
703
+ #: vod.class.php:102
704
+ msgid "Videos"
705
+ msgstr "Video"
706
+
707
+ #: vod.template.php:272
708
+ msgid "Videos recuperes"
709
+ msgstr "Video recuperati"
710
+
711
+ #: vod.template.php:725
712
+ msgid "Visualiser la video"
713
+ msgstr "Visualizzare il video"
714
+
715
+ #: vod.template.php:751
716
+ msgid "Voir les statistiques"
717
+ msgstr "Vedere le statistiche"
718
+
719
+ #: vod.template.php:751 vod.template.php:798
720
+ msgid "Voir les statistiques de cette video"
721
+ msgstr "Vedere le statistiche di questo video"
722
+
723
+ #: vod.template.php:691
724
+ msgid "Vous etes sur le point de supprimer la video"
725
+ msgstr "State per eliminare il video"
languages/vod_infomaniak.pot CHANGED
@@ -8,7 +8,7 @@ msgid ""
8
  msgstr ""
9
  "Project-Id-Version: PACKAGE VERSION\n"
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2011-10-31 10:54+0100\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -17,15 +17,15 @@ msgstr ""
17
  "Content-Type: text/plain; charset=CHARSET\n"
18
  "Content-Transfer-Encoding: 8bit\n"
19
 
20
- #: vod.template.php:77
21
  msgid "1. Selection du dossier"
22
  msgstr ""
23
 
24
- #: vod.template.php:93
25
  msgid "2. Envoi d'un fichier"
26
  msgstr ""
27
 
28
- #: vod.template.php:927
29
  msgid ""
30
  "<li>Fonction de seek permettant de se deplacer dans une video meme longue "
31
  "quasi instantanement.</li>\n"
@@ -43,152 +43,167 @@ msgid ""
43
  "\t\t\t\t<li>Et encore d'autres options a decouvrir ...</li>"
44
  msgstr ""
45
 
46
- #: vod.template.php:702 vod.template.php:823
47
  msgid "Action"
48
  msgstr ""
49
 
50
- #: vod.template.php:230
 
 
 
 
 
51
  msgid "Administration du plugin VOD"
52
  msgstr ""
53
 
54
- #: vod.template.php:852
55
  msgid "Administrer cette playlist"
56
  msgstr ""
57
 
58
- #: vod.template.php:674 vod.template.php:721
59
  msgid "Administrer cette video"
60
  msgstr ""
61
 
62
- #: vod.template.php:550
63
  msgid "Adresse"
64
  msgstr ""
65
 
66
- #: vod.template.php:303
67
  msgid "Adresse de callback"
68
  msgstr ""
69
 
70
- #: vod.template.php:922
71
  #, php-format
72
  msgid ""
73
  "Afin de modifier ou creer de nouveaux players flash, nous vous invitons a "
74
  "vous rendre dans votre administration vod : <a href='https://statslive."
75
- "infomaniak.com/vod/player.php?iVodCode=%d' target='_blank'>Acceder a la "
76
  "configuration des players</a>"
77
  msgstr ""
78
 
79
- #: vod.class.php:147
80
  msgid "Ajout"
81
  msgstr ""
82
 
83
- #: vod.template.php:744
84
  msgid "Annuler"
85
  msgstr ""
86
 
87
- #: vod.class.php:576
88
  msgid ""
89
  "Article correctement cree. Vous allez etre rediriger sur la page d'edition"
90
  msgstr ""
91
 
92
- #: vod.template.php:621
93
  msgid "Attention"
94
  msgstr ""
95
 
96
- #: vod.template.php:82 vod.template.php:357
97
  msgid "Aucun dossier disponible"
98
  msgstr ""
99
 
100
- #: vod.template.php:192 vod.template.php:876 vod.template.php:892
101
  msgid "Aucun player disponible"
102
  msgstr ""
103
 
104
- #: vod.template.php:829
105
  msgid "Aucune playlist disponible"
106
  msgstr ""
107
 
108
- #: vod.template.php:51 vod.template.php:708
109
  msgid "Aucune video disponible"
110
  msgstr ""
111
 
 
 
 
 
 
112
  #: vod.template.php:23
113
  msgid "Avec l'url"
114
  msgstr ""
115
 
116
- #: vod.template.php:622
117
  msgid ""
118
  "C'est une suppression definitive de la video, il n'y pas de corbeille ou de "
119
  "moyen de la recuperer une fois effacer."
120
  msgstr ""
121
 
122
- #: vod.template.php:350
123
  msgid ""
124
  "Ce plug-in vous permet d'ajouter de nouvelles videos directement depuis ce "
125
  "blog. Pour cela, vous n'avez qu'a choisir un dossier puis suivre les "
126
  "instructions"
127
  msgstr ""
128
 
129
- #: vod.template.php:560
130
  msgid "Cette adresse necessite une authentification."
131
  msgstr ""
132
 
133
- #: vod.template.php:299
134
  #, php-format
135
  msgid ""
136
  "Cette option vous permet de mettre a jour automatiquement votre blog a "
137
  "chaque ajout de video a votre espace VOD.<br/>Veuillez aller dans \"<a "
138
- "href='https://statslive.infomaniak.com/vod/configuration.php?iVodCode=%d' "
139
  "target='_blank'>Configuration -> Api & Callback</a>\" et mettre l'adresse "
140
  "suivante dans le champ \"Adresse de Callback\""
141
  msgstr ""
142
 
143
- #: vod.template.php:887
144
  msgid "Choisir ce player"
145
  msgstr ""
146
 
147
- #: vod.template.php:352
148
  msgid "Choix du dossier d'envoi"
149
  msgstr ""
150
 
151
- #: vod.template.php:368
152
  msgid "Choix du type d'envoi"
153
  msgstr ""
154
 
155
- #: vod.template.php:667
156
  msgid "Code d'integration"
157
  msgstr ""
158
 
159
- #: vod.class.php:98
160
  msgid "Configuration"
161
  msgstr ""
162
 
163
- #: vod.template.php:298
164
  msgid "Configuration du callback"
165
  msgstr ""
166
 
167
- #: vod.template.php:255
168
  msgid "Connecter"
169
  msgstr ""
170
 
171
- #: vod.template.php:252
172
  msgid "Connection"
173
  msgstr ""
174
 
175
- #: vod.template.php:921
 
 
 
 
 
176
  msgid "Creation ou modification de players"
177
  msgstr ""
178
 
179
- #: vod.template.php:689
180
  msgid "Creer un article"
181
  msgstr ""
182
 
183
- #: vod.template.php:316 vod.template.php:822 vod.template.php:899
184
  msgid "Date"
185
  msgstr ""
186
 
187
- #: vod.template.php:45 vod.template.php:701
188
  msgid "Date d'upload"
189
  msgstr ""
190
 
191
- #: vod.template.php:210 vod.template.php:901
192
  msgid "Demarrage automatique"
193
  msgstr ""
194
 
@@ -196,39 +211,49 @@ msgstr ""
196
  msgid "Dernieres videos"
197
  msgstr ""
198
 
199
- #: vod.template.php:316 vod.template.php:818
200
  msgid "Description"
201
  msgstr ""
202
 
203
- #: vod.template.php:183
204
  msgid "Dimensions"
205
  msgstr ""
206
 
207
- #: vod.template.php:85 vod.template.php:360 vod.template.php:700
 
208
  msgid "Dossier"
209
  msgstr ""
210
 
211
- #: vod.template.php:79 vod.template.php:488 vod.template.php:539
 
 
 
 
212
  msgid "Dossier d'envoi"
213
  msgstr ""
214
 
215
- #: vod.template.php:274
216
  msgid "Dossiers recuperes"
217
  msgstr ""
218
 
219
- #: vod.class.php:147 vod.template.php:820
220
  msgid "Duree"
221
  msgstr ""
222
 
223
- #: vod.template.php:333
 
 
 
 
 
224
  msgid "En cours de conversion"
225
  msgstr ""
226
 
227
- #: vod.template.php:499
228
  msgid "Envoi"
229
  msgstr ""
230
 
231
- #: vod.template.php:349
232
  msgid "Envoi d'une nouvelle video"
233
  msgstr ""
234
 
@@ -236,27 +261,27 @@ msgstr ""
236
  msgid "Envoi d'une video"
237
  msgstr ""
238
 
239
- #: vod.template.php:376
240
  msgid "Envoi termine"
241
  msgstr ""
242
 
243
- #: vod.template.php:369
244
  msgid "Envoyer depuis cet ordinateur"
245
  msgstr ""
246
 
247
- #: vod.class.php:504
248
  msgid "Erreur : Impossible de se connecter"
249
  msgstr ""
250
 
251
- #: vod.template.php:336
252
  msgid "Erreurs"
253
  msgstr ""
254
 
255
- #: vod.template.php:624
256
  msgid "Etes-vous sur de vouloir continuer ?"
257
  msgstr ""
258
 
259
- #: vod.template.php:206
260
  msgid "Etirer la video (stretch)"
261
  msgstr ""
262
 
@@ -264,19 +289,27 @@ msgstr ""
264
  msgid "Exemple"
265
  msgstr ""
266
 
267
- #: vod.template.php:316
268
  msgid "Fichier"
269
  msgstr ""
270
 
271
- #: vod.class.php:94
 
 
 
 
 
 
 
 
272
  msgid "Gestionnaire"
273
  msgstr ""
274
 
275
- #: vod.template.php:605
276
  msgid "Gestionnaire de videos"
277
  msgstr ""
278
 
279
- #: vod.template.php:248
280
  msgid "Identifiant de l'espace VOD"
281
  msgstr ""
282
 
@@ -284,115 +317,120 @@ msgstr ""
284
  msgid "Identifiant de playlist"
285
  msgstr ""
286
 
287
- #: vod.template.php:925
288
  msgid ""
289
  "Il est possible de personnaliser votre player video afin qu'ils s'integre "
290
  "parfaitement a votre site. Voici quelques fonctionnalites avancees qu'il "
291
  "propose :"
292
  msgstr ""
293
 
294
- #: vod.class.php:108 vod.class.php:606 vod.class.php:617
295
  msgid "Il n'est pas possible d'uploader dans ce dossier."
296
  msgstr ""
297
 
298
- #: vod.class.php:95
299
  msgid "Importation"
300
  msgstr ""
301
 
302
- #: vod.template.php:566
 
 
 
 
303
  msgid "Importer"
304
  msgstr ""
305
 
306
- #: vod.template.php:370
307
  msgid "Importer depuis un autre site"
308
  msgstr ""
309
 
310
- #: vod.template.php:257
311
  msgid "Impossible de se connecter"
312
  msgstr ""
313
 
314
- #: vod.template.php:720
315
  msgid "Information sur cette video"
316
  msgstr ""
317
 
318
- #: vod.template.php:635
319
  msgid "Informations"
320
  msgstr ""
321
 
322
- #: vod.template.php:889
323
  msgid "Informations sur ce Player"
324
  msgstr ""
325
 
326
- #: vod.template.php:650
327
  msgid "Integration"
328
  msgstr ""
329
 
330
- #: vod.template.php:866
331
  msgid "Integration par defaut des videos"
332
  msgstr ""
333
 
334
- #: vod.template.php:378
335
  msgid ""
336
  "L'ajout de cette video a correctement ete pris en compte.<br/>Vous pouvez "
337
  "retrouver l'avancement de cette conversion video dans le tableau ci-dessous."
338
  msgstr ""
339
 
340
- #: vod.template.php:496
341
  msgid "L'envoi doit etre effectue en moins de 4 heures"
342
  msgstr ""
343
 
344
- #: vod.template.php:494 vod.template.php:545
345
  msgid "Le poids des fichiers envoyes via ce module est limite a 1Go"
346
  msgstr ""
347
 
348
- #: vod.template.php:214 vod.template.php:902
349
  msgid "Lecture en boucle"
350
  msgstr ""
351
 
352
- #: vod.template.php:495 vod.template.php:546
353
  msgid ""
354
  "Les formats videos supportes sont avi, flv, mov, mpeg, mp4, mkv, rm, wmv, "
355
  "m4v, vob, 3gp, webm, f4v, ts"
356
  msgstr ""
357
 
358
- #: vod.template.php:492 vod.template.php:543
359
  msgid "Limites"
360
  msgstr ""
361
 
362
- #: vod.template.php:240 vod.template.php:563
363
  msgid "Login"
364
  msgstr ""
365
 
366
- #: vod.template.php:427
367
  msgid "Mise a jour dans"
368
  msgstr ""
369
 
370
- #: vod.template.php:821
371
  msgid "Mode de lecture"
372
  msgstr ""
373
 
374
- #: vod.template.php:906
375
  msgid "Modifier ce Player"
376
  msgstr ""
377
 
378
- #: vod.template.php:44 vod.template.php:85 vod.template.php:360
379
- #: vod.template.php:644 vod.template.php:817 vod.template.php:898
 
380
  msgid "Nom"
381
  msgstr ""
382
 
383
- #: vod.template.php:819
384
  msgid "Nombre videos"
385
  msgstr ""
386
 
387
- #: vod.template.php:324
388
  msgid "OK"
389
  msgstr ""
390
 
391
- #: vod.template.php:327
392
  msgid "Ok (des alertes sont apparues)"
393
  msgstr ""
394
 
395
- #: vod.template.php:180
396
  msgid "Options d'integration"
397
  msgstr ""
398
 
@@ -400,39 +438,57 @@ msgstr ""
400
  msgid "Outil de recherche"
401
  msgstr ""
402
 
403
- #: vod.template.php:244 vod.template.php:564
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
404
  msgid "Password"
405
  msgstr ""
406
 
407
- #: vod.template.php:188
408
  msgid "Player choisi"
409
  msgstr ""
410
 
411
- #: vod.class.php:96
412
  msgid "Player video"
413
  msgstr ""
414
 
415
- #: vod.template.php:278
416
  msgid "Players recuperes"
417
  msgstr ""
418
 
419
- #: vod.class.php:97 vod.template.php:170
420
  msgid "Playlist"
421
  msgstr ""
422
 
423
- #: vod.template.php:282
424
  msgid "Playlist recuperes"
425
  msgstr ""
426
 
427
- #: vod.template.php:810
428
  msgid "Playlists"
429
  msgstr ""
430
 
431
- #: vod.template.php:923
432
  msgid "Plus d'options"
433
  msgstr ""
434
 
435
- #: vod.template.php:268
436
  msgid ""
437
  "Pour fonctionner correctement, cette extension a besoin de se synchroniser "
438
  "regulierement avec votre compte VOD.<br/>Cela vous permet de garder une "
@@ -441,7 +497,7 @@ msgid ""
441
  "egalement possible de forcer une verification ci-dessous."
442
  msgstr ""
443
 
444
- #: vod.template.php:234
445
  msgid ""
446
  "Pour fonctionner, le plugin a besoin de s'interfacer avec votre compte VOD "
447
  "infomaniak.<br/>\n"
@@ -452,79 +508,79 @@ msgid ""
452
  "\"Configuration -> Api & Callback\" de votre administration VOD."
453
  msgstr ""
454
 
455
- #: vod.template.php:314 vod.template.php:813
456
  msgid "Precedents Envois"
457
  msgstr ""
458
 
459
- #: vod.template.php:629
460
  msgid "Previsualisation d'une video"
461
  msgstr ""
462
 
463
- #: vod.class.php:529
464
  msgid "Probleme de configuration"
465
  msgstr ""
466
 
467
- #: vod.template.php:168
468
  msgid "Recherche d'une"
469
  msgstr ""
470
 
471
- #: vod.template.php:900
472
  msgid "Resolution"
473
  msgstr ""
474
 
475
- #: vod.template.php:647
476
  msgid "Restriction d'acces"
477
  msgstr ""
478
 
479
- #: vod.template.php:778
480
  msgid "Securise avec un token"
481
  msgstr ""
482
 
483
- #: vod.template.php:872
484
  msgid "Selection du player par defaut"
485
  msgstr ""
486
 
487
- #: vod.template.php:811
488
  #, php-format
489
  msgid ""
490
  "Si vous desirez ajouter ou modifier les playlist ci-dessous, veuillez vous "
491
- "rendre dans <a href='https://statslive.infomaniak.com/vod/playlists.php?"
492
- "iVodCode=%s' target='_blank'>la console d'administration</a>"
493
  msgstr ""
494
 
495
- #: vod.template.php:316
496
  msgid "Statut"
497
  msgstr ""
498
 
499
- #: vod.template.php:723
500
  msgid "Supprimer cette video"
501
  msgstr ""
502
 
503
- #: vod.template.php:741
504
  msgid "Supprimer definitivement la video"
505
  msgstr ""
506
 
507
- #: vod.template.php:613
508
  msgid "Supprimer une video"
509
  msgstr ""
510
 
511
- #: vod.template.php:903
512
  msgid "Switch de qualite"
513
  msgstr ""
514
 
515
- #: vod.template.php:267
516
  msgid "Synchronisation des donnees"
517
  msgstr ""
518
 
519
- #: vod.template.php:290
520
  msgid "Synchronisation rapide"
521
  msgstr ""
522
 
523
- #: vod.template.php:294
524
  msgid "Synchroniser Videos"
525
  msgstr ""
526
 
527
- #: vod.template.php:330
528
  msgid "Telechargement en cours"
529
  msgstr ""
530
 
@@ -532,11 +588,11 @@ msgstr ""
532
  msgid "Url complete"
533
  msgstr ""
534
 
535
- #: vod.template.php:663
536
  msgid "Url de l'image"
537
  msgstr ""
538
 
539
- #: vod.template.php:656
540
  msgid "Url de la video"
541
  msgstr ""
542
 
@@ -544,19 +600,19 @@ msgstr ""
544
  msgid "Url partiel"
545
  msgstr ""
546
 
547
- #: vod.template.php:218
548
  msgid "Utilisation du token du dossier (Id dossier)"
549
  msgstr ""
550
 
551
- #: vod.template.php:486
552
  msgid "Utilitaire d'envoi de video"
553
  msgstr ""
554
 
555
- #: vod.template.php:532
556
  msgid "Utilitaire d'importation de video"
557
  msgstr ""
558
 
559
- #: vod.template.php:261
560
  msgid "Valider"
561
  msgstr ""
562
 
@@ -564,44 +620,44 @@ msgstr ""
564
  msgid "Veuillez saisir l'URL d'une video"
565
  msgstr ""
566
 
567
- #: vod.class.php:529
568
  msgid ""
569
  "Veuillez-vous rendre dans <a href='admin.php?page=configuration'>Videos -> "
570
  "Configuration</a> afin de configurer votre compte."
571
  msgstr ""
572
 
573
- #: vod.template.php:43 vod.template.php:169 vod.template.php:699
574
  msgid "Video"
575
  msgstr ""
576
 
577
- #: vod.template.php:774
578
  msgid "Video Geolocalise"
579
  msgstr ""
580
 
581
- #: vod.class.php:200
582
  msgid "Video en cours de conversion"
583
  msgstr ""
584
 
585
- #: vod.class.php:90
586
  msgid "Videos"
587
  msgstr ""
588
 
589
- #: vod.template.php:270
590
  msgid "Videos recuperes"
591
  msgstr ""
592
 
593
- #: vod.template.php:653
594
  msgid "Visualiser la video"
595
  msgstr ""
596
 
597
- #: vod.template.php:679
598
  msgid "Voir les statistiques"
599
  msgstr ""
600
 
601
- #: vod.template.php:679 vod.template.php:722
602
  msgid "Voir les statistiques de cette video"
603
  msgstr ""
604
 
605
- #: vod.template.php:619
606
  msgid "Vous etes sur le point de supprimer la video"
607
  msgstr ""
8
  msgstr ""
9
  "Project-Id-Version: PACKAGE VERSION\n"
10
  "Report-Msgid-Bugs-To: \n"
11
+ "POT-Creation-Date: 2012-08-07 10:44+0200\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
17
  "Content-Type: text/plain; charset=CHARSET\n"
18
  "Content-Transfer-Encoding: 8bit\n"
19
 
20
+ #: vod.template.php:78
21
  msgid "1. Selection du dossier"
22
  msgstr ""
23
 
24
+ #: vod.template.php:94
25
  msgid "2. Envoi d'un fichier"
26
  msgstr ""
27
 
28
+ #: vod.template.php:1003
29
  msgid ""
30
  "<li>Fonction de seek permettant de se deplacer dans une video meme longue "
31
  "quasi instantanement.</li>\n"
43
  "\t\t\t\t<li>Et encore d'autres options a decouvrir ...</li>"
44
  msgstr ""
45
 
46
+ #: vod.template.php:774 vod.template.php:899
47
  msgid "Action"
48
  msgstr ""
49
 
50
+ #: vod.template.php:340 vod.template.php:347 vod.template.php:354
51
+ #: vod.template.php:361
52
+ msgid "Administrateur"
53
+ msgstr ""
54
+
55
+ #: vod.template.php:232
56
  msgid "Administration du plugin VOD"
57
  msgstr ""
58
 
59
+ #: vod.template.php:928
60
  msgid "Administrer cette playlist"
61
  msgstr ""
62
 
63
+ #: vod.template.php:746 vod.template.php:797
64
  msgid "Administrer cette video"
65
  msgstr ""
66
 
67
+ #: vod.template.php:622
68
  msgid "Adresse"
69
  msgstr ""
70
 
71
+ #: vod.template.php:375
72
  msgid "Adresse de callback"
73
  msgstr ""
74
 
75
+ #: vod.template.php:998
76
  #, php-format
77
  msgid ""
78
  "Afin de modifier ou creer de nouveaux players flash, nous vous invitons a "
79
  "vous rendre dans votre administration vod : <a href='https://statslive."
80
+ "infomaniak.com/vod/player.php/g%ds7i%d' target='_blank'>Acceder a la "
81
  "configuration des players</a>"
82
  msgstr ""
83
 
84
+ #: vod.class.php:170
85
  msgid "Ajout"
86
  msgstr ""
87
 
88
+ #: vod.template.php:820
89
  msgid "Annuler"
90
  msgstr ""
91
 
92
+ #: vod.class.php:689
93
  msgid ""
94
  "Article correctement cree. Vous allez etre rediriger sur la page d'edition"
95
  msgstr ""
96
 
97
+ #: vod.template.php:693
98
  msgid "Attention"
99
  msgstr ""
100
 
101
+ #: vod.template.php:83 vod.template.php:310 vod.template.php:429
102
  msgid "Aucun dossier disponible"
103
  msgstr ""
104
 
105
+ #: vod.template.php:194 vod.template.php:952 vod.template.php:968
106
  msgid "Aucun player disponible"
107
  msgstr ""
108
 
109
+ #: vod.template.php:905
110
  msgid "Aucune playlist disponible"
111
  msgstr ""
112
 
113
+ #: vod.template.php:51 vod.template.php:780
114
  msgid "Aucune video disponible"
115
  msgstr ""
116
 
117
+ #: vod.template.php:338 vod.template.php:345 vod.template.php:352
118
+ #: vod.template.php:359
119
+ msgid "Auteur"
120
+ msgstr ""
121
+
122
  #: vod.template.php:23
123
  msgid "Avec l'url"
124
  msgstr ""
125
 
126
+ #: vod.template.php:694
127
  msgid ""
128
  "C'est une suppression definitive de la video, il n'y pas de corbeille ou de "
129
  "moyen de la recuperer une fois effacer."
130
  msgstr ""
131
 
132
+ #: vod.template.php:422
133
  msgid ""
134
  "Ce plug-in vous permet d'ajouter de nouvelles videos directement depuis ce "
135
  "blog. Pour cela, vous n'avez qu'a choisir un dossier puis suivre les "
136
  "instructions"
137
  msgstr ""
138
 
139
+ #: vod.template.php:632
140
  msgid "Cette adresse necessite une authentification."
141
  msgstr ""
142
 
143
+ #: vod.template.php:371
144
  #, php-format
145
  msgid ""
146
  "Cette option vous permet de mettre a jour automatiquement votre blog a "
147
  "chaque ajout de video a votre espace VOD.<br/>Veuillez aller dans \"<a "
148
+ "href='https://statslive.infomaniak.com/vod/configuration.php/g%ds7i%d' "
149
  "target='_blank'>Configuration -> Api & Callback</a>\" et mettre l'adresse "
150
  "suivante dans le champ \"Adresse de Callback\""
151
  msgstr ""
152
 
153
+ #: vod.template.php:963
154
  msgid "Choisir ce player"
155
  msgstr ""
156
 
157
+ #: vod.template.php:424
158
  msgid "Choix du dossier d'envoi"
159
  msgstr ""
160
 
161
+ #: vod.template.php:440
162
  msgid "Choix du type d'envoi"
163
  msgstr ""
164
 
165
+ #: vod.template.php:739
166
  msgid "Code d'integration"
167
  msgstr ""
168
 
169
+ #: vod.class.php:119
170
  msgid "Configuration"
171
  msgstr ""
172
 
173
+ #: vod.template.php:370
174
  msgid "Configuration du callback"
175
  msgstr ""
176
 
177
+ #: vod.template.php:257
178
  msgid "Connecter"
179
  msgstr ""
180
 
181
+ #: vod.template.php:254
182
  msgid "Connection"
183
  msgstr ""
184
 
185
+ #: vod.template.php:337 vod.template.php:344 vod.template.php:351
186
+ #: vod.template.php:358
187
+ msgid "Contributeur"
188
+ msgstr ""
189
+
190
+ #: vod.template.php:997
191
  msgid "Creation ou modification de players"
192
  msgstr ""
193
 
194
+ #: vod.template.php:761
195
  msgid "Creer un article"
196
  msgstr ""
197
 
198
+ #: vod.template.php:388 vod.template.php:898 vod.template.php:975
199
  msgid "Date"
200
  msgstr ""
201
 
202
+ #: vod.template.php:45 vod.template.php:773
203
  msgid "Date d'upload"
204
  msgstr ""
205
 
206
+ #: vod.template.php:212 vod.template.php:977
207
  msgid "Demarrage automatique"
208
  msgstr ""
209
 
211
  msgid "Dernieres videos"
212
  msgstr ""
213
 
214
+ #: vod.template.php:388 vod.template.php:894
215
  msgid "Description"
216
  msgstr ""
217
 
218
+ #: vod.template.php:185
219
  msgid "Dimensions"
220
  msgstr ""
221
 
222
+ #: vod.template.php:86 vod.template.php:314 vod.template.php:316
223
+ #: vod.template.php:432 vod.template.php:772
224
  msgid "Dossier"
225
  msgstr ""
226
 
227
+ #: vod.template.php:307
228
+ msgid "Dossier Racine"
229
+ msgstr ""
230
+
231
+ #: vod.template.php:80 vod.template.php:560 vod.template.php:611
232
  msgid "Dossier d'envoi"
233
  msgstr ""
234
 
235
+ #: vod.template.php:276
236
  msgid "Dossiers recuperes"
237
  msgstr ""
238
 
239
+ #: vod.class.php:170 vod.template.php:896
240
  msgid "Duree"
241
  msgstr ""
242
 
243
+ #: vod.template.php:339 vod.template.php:346 vod.template.php:353
244
+ #: vod.template.php:360
245
+ msgid "Editeur"
246
+ msgstr ""
247
+
248
+ #: vod.template.php:405
249
  msgid "En cours de conversion"
250
  msgstr ""
251
 
252
+ #: vod.template.php:571
253
  msgid "Envoi"
254
  msgstr ""
255
 
256
+ #: vod.template.php:421
257
  msgid "Envoi d'une nouvelle video"
258
  msgstr ""
259
 
261
  msgid "Envoi d'une video"
262
  msgstr ""
263
 
264
+ #: vod.template.php:448
265
  msgid "Envoi termine"
266
  msgstr ""
267
 
268
+ #: vod.template.php:441
269
  msgid "Envoyer depuis cet ordinateur"
270
  msgstr ""
271
 
272
+ #: vod.class.php:556
273
  msgid "Erreur : Impossible de se connecter"
274
  msgstr ""
275
 
276
+ #: vod.template.php:408
277
  msgid "Erreurs"
278
  msgstr ""
279
 
280
+ #: vod.template.php:696
281
  msgid "Etes-vous sur de vouloir continuer ?"
282
  msgstr ""
283
 
284
+ #: vod.template.php:208
285
  msgid "Etirer la video (stretch)"
286
  msgstr ""
287
 
289
  msgid "Exemple"
290
  msgstr ""
291
 
292
+ #: vod.template.php:388
293
  msgid "Fichier"
294
  msgstr ""
295
 
296
+ #: vod.template.php:300
297
+ msgid "Filtrer l'acces a l'espace VOD"
298
+ msgstr ""
299
+
300
+ #: vod.template.php:326
301
+ msgid "Gestion des droits par groupe d'utilisateur"
302
+ msgstr ""
303
+
304
+ #: vod.class.php:107
305
  msgid "Gestionnaire"
306
  msgstr ""
307
 
308
+ #: vod.template.php:677
309
  msgid "Gestionnaire de videos"
310
  msgstr ""
311
 
312
+ #: vod.template.php:250
313
  msgid "Identifiant de l'espace VOD"
314
  msgstr ""
315
 
317
  msgid "Identifiant de playlist"
318
  msgstr ""
319
 
320
+ #: vod.template.php:1001
321
  msgid ""
322
  "Il est possible de personnaliser votre player video afin qu'ils s'integre "
323
  "parfaitement a votre site. Voici quelques fonctionnalites avancees qu'il "
324
  "propose :"
325
  msgstr ""
326
 
327
+ #: vod.class.php:131 vod.class.php:719 vod.class.php:730
328
  msgid "Il n'est pas possible d'uploader dans ce dossier."
329
  msgstr ""
330
 
331
+ #: vod.class.php:110
332
  msgid "Importation"
333
  msgstr ""
334
 
335
+ #: vod.template.php:342
336
+ msgid "Importation de video"
337
+ msgstr ""
338
+
339
+ #: vod.template.php:638
340
  msgid "Importer"
341
  msgstr ""
342
 
343
+ #: vod.template.php:442
344
  msgid "Importer depuis un autre site"
345
  msgstr ""
346
 
347
+ #: vod.template.php:259
348
  msgid "Impossible de se connecter"
349
  msgstr ""
350
 
351
+ #: vod.template.php:796
352
  msgid "Information sur cette video"
353
  msgstr ""
354
 
355
+ #: vod.template.php:707
356
  msgid "Informations"
357
  msgstr ""
358
 
359
+ #: vod.template.php:965
360
  msgid "Informations sur ce Player"
361
  msgstr ""
362
 
363
+ #: vod.template.php:335 vod.template.php:722
364
  msgid "Integration"
365
  msgstr ""
366
 
367
+ #: vod.template.php:942
368
  msgid "Integration par defaut des videos"
369
  msgstr ""
370
 
371
+ #: vod.template.php:450
372
  msgid ""
373
  "L'ajout de cette video a correctement ete pris en compte.<br/>Vous pouvez "
374
  "retrouver l'avancement de cette conversion video dans le tableau ci-dessous."
375
  msgstr ""
376
 
377
+ #: vod.template.php:568
378
  msgid "L'envoi doit etre effectue en moins de 4 heures"
379
  msgstr ""
380
 
381
+ #: vod.template.php:566 vod.template.php:617
382
  msgid "Le poids des fichiers envoyes via ce module est limite a 1Go"
383
  msgstr ""
384
 
385
+ #: vod.template.php:216 vod.template.php:978
386
  msgid "Lecture en boucle"
387
  msgstr ""
388
 
389
+ #: vod.template.php:567 vod.template.php:618
390
  msgid ""
391
  "Les formats videos supportes sont avi, flv, mov, mpeg, mp4, mkv, rm, wmv, "
392
  "m4v, vob, 3gp, webm, f4v, ts"
393
  msgstr ""
394
 
395
+ #: vod.template.php:564 vod.template.php:615
396
  msgid "Limites"
397
  msgstr ""
398
 
399
+ #: vod.template.php:242 vod.template.php:635
400
  msgid "Login"
401
  msgstr ""
402
 
403
+ #: vod.template.php:499
404
  msgid "Mise a jour dans"
405
  msgstr ""
406
 
407
+ #: vod.template.php:897
408
  msgid "Mode de lecture"
409
  msgstr ""
410
 
411
+ #: vod.template.php:982
412
  msgid "Modifier ce Player"
413
  msgstr ""
414
 
415
+ #: vod.template.php:44 vod.template.php:86 vod.template.php:314
416
+ #: vod.template.php:316 vod.template.php:432 vod.template.php:716
417
+ #: vod.template.php:893 vod.template.php:974
418
  msgid "Nom"
419
  msgstr ""
420
 
421
+ #: vod.template.php:895
422
  msgid "Nombre videos"
423
  msgstr ""
424
 
425
+ #: vod.template.php:396
426
  msgid "OK"
427
  msgstr ""
428
 
429
+ #: vod.template.php:399
430
  msgid "Ok (des alertes sont apparues)"
431
  msgstr ""
432
 
433
+ #: vod.template.php:182
434
  msgid "Options d'integration"
435
  msgstr ""
436
 
438
  msgid "Outil de recherche"
439
  msgstr ""
440
 
441
+ #: vod.template.php:301
442
+ msgid ""
443
+ "Par defaut, ce plugin permet d'acceder a l'integralite des videos/dossiers "
444
+ "presents sur votre espace VOD.<br/>\n"
445
+ "\t\t\t\tIl peut etre utile dans certains cas de limiter l'acces aux "
446
+ "utilisateurs de ce site qu'a une partie des dossiers.<br/>\n"
447
+ "\t\t\t\tL'option ci-dessous permet de restreindre l'acces de ce site a un "
448
+ "dossier ainsi que tous ses dossiers fils."
449
+ msgstr ""
450
+
451
+ #: vod.template.php:328
452
+ msgid ""
453
+ "Par defaut, toutes les options du plugin sont disponibles pour les "
454
+ "utilisateurs a partir du rang de contributeur.<br/>\n"
455
+ "\t\t\t\tCi-dessous, il est cependant possible de parametrer les options que "
456
+ "vous souhaitez proposer a vos utilisateurs."
457
+ msgstr ""
458
+
459
+ #: vod.template.php:246 vod.template.php:636
460
  msgid "Password"
461
  msgstr ""
462
 
463
+ #: vod.template.php:190
464
  msgid "Player choisi"
465
  msgstr ""
466
 
467
+ #: vod.class.php:113 vod.template.php:349
468
  msgid "Player video"
469
  msgstr ""
470
 
471
+ #: vod.template.php:280
472
  msgid "Players recuperes"
473
  msgstr ""
474
 
475
+ #: vod.class.php:116 vod.template.php:172 vod.template.php:356
476
  msgid "Playlist"
477
  msgstr ""
478
 
479
+ #: vod.template.php:284
480
  msgid "Playlist recuperes"
481
  msgstr ""
482
 
483
+ #: vod.template.php:886
484
  msgid "Playlists"
485
  msgstr ""
486
 
487
+ #: vod.template.php:999
488
  msgid "Plus d'options"
489
  msgstr ""
490
 
491
+ #: vod.template.php:270
492
  msgid ""
493
  "Pour fonctionner correctement, cette extension a besoin de se synchroniser "
494
  "regulierement avec votre compte VOD.<br/>Cela vous permet de garder une "
497
  "egalement possible de forcer une verification ci-dessous."
498
  msgstr ""
499
 
500
+ #: vod.template.php:236
501
  msgid ""
502
  "Pour fonctionner, le plugin a besoin de s'interfacer avec votre compte VOD "
503
  "infomaniak.<br/>\n"
508
  "\"Configuration -> Api & Callback\" de votre administration VOD."
509
  msgstr ""
510
 
511
+ #: vod.template.php:386 vod.template.php:889
512
  msgid "Precedents Envois"
513
  msgstr ""
514
 
515
+ #: vod.template.php:701
516
  msgid "Previsualisation d'une video"
517
  msgstr ""
518
 
519
+ #: vod.class.php:641
520
  msgid "Probleme de configuration"
521
  msgstr ""
522
 
523
+ #: vod.template.php:170
524
  msgid "Recherche d'une"
525
  msgstr ""
526
 
527
+ #: vod.template.php:976
528
  msgid "Resolution"
529
  msgstr ""
530
 
531
+ #: vod.template.php:719
532
  msgid "Restriction d'acces"
533
  msgstr ""
534
 
535
+ #: vod.template.php:854
536
  msgid "Securise avec un token"
537
  msgstr ""
538
 
539
+ #: vod.template.php:948
540
  msgid "Selection du player par defaut"
541
  msgstr ""
542
 
543
+ #: vod.template.php:887
544
  #, php-format
545
  msgid ""
546
  "Si vous desirez ajouter ou modifier les playlist ci-dessous, veuillez vous "
547
+ "rendre dans <a href='https://statslive.infomaniak.com/vod/playlists.php/g"
548
+ "%ds7i%d' target='_blank'>la console d'administration</a>"
549
  msgstr ""
550
 
551
+ #: vod.template.php:388
552
  msgid "Statut"
553
  msgstr ""
554
 
555
+ #: vod.template.php:799
556
  msgid "Supprimer cette video"
557
  msgstr ""
558
 
559
+ #: vod.template.php:817
560
  msgid "Supprimer definitivement la video"
561
  msgstr ""
562
 
563
+ #: vod.template.php:685
564
  msgid "Supprimer une video"
565
  msgstr ""
566
 
567
+ #: vod.template.php:979
568
  msgid "Switch de qualite"
569
  msgstr ""
570
 
571
+ #: vod.template.php:269
572
  msgid "Synchronisation des donnees"
573
  msgstr ""
574
 
575
+ #: vod.template.php:292
576
  msgid "Synchronisation rapide"
577
  msgstr ""
578
 
579
+ #: vod.template.php:296
580
  msgid "Synchroniser Videos"
581
  msgstr ""
582
 
583
+ #: vod.template.php:402
584
  msgid "Telechargement en cours"
585
  msgstr ""
586
 
588
  msgid "Url complete"
589
  msgstr ""
590
 
591
+ #: vod.template.php:735
592
  msgid "Url de l'image"
593
  msgstr ""
594
 
595
+ #: vod.template.php:728
596
  msgid "Url de la video"
597
  msgstr ""
598
 
600
  msgid "Url partiel"
601
  msgstr ""
602
 
603
+ #: vod.template.php:220
604
  msgid "Utilisation du token du dossier (Id dossier)"
605
  msgstr ""
606
 
607
+ #: vod.template.php:558
608
  msgid "Utilitaire d'envoi de video"
609
  msgstr ""
610
 
611
+ #: vod.template.php:604
612
  msgid "Utilitaire d'importation de video"
613
  msgstr ""
614
 
615
+ #: vod.template.php:263 vod.template.php:322 vod.template.php:365
616
  msgid "Valider"
617
  msgstr ""
618
 
620
  msgid "Veuillez saisir l'URL d'une video"
621
  msgstr ""
622
 
623
+ #: vod.class.php:641
624
  msgid ""
625
  "Veuillez-vous rendre dans <a href='admin.php?page=configuration'>Videos -> "
626
  "Configuration</a> afin de configurer votre compte."
627
  msgstr ""
628
 
629
+ #: vod.template.php:43 vod.template.php:171 vod.template.php:771
630
  msgid "Video"
631
  msgstr ""
632
 
633
+ #: vod.template.php:850
634
  msgid "Video Geolocalise"
635
  msgstr ""
636
 
637
+ #: vod.class.php:223
638
  msgid "Video en cours de conversion"
639
  msgstr ""
640
 
641
+ #: vod.class.php:102
642
  msgid "Videos"
643
  msgstr ""
644
 
645
+ #: vod.template.php:272
646
  msgid "Videos recuperes"
647
  msgstr ""
648
 
649
+ #: vod.template.php:725
650
  msgid "Visualiser la video"
651
  msgstr ""
652
 
653
+ #: vod.template.php:751
654
  msgid "Voir les statistiques"
655
  msgstr ""
656
 
657
+ #: vod.template.php:751 vod.template.php:798
658
  msgid "Voir les statistiques de cette video"
659
  msgstr ""
660
 
661
+ #: vod.template.php:691
662
  msgid "Vous etes sur le point de supprimer la video"
663
  msgstr ""
readme.txt CHANGED
@@ -1,9 +1,13 @@
1
  === Plugin Name ===
2
- Contributors: vod-infomaniak
3
- Tags: video, manage
 
 
4
  Requires at least: 2.8.6
5
- Tested up to: 3.3.1
6
- Stable tag: 1.0.0
 
 
7
 
8
  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.
9
 
@@ -31,7 +35,7 @@ Si vous souhaitez obtenir plus d'informations sur notre solution d'hébergement
31
 
32
  Pour installer ce plugin, il vous faut :
33
 
34
- 1. Envoyer le plugin `vod-infomaniak` dans le dossier `/wp-content/plugins/` de votre blog.
35
  1. Aller activer ce plugin dans le menu plugins de wordpress.
36
  1. Se rendre dans Gestion VOD -> Configuration afin de configurer votre compte avec les identifiants fournis sur l'interface d'administration.
37
 
@@ -58,7 +62,7 @@ Cette adresse doit donc être joignable de façon publique. Pour plus d'informat
58
 
59
  = Je n'ai pas trouvé de réponse à ma question =
60
 
61
- Sur notre site internet, nous possédons une Foire au Question (http://hosting.infomaniak.ch/support/faq/categories/module_vod_wordpress-130-1.html) qui répond à un grand nombre de questions et propose des guides/tutoriaux vidéos.
62
  Si vous ne trouvez pas de solution à votre question, vous pouvez aussi nous contacter par email.
63
 
64
  == Screenshots ==
@@ -68,13 +72,44 @@ Si vous ne trouvez pas de solution à votre question, vous pouvez aussi nous con
68
 
69
  == Changelog ==
70
 
71
- = 1.0.0 (10/01/2012) =
72
- * Après 1 mois en RC2, passage en version final
73
 
74
- = 0.9.1 (1.0 RC2) (6/12/2011) =
75
- * Modification du comportement des parametres autoplay et loop lors de l'integration.
 
 
 
 
 
 
 
 
 
 
 
 
76
 
77
- = 0.9 (1.0 RC1) (31/10/2011) =
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
78
  * Ajout des traductions EN,DE
79
  * Version de controle avant la version finale
80
 
@@ -125,4 +160,4 @@ Si vous ne trouvez pas de solution à votre question, vous pouvez aussi nous con
125
  = Prochainement =
126
  * Gestion des fichiers audios
127
  * Gestion des sous-titres
128
- * URL personnalisable
1
  === Plugin Name ===
2
+
3
+ Contributors: Infomaniak Network
4
+ Plugin Name: Vod Infomaniak
5
+ Tags: video, manage, infomaniak, vod
6
  Requires at least: 2.8.6
7
+ Tested up to: 3.9
8
+ Stable tag: 1.1.8
9
+
10
+
11
 
12
  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.
13
 
35
 
36
  Pour installer ce plugin, il vous faut :
37
 
38
+ 1. Charger le plugin `vod-infomaniak` dans le dossier `/wp-content/plugins/` de votre blog.
39
  1. Aller activer ce plugin dans le menu plugins de wordpress.
40
  1. Se rendre dans Gestion VOD -> Configuration afin de configurer votre compte avec les identifiants fournis sur l'interface d'administration.
41
 
62
 
63
  = Je n'ai pas trouvé de réponse à ma question =
64
 
65
+ Sur notre site internet, nous possédons une Foire au Question (http://hosting.infomaniak.ch/support/faq/categories/toutes-157-1.html) qui répond à un grand nombre de questions et propose des guides/tutoriaux vidéos.
66
  Si vous ne trouvez pas de solution à votre question, vous pouvez aussi nous contacter par email.
67
 
68
  == Screenshots ==
72
 
73
  == Changelog ==
74
 
75
+ = 1.1.8 (17/06/2014) =
76
+ * Ajout de la création d'un article depuis la liste des playlistes
77
 
78
+ = 1.1.7 (22/04/2014) =
79
+ * Récupération des options du player depuis l'interface d'administration
80
+ * Ajout d'un nouvel onglet « Playlists »
81
+ * Suppression de l’onglet « Outils de recherche »
82
+ * Intégration de la recherche directement dans les onglets « Vidéos » et « Playlists »
83
+ * Divers petites corrections
84
+
85
+ = 1.1.6 (15/01/2014) =
86
+ * Renommage d'un des fichiers qui pouvait poser quelques problèmes à certains gestionnaires FTP
87
+
88
+ = 1.1.5 (14/01/2014) =
89
+ * Correction de plusieurs notices suites aux updates de wordpress (3.7 et 3.8)
90
+ * Correction du styles de plusieurs boutons
91
+ * Reformatage du code
92
 
93
+ = 1.1.2 (07/10/2013) =
94
+ * Correction d'un problème d'affichage lié au système de recherche
95
+
96
+ = 1.1.1 (03/10/2013) =
97
+ * Correction lié aux dernières versions de jquery intégré à wordpress 3.6.x (dialog lors de la redaction d'un article)
98
+ * Correction lié aux htmlspecialchar dans le listing des vidéos
99
+
100
+ = 1.1.0 (06/08/2012) =
101
+ * Ajout d'une fonctionnalité permettant de n'afficher qu'une partie des dossiers/videos disponible sur l'espace VOD
102
+ * Ajout d'une fonctionnalité permettant de gerer les droits d'accès aux différentes partie du plugin
103
+ * Correction des URL pointant vers l'interface d'administration
104
+ * Modification de l'outil d'autoconfiguration du callback afin d'utiliser la nouvelle version automatiquement
105
+
106
+ = 1.0.1 (23/03/2012) =
107
+ * Correction d'un bug sur la page de selection du player
108
+ * Changement de l'adresse de la FAQ
109
+
110
+ = 1.0.0 (10/01/2012) - Release Final =
111
+ * Après 2 Release Candidate (0.9.0, 0.9.1) et 1 mois en RC2 considéré comme stable, passage en version final
112
+ * Modification du comportement des parametres autoplay et loop lors de l'integration.
113
  * Ajout des traductions EN,DE
114
  * Version de controle avant la version finale
115
 
160
  = Prochainement =
161
  * Gestion des fichiers audios
162
  * Gestion des sous-titres
163
+ * URL personnalisable
screenshot-1.png → screenshot-1.png RENAMED
File without changes
vod.api.php CHANGED
@@ -1,412 +1,454 @@
1
  <?php
2
- /**
3
- * Classe permettant d'utiliser simplement les differentes fonctions de l'API vod.
4
- * Il est parfaitement possible d'utiliser cette classe independamment du plugin wordpress.
5
- * En cas de problemes ou de questions, veuillez contacter streaming@infomaniak.ch
6
- *
7
- * @author Destrem Kevin
8
- * @link http://statslive.infomaniak.ch/vod/api/
9
- * @version 1.0
10
- * @copyright infomaniak.ch
11
- *
12
- */
13
-
14
- class vod_api {
15
-
16
- protected $sLogin = "";
17
- protected $sPassword = "";
18
- protected $sId = "";
19
- private $oSoap;
20
-
21
  /**
22
- * Constructeur prennant les informations de connexions
23
- *
24
- * @param string $sLogin Login de connexion
25
- * @param string $sPassword Mot de passe associe au login
26
- * @param string $sId Identifiant de l'espace VOD
27
- */
28
- public function __construct($sLogin, $sPassword, $Id = "") {
29
- $this->sLogin = $sLogin;
30
- $this->sPassword = $sPassword;
31
- $this->sId = $Id;
32
- }
33
-
34
- private function debug($sFunction, $oException) {
35
- if (WP_DEBUG) {
36
- echo "<h4 style='color:red'>Debug :: vod_api -> ".$sFunction."()</h4><code>";
37
- var_dump ( $oException );
38
- echo "</code>";
39
- }
40
- }
41
- /**
42
- * Fonction permettant de tester la connectivite avec l'API
43
  *
44
- * @return boolean
45
- */
46
- public function ping() {
47
- $oSoap = $this->getSoapAdmin ();
48
- if (! empty ( $oSoap )) {
49
- return $oSoap->ping ();
50
- }
51
- return false;
52
- }
53
-
54
- /**
55
- * Fonction permettant de tester la connectivite avec l'API
56
  *
57
- * @return integer
58
  */
59
- public function time() {
60
- try {
61
- $oSoap = $this->getSoapAdmin ();
62
- if (! empty ( $oSoap )) {
63
- return $oSoap->time ();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
  }
65
- } catch ( Exception $oException ) {
66
- $this->debug ( "time", $oException );
67
  }
68
- return 0;
69
- }
70
-
71
- /**
72
- * Fonction permettant de recuperer l'id de l'espace VOD
73
- *
74
- * @return integer
75
- */
76
- public function getServiceItemID() {
77
- try {
78
- $oSoap = $this->getSoapAdmin ();
79
- if (! empty ( $oSoap )) {
80
- return intval ( $oSoap->getServiceItemID () );
 
81
  }
82
- } catch ( Exception $oException ) {
83
- $this->debug ( "getServiceItemID", $oException );
84
  }
85
- return 0;
86
- }
87
-
88
- /**
89
- * Fonction permettant de recuperer l'identifiant du groupe auquel est rattache le service
90
- *
91
- * @return integer
92
- */
93
- public function getGroupID() {
94
- try {
95
- $oSoap = $this->getSoapAdmin ();
96
- if (! empty ( $oSoap )) {
97
- return intval ( $oSoap->getGroupeID () );
 
98
  }
99
- } catch ( Exception $oException ) {
100
- $this->debug ( "getGroupID", $oException );
101
  }
102
- return 0;
103
- }
104
-
105
- /**
106
- * Fonction permettant de recuperer le nombre de video
107
- *
108
- * @return integer
109
- */
110
- public function countVideo() {
111
- try {
112
- $oSoap = $this->getSoapAdmin ();
113
- if (! empty ( $oSoap )) {
114
- return intval ( $oSoap->countVideo () );
 
115
  }
116
- } catch ( Exception $oException ) {
117
- $this->debug ( "countVideo", $oException );
118
  }
119
- return false;
120
- }
121
-
122
- /**
123
- * Fonction permettant de supprimer une video
124
- *
125
- * @param integer $iFolderCode
126
- * @param string $sFileServerCode
127
- * @return boolean
128
- */
129
- public function deleteVideo($iFolderCode, $sFileServerCode) {
130
- try {
131
- $oSoap = $this->getSoapAdmin ();
132
- if (! empty ( $oSoap )) {
133
- return $oSoap->deleteVideo ( $iFolderCode, $sFileServerCode );
134
  }
135
- } catch ( Exception $oException ) {
136
- $this->debug ( "deleteVideo", $oException );
137
  }
138
- return false;
139
- }
140
-
141
- /**
142
- * Fonction permettant de renommer une video
143
- *
144
- * @param integer $iFolderCode
145
- * @param string $sFileServerCode
146
- * @param string $sName
147
- * @return boolean
148
- */
149
- public function renameVideo($iFolderCode, $sFileServerCode, $sName) {
150
- try {
151
- $oSoap = $this->getSoapAdmin ();
152
- if (! empty ( $oSoap )) {
153
- return $oSoap->setVideoTitle ( $iFolderCode, $sFileServerCode, $sName );
154
  }
155
- } catch ( Exception $oException ) {
156
- $this->debug ( "renameVideo", $oException );
157
  }
158
- return false;
159
- }
160
-
161
- /**
162
- * Fonction permettant de recuperer les dernieres videos
163
- *
164
- * @return array
165
- */
166
- public function getLastVideo($iLimit, $iPage) {
167
- try {
168
- $oSoap = $this->getSoapAdmin ();
169
- if (! empty ( $oSoap )) {
170
- return $oSoap->getLastVideo ( $iLimit, $iPage );
 
 
 
 
171
  }
172
- } catch ( Exception $oException ) {
173
- $this->debug ( "getLastVideo", $oException );
174
  }
175
- return false;
176
- }
177
-
178
- /**
179
- * Fonction permettant de recuperer les dernieres importations de videos
180
- *
181
- * @return array
182
- */
183
- public function getLastImportation() {
184
- $oSoap = $this->getSoapAdmin ();
185
- try {
186
- if (! empty ( $oSoap )) {
187
- return $oSoap->getLastImportation ( 15 );
 
188
  }
189
- } catch ( Exception $oException ) {
190
- $this->debug ( "getLastImportation", $oException );
191
  }
192
- return false;
193
- }
194
-
195
- /**
196
- * Fonction permettant de recuperer les dossiers de cet espace VOD
197
- *
198
- * @return array
199
- */
200
- public function getFolders() {
201
- try {
202
- $oSoap = $this->getSoapAdmin ();
203
- if (! empty ( $oSoap )) {
204
- return $oSoap->getFolders ();
 
205
  }
206
- } catch ( Exception $oException ) {
207
- $this->debug ( "getFolders", $oException );
208
  }
209
- return false;
210
- }
211
-
212
- /**
213
- * Fonction permettant de savoir s'il y a eu des modifications recemment sur les dossiers
214
- *
215
- * @return boolean
216
- */
217
- public function folderModifiedSince($date) {
218
- try {
219
- $oSoap = $this->getSoapAdmin ();
220
- if (! empty ( $oSoap )) {
221
- return $oSoap->folderModifiedSince ( $date );
 
222
  }
223
- } catch ( Exception $oException ) {
224
- $this->debug ( "folderModifiedSince", $oException );
225
  }
226
- return false;
227
- }
228
-
229
- /**
230
- * Fonction permettant de recuperer les players de cet espace VOD
231
- *
232
- * @return array
233
- */
234
- public function getPlayers() {
235
- try {
236
- $oSoap = $this->getSoapAdmin ();
237
- if (! empty ( $oSoap )) {
238
- return $oSoap->getPlayers ();
 
239
  }
240
- } catch ( Exception $oException ) {
241
- $this->debug ( "getPlayers", $oException );
242
  }
243
- return false;
244
- }
245
-
246
- /**
247
- * Fonction permettant de savoir s'il y a eu des modifications recemment sur les players
248
- *
249
- * @return boolean
250
- */
251
- public function playerModifiedSince($date) {
252
- try {
253
- $oSoap = $this->getSoapAdmin ();
254
- if (! empty ( $oSoap )) {
255
- return $oSoap->playerModifiedSince ( $date );
 
256
  }
257
- } catch ( Exception $oException ) {
258
- $this->debug ( "PlayerModifiedSince", $oException );
259
  }
260
- return false;
261
- }
262
-
263
- /**
264
- * Fonction permettant de recuperer les playlists de cet espace VOD
265
- *
266
- * @return array
267
- */
268
- public function getPlaylists() {
269
- try {
270
- $oSoap = $this->getSoapAdmin ();
271
- if (! empty ( $oSoap )) {
272
- return $oSoap->getPlaylists ();
 
273
  }
274
- } catch ( Exception $oException ) {
275
- $this->debug ( "getPlaylists", $oException );
276
  }
277
- return false;
278
- }
279
-
280
- /**
281
- * Fonction permettant de savoir s'il y a eu des modifications recemment sur les playlist
282
- *
283
- * @return boolean
284
- */
285
- public function playlistModifiedSince($date) {
286
- try {
287
- $oSoap = $this->getSoapAdmin ();
288
- if (! empty ( $oSoap )) {
289
- return $oSoap->playlistModifiedSince ( $date );
 
290
  }
291
- } catch ( Exception $oException ) {
292
- $this->debug ( "playlistModifiedSince", $oException );
293
  }
294
- return false;
295
- }
296
-
297
- /**
298
- * Fonction permettant d'obtenir un token d'upload
299
- *
300
- * @return string
301
- */
302
- public function initUpload($sPath) {
303
- try {
304
- $oSoap = $this->getSoapAdmin ();
305
- if (! empty ( $oSoap )) {
306
- return $oSoap->initUpload ( $sPath );
 
307
  }
308
- } catch ( Exception $oException ) {
309
- $this->debug ( "initUpload", $oException );
310
  }
311
- return false;
312
- }
313
-
314
- /**
315
- * Fonction permettant de lancer le telechargement d'une video
316
- *
317
- * @return boolean
318
- */
319
- public function importFromUrl($sPath, $sUrl, $aOptions) {
320
- try {
321
- $oSoap = $this->getSoapAdmin ();
322
- if (! empty ( $oSoap )) {
323
- return $oSoap->importFromUrl ( $sPath, $sUrl, $aOptions );
 
324
  }
325
- } catch ( Exception $oException ) {
326
- $this->debug ( "importFromUrl", $oException );
327
  }
328
- return false;
329
- }
330
-
331
- /**
332
- * Fonction permettant d'ajouter des infos a une ou plusieurs videos
333
- *
334
- * @return boolean
335
- */
336
- public function addInfo( $sToken, $sInfo ){
337
- try {
338
- $oSoap = $this->getSoapAdmin ();
339
- if (! empty ( $oSoap )) {
340
- return $oSoap->addInfo ( $sToken, $sInfo );
 
341
  }
342
- } catch ( Exception $oException ) {
343
- $this->debug ( "addInfo", $oException );
344
  }
345
- return false;
346
- }
347
-
348
- /**
349
- * Fonction permettant de recuperer l'adresse de callback actuellement en place
350
- *
351
- * @return string
352
- */
353
- public function getCallback() {
354
- try {
355
- $oSoap = $this->getSoapAdmin ();
356
- if (! empty ( $oSoap )) {
357
- return $oSoap->getCallbackUrl ();
 
358
  }
359
- } catch ( Exception $oException ) {
360
- $this->debug ( "getCallback", $oException );
361
  }
362
- return false;
363
- }
364
-
365
- /**
366
- * Fonction permettant de definir l'adresse de callback
367
- *
368
- * @param string $sUrl Nouvelle adresse de callback
369
- * @return boolean
370
- */
371
- public function setCallback($sUrl) {
372
- try {
373
- $oSoap = $this->getSoapAdmin ();
374
- if (! empty ( $oSoap )) {
375
- return $oSoap->setCallbackUrl ( $sUrl );
376
  }
377
- } catch ( Exception $oException ) {
378
- $this->debug ( "setCallback", $oException );
379
  }
380
- return false;
381
- }
382
-
383
- private function getSoapAdmin() {
384
- if (! empty ( $this->oSoap )) {
385
- return $this->oSoap;
386
- } else {
387
- $this->oSoap = new SoapClient ( 'http://statslive.infomaniak.com/vod/api/vod_soap.wsdl', array ('trace' => 1, 'encoding' => 'UTF-8' ) );
388
  try {
389
- $this->oSoap->__setSoapHeaders ( array (new SoapHeader ( 'urn:vod_soap', 'AuthenticationHeader', new SoapVODAuthentificationHeader ( $this->sLogin, $this->sPassword, $this->sId ) ) ) );
390
- return $this->oSoap;
391
- } catch ( Exception $oException ) {
392
- $this->debug( "getSoapAdmin", $oException );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
393
  }
394
  return false;
395
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
396
  }
397
- }
398
-
399
- ini_set ( "soap.wsdl_cache_enabled", 0 );
400
-
401
- class SoapVODAuthentificationHeader {
402
- public $Password;
403
- public $sLogin;
404
- public $sVod;
405
-
406
- public function __construct($sLogin, $sPassword, $sVod) {
407
- $this->sPassword = $sPassword;
408
- $this->sLogin = $sLogin;
409
- $this->sVod = $sVod;
 
410
  }
411
- }
412
  ?>
1
  <?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  /**
3
+ * Classe permettant d'utiliser simplement les differentes fonctions de l'API vod.
4
+ * Il est parfaitement possible d'utiliser cette classe independamment du plugin wordpress.
5
+ * En cas de problemes ou de questions, veuillez contacter support-vod-wordpress@infomaniak.ch
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  *
7
+ * @author Destrem Kevin
8
+ * @link http://statslive.infomaniak.ch/vod/api/
9
+ * @version 1.0
10
+ * @copyright infomaniak.ch
 
 
 
 
 
 
 
 
11
  *
 
12
  */
13
+
14
+ class vod_api {
15
+
16
+ protected $sLogin = "";
17
+ protected $sPassword = "";
18
+ protected $sId = "";
19
+ private $oSoap;
20
+
21
+ /**
22
+ * Constructeur prennant les informations de connexions
23
+ *
24
+ * @param string $sLogin Login de connexion
25
+ * @param string $sPassword Mot de passe associe au login
26
+ * @param string $sId Identifiant de l'espace VOD
27
+ */
28
+ public function __construct($sLogin, $sPassword, $Id = "") {
29
+ $this->sLogin = $sLogin;
30
+ $this->sPassword = $sPassword;
31
+ $this->sId = $Id;
32
+ }
33
+
34
+ /**
35
+ * Fonction permettant de tester la connectivite avec l'API
36
+ *
37
+ * @return boolean
38
+ */
39
+ public function ping() {
40
+ $oSoap = $this->getSoapAdmin();
41
+ if (!empty ($oSoap)) {
42
+ return $oSoap->ping();
43
  }
44
+ return false;
 
45
  }
46
+
47
+ /**
48
+ * Fonction permettant de tester la connectivite avec l'API
49
+ *
50
+ * @return integer
51
+ */
52
+ public function time() {
53
+ try {
54
+ $oSoap = $this->getSoapAdmin();
55
+ if (!empty ($oSoap)) {
56
+ return $oSoap->time();
57
+ }
58
+ } catch (Exception $oException) {
59
+ $this->debug("time", $oException);
60
  }
61
+ return 0;
 
62
  }
63
+
64
+ /**
65
+ * Fonction permettant de recuperer l'id de l'espace VOD
66
+ *
67
+ * @return integer
68
+ */
69
+ public function getServiceItemID() {
70
+ try {
71
+ $oSoap = $this->getSoapAdmin();
72
+ if (!empty ($oSoap)) {
73
+ return intval($oSoap->getServiceItemID());
74
+ }
75
+ } catch (Exception $oException) {
76
+ $this->debug("getServiceItemID", $oException);
77
  }
78
+ return 0;
 
79
  }
80
+
81
+ /**
82
+ * Fonction permettant de recuperer l'identifiant du groupe auquel est rattache le service
83
+ *
84
+ * @return integer
85
+ */
86
+ public function getGroupID() {
87
+ try {
88
+ $oSoap = $this->getSoapAdmin();
89
+ if (!empty ($oSoap)) {
90
+ return intval($oSoap->getGroupeID());
91
+ }
92
+ } catch (Exception $oException) {
93
+ $this->debug("getGroupID", $oException);
94
  }
95
+ return 0;
 
96
  }
97
+
98
+ /**
99
+ * Fonction permettant de recuperer le nombre de video
100
+ *
101
+ * @return integer
102
+ */
103
+ public function countVideo() {
104
+ try {
105
+ $oSoap = $this->getSoapAdmin();
106
+ if (!empty ($oSoap)) {
107
+ return intval($oSoap->countVideo());
108
+ }
109
+ } catch (Exception $oException) {
110
+ $this->debug("countVideo", $oException);
 
111
  }
112
+ return false;
 
113
  }
114
+
115
+ /**
116
+ * Fonction permettant de supprimer une video
117
+ *
118
+ * @param integer $iFolderCode
119
+ * @param string $sFileServerCode
120
+ * @return boolean
121
+ */
122
+ public function deleteVideo($iFolderCode, $sFileServerCode) {
123
+ try {
124
+ $oSoap = $this->getSoapAdmin();
125
+ if (!empty ($oSoap)) {
126
+ return $oSoap->deleteVideo($iFolderCode, $sFileServerCode);
127
+ }
128
+ } catch (Exception $oException) {
129
+ $this->debug("deleteVideo", $oException);
130
  }
131
+ return false;
 
132
  }
133
+
134
+ /**
135
+ * Fonction permettant de renommer une video
136
+ *
137
+ * @param integer $iFolderCode
138
+ * @param string $sFileServerCode
139
+ * @param string $sName
140
+ * @return boolean
141
+ */
142
+ public function renameVideo($iFolderCode, $sFileServerCode, $sName) {
143
+ try {
144
+ $oSoap = $this->getSoapAdmin();
145
+ if (!empty ($oSoap)) {
146
+ return $oSoap->setVideoTitle($iFolderCode, $sFileServerCode, $sName);
147
+ }
148
+ } catch (Exception $oException) {
149
+ $this->debug("renameVideo", $oException);
150
  }
151
+ return false;
 
152
  }
153
+
154
+ /**
155
+ * Fonction permettant de recuperer les dernieres videos
156
+ *
157
+ * @return array
158
+ */
159
+ public function getLastVideo($iLimit, $iPage) {
160
+ try {
161
+ $oSoap = $this->getSoapAdmin();
162
+ if (!empty ($oSoap)) {
163
+ return $oSoap->getLastVideo($iLimit, $iPage);
164
+ }
165
+ } catch (Exception $oException) {
166
+ $this->debug("getLastVideo", $oException);
167
  }
168
+ return false;
 
169
  }
170
+
171
+ /**
172
+ * Fonction permettant de recuperer les dernieres importations de videos
173
+ *
174
+ * @return array
175
+ */
176
+ public function getLastImportation() {
177
+ $oSoap = $this->getSoapAdmin();
178
+ try {
179
+ if (!empty ($oSoap)) {
180
+ return $oSoap->getLastImportation(15);
181
+ }
182
+ } catch (Exception $oException) {
183
+ $this->debug("getLastImportation", $oException);
184
  }
185
+ return false;
 
186
  }
187
+
188
+ /**
189
+ * Fonction permettant de recuperer les dossiers de cet espace VOD
190
+ *
191
+ * @return array
192
+ */
193
+ public function getFolders() {
194
+ try {
195
+ $oSoap = $this->getSoapAdmin();
196
+ if (!empty ($oSoap)) {
197
+ return $oSoap->getFolders();
198
+ }
199
+ } catch (Exception $oException) {
200
+ $this->debug("getFolders", $oException);
201
  }
202
+ return false;
 
203
  }
204
+
205
+ /**
206
+ * Fonction permettant de savoir s'il y a eu des modifications recemment sur les dossiers
207
+ *
208
+ * @return boolean
209
+ */
210
+ public function folderModifiedSince($date) {
211
+ try {
212
+ $oSoap = $this->getSoapAdmin();
213
+ if (!empty ($oSoap)) {
214
+ return $oSoap->folderModifiedSince($date);
215
+ }
216
+ } catch (Exception $oException) {
217
+ $this->debug("folderModifiedSince", $oException);
218
  }
219
+ return false;
 
220
  }
221
+
222
+ /**
223
+ * Fonction permettant de recuperer les players de cet espace VOD
224
+ *
225
+ * @return array
226
+ */
227
+ public function getPlayers() {
228
+ try {
229
+ $oSoap = $this->getSoapAdmin();
230
+ if (!empty ($oSoap)) {
231
+ return $oSoap->getPlayers();
232
+ }
233
+ } catch (Exception $oException) {
234
+ $this->debug("getPlayers", $oException);
235
  }
236
+ return false;
 
237
  }
238
+
239
+ /**
240
+ * Fonction permettant de savoir s'il y a eu des modifications recemment sur les players
241
+ *
242
+ * @return boolean
243
+ */
244
+ public function playerModifiedSince($date) {
245
+ try {
246
+ $oSoap = $this->getSoapAdmin();
247
+ if (!empty ($oSoap)) {
248
+ return $oSoap->playerModifiedSince($date);
249
+ }
250
+ } catch (Exception $oException) {
251
+ $this->debug("PlayerModifiedSince", $oException);
252
  }
253
+ return false;
 
254
  }
255
+
256
+ /**
257
+ * Fonction permettant de recuperer les playlists de cet espace VOD
258
+ *
259
+ * @return array
260
+ */
261
+ public function getPlaylists() {
262
+ try {
263
+ $oSoap = $this->getSoapAdmin();
264
+ if (!empty ($oSoap)) {
265
+ return $oSoap->getPlaylists();
266
+ }
267
+ } catch (Exception $oException) {
268
+ $this->debug("getPlaylists", $oException);
269
  }
270
+ return false;
 
271
  }
272
+
273
+ /**
274
+ * Fonction permettant de savoir s'il y a eu des modifications recemment sur les playlist
275
+ *
276
+ * @return boolean
277
+ */
278
+ public function playlistModifiedSince($date) {
279
+ try {
280
+ $oSoap = $this->getSoapAdmin();
281
+ if (!empty ($oSoap)) {
282
+ return $oSoap->playlistModifiedSince($date);
283
+ }
284
+ } catch (Exception $oException) {
285
+ $this->debug("playlistModifiedSince", $oException);
286
  }
287
+ return false;
 
288
  }
289
+
290
+ /**
291
+ * Fonction permettant d'obtenir un token d'upload
292
+ *
293
+ * @return string
294
+ */
295
+ public function initUpload($sPath) {
296
+ try {
297
+ $oSoap = $this->getSoapAdmin();
298
+ if (!empty ($oSoap)) {
299
+ return $oSoap->initUpload($sPath);
300
+ }
301
+ } catch (Exception $oException) {
302
+ $this->debug("initUpload", $oException);
303
  }
304
+ return false;
 
305
  }
306
+
307
+ /**
308
+ * Fonction permettant de lancer le telechargement d'une video
309
+ *
310
+ * @return boolean
311
+ */
312
+ public function importFromUrl($sPath, $sUrl, $aOptions) {
313
+ try {
314
+ $oSoap = $this->getSoapAdmin();
315
+ if (!empty ($oSoap)) {
316
+ return $oSoap->importFromUrl($sPath, $sUrl, $aOptions);
317
+ }
318
+ } catch (Exception $oException) {
319
+ $this->debug("importFromUrl", $oException);
320
  }
321
+ return false;
 
322
  }
323
+
324
+ /**
325
+ * Fonction permettant d'ajouter des infos a une ou plusieurs videos
326
+ *
327
+ * @return boolean
328
+ */
329
+ public function addInfo($sToken, $sInfo) {
330
+ try {
331
+ $oSoap = $this->getSoapAdmin();
332
+ if (!empty ($oSoap)) {
333
+ return $oSoap->addInfo($sToken, $sInfo);
334
+ }
335
+ } catch (Exception $oException) {
336
+ $this->debug("addInfo", $oException);
337
  }
338
+ return false;
 
339
  }
340
+
341
+ /**
342
+ * Fonction permettant de recuperer l'adresse de callback actuellement en place
343
+ *
344
+ * @return string
345
+ */
346
+ public function getCallback() {
347
+ try {
348
+ $oSoap = $this->getSoapAdmin();
349
+ if (!empty ($oSoap)) {
350
+ return $oSoap->getCallbackUrl();
351
+ }
352
+ } catch (Exception $oException) {
353
+ $this->debug("getCallback", $oException);
354
  }
355
+ return false;
 
356
  }
357
+
358
+ /**
359
+ * Fonction permettant de recuperer l'adresse des callback actuellement en place
360
+ *
361
+ * @return array
362
+ */
363
+ public function getCallbackV2() {
 
364
  try {
365
+ $oSoap = $this->getSoapAdmin();
366
+ if (!empty ($oSoap)) {
367
+ return $oSoap->getCallbackUrlV2();
368
+ }
369
+ } catch (Exception $oException) {
370
+ $this->debug("getCallback", $oException);
371
+ }
372
+ return false;
373
+ }
374
+
375
+ /**
376
+ * Fonction permettant de definir l'adresse de callback
377
+ *
378
+ * @param string $sUrl Nouvelle adresse de callback
379
+ * @return boolean
380
+ */
381
+ public function setCallback($sUrl) {
382
+ try {
383
+ $oSoap = $this->getSoapAdmin();
384
+ if (!empty ($oSoap)) {
385
+ return $oSoap->setCallbackUrl($sUrl);
386
+ }
387
+ } catch (Exception $oException) {
388
+ $this->debug("setCallback", $oException);
389
  }
390
  return false;
391
  }
392
+
393
+ /**
394
+ * Fonction permettant de definir l'adresse de callback
395
+ *
396
+ * @param string $sUrl Nouvelle adresse de callback
397
+ * @return boolean
398
+ */
399
+ public function setCallbackV2($sUrl) {
400
+ try {
401
+ $oSoap = $this->getSoapAdmin();
402
+ if (!empty ($oSoap)) {
403
+ return $oSoap->setCallbackUrlV2($sUrl);
404
+ }
405
+ } catch (Exception $oException) {
406
+ $this->debug("setCallback", $oException);
407
+ }
408
+ return false;
409
+ }
410
+
411
+ private function debug($sFunction, $oException) {
412
+ if (WP_DEBUG) {
413
+ echo "<h4 style='color:red'>Debug :: vod_api -> " . $sFunction . "()</h4><code>";
414
+ var_dump($oException);
415
+ echo "</code>";
416
+ }
417
+ }
418
+
419
+ private function getSoapAdmin() {
420
+ if (!empty ($this->oSoap)) {
421
+ return $this->oSoap;
422
+ } else {
423
+ $aOptions = array(
424
+ 'trace' => 1,
425
+ 'encoding' => 'UTF-8'
426
+ );
427
+ $this->oSoap = new SoapClient ('https://statslive-api.infomaniak.com/vod/vod_soap.wsdl', $aOptions);
428
+ try {
429
+ $this->oSoap->__setSoapHeaders(array(new SoapHeader ('urn:vod_soap', 'AuthenticationHeader', new SoapVODAuthentificationHeader ($this->sLogin, $this->sPassword, $this->sId))));
430
+ return $this->oSoap;
431
+ } catch (Exception $oException) {
432
+ $this->debug("getSoapAdmin", $oException);
433
+ }
434
+ return false;
435
+ }
436
+ }
437
  }
438
+
439
+ ini_set("soap.wsdl_cache_enabled", 0);
440
+
441
+
442
+ class SoapVODAuthentificationHeader {
443
+ public $Password;
444
+ public $sLogin;
445
+ public $sVod;
446
+
447
+ public function __construct($sLogin, $sPassword, $sVod) {
448
+ $this->sPassword = $sPassword;
449
+ $this->sLogin = $sLogin;
450
+ $this->sVod = $sVod;
451
+ }
452
  }
453
+
454
  ?>
vod.class.php CHANGED
@@ -1,754 +1,921 @@
1
  <?php
2
- /**
3
- * Classe generale regroupant les differentes fonctions du plugin wordpress.
4
- * En cas de problemes ou de questions, veuillez contacter streaming@infomaniak.ch
5
- *
6
- * @author Destrem Kevin
7
- * @link http://statslive.infomaniak.ch/vod/api/
8
- * @version 1.0.0
9
- * @copyright infomaniak.ch
10
- *
11
- */
12
-
13
- class EasyVod
14
- {
15
- private $local_version;
16
- private $plugin_url;
17
- private $options;
18
- private $key;
19
- private $db;
20
- public $version = "0.9";
21
-
22
- function EasyVod() {
23
- $this->__construct();
24
- }
25
-
26
- function __construct() {
27
- $this->local_version = $this->version;
28
- $this->key = 'vod_infomaniak';
29
- $this->options=$this->get_options();
30
- $this->add_filters_and_hooks();
31
- $this->db = new EasyVod_db();
32
- $this->auto_sync = true;
33
- $this->auto_sync_delay = 3600;
34
- define("SALT", "SALT");
35
- }
36
 
37
- function add_filters_and_hooks() {
38
- register_activation_hook(__FILE__, array(&$this, 'install_db') );
39
- register_deactivation_hook(__FILE__, array(&$this, 'uninstall_db'));
40
- add_action('plugins_loaded', array(&$this, 'update_db'));
41
- wp_register_style('ui-tabs', plugins_url('vod-infomaniak/css/jquery.ui.tabs.css'));
42
-
43
- load_plugin_textdomain( 'vod_infomaniak', FALSE, basename( dirname( __FILE__ ) ) .'/languages' );
44
-
45
- add_action( 'template_redirect', array(&$this, 'vod_template_redirect'));
46
- add_filter( 'query_vars', 'vod_query_vars');
47
- add_filter( 'the_content', array(&$this, 'check'), 100);
48
- add_filter( 'the_excerpt', array(&$this, 'check'), 100);
49
-
50
- if ( is_admin() ) {
51
- add_action( 'admin_menu', array(&$this, 'add_menu_items'));
52
- add_action( 'edit_form_advanced', array(&$this, 'buildForm') );
53
- add_action( 'edit_page_form', array(&$this, 'buildForm') );
54
- add_action( 'wp_ajax_importvod', array(&$this, 'printLastImport') );
55
- add_action( 'wp_ajax_vodsearchvideo', array(&$this, 'searchVideo') );
56
- add_action( 'wp_ajax_vodsearchplaylist', array(&$this, 'searchPlaylist') );
57
- add_action( 'wp_ajax_vodimportvideo', array(&$this, 'importPostVideo') );
58
-
59
- add_filter( 'mce_external_plugins', array(&$this, 'mce_register') );
60
- add_filter( 'mce_buttons', array(&$this, 'mce_add_button'), 0);
61
-
62
- //On load Css et Js
63
- wp_enqueue_script( 'jquery-ui-dialog' );
64
- wp_enqueue_script( 'jquery-ui-tabs' );
65
- wp_enqueue_script( 'suggest' );
66
- wp_enqueue_style( 'vod-jquery-ui', plugins_url('vod-infomaniak/css/jquery-ui.css'), array(), $this->version, 'screen' );
67
- wp_enqueue_style( 'ui-tabs' );
68
  }
69
- }
70
 
71
- function install_db() {
72
- $this->db->install_db();
73
- $this->fastSynchro();
74
- }
75
-
76
- function update_db() {
77
- if (get_site_option('vod_db_version') != $this->db->db_version ) {
78
- $this->install_db();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79
  }
80
- }
81
-
82
- function uninstall_db(){}
83
-
84
- function add_menu_items() {
85
- if( $this->auto_sync ) {
86
- $this->checkAutoUpdate();
 
 
 
87
  }
88
-
89
- if (function_exists('add_menu_page')) {
90
- add_menu_page(__('Videos','vod_infomaniak'), __('Videos','vod_infomaniak'), 'edit_pages', __FILE__, array(&$this,'vod_management_menu'));
 
 
 
91
  }
92
 
93
- if (function_exists('add_submenu_page')) {
94
- add_submenu_page(__FILE__,__('Gestionnaire','vod_infomaniak'), __('Gestionnaire','vod_infomaniak'), 'edit_pages', __FILE__, array(&$this,'vod_management_menu'));
95
- add_submenu_page(__FILE__,__('Importation','vod_infomaniak'), __('Importation','vod_infomaniak'), 'edit_pages', 'import', array(&$this,'vod_upload_menu'));
96
- add_submenu_page(__FILE__,__('Player video','vod_infomaniak'), __('Player video','vod_infomaniak'), 'edit_pages', 'Player', array(&$this,'vod_implementation_menu'));
97
- add_submenu_page(__FILE__,__('Playlist','vod_infomaniak'), __('Playlist','vod_infomaniak'), 'edit_pages', 'Playlist', array(&$this,'vod_playlist_menu'));
98
- add_submenu_page(__FILE__,__('Configuration','vod_infomaniak'), __('Configuration','vod_infomaniak'), 'edit_plugins', 'configuration', array(&$this,'vod_admin_menu'));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
99
  }
100
- }
101
-
102
- function importPostVideo() {
103
- if (!empty($_REQUEST['upload']) && $_REQUEST['upload']=="finish" ) {
104
- echo $this->db->insert_upload( $_REQUEST['sToken'], $_REQUEST['post'] );
105
- } else if (!empty($_REQUEST['iFolder'])) {
106
- $oFolder = $this->db->getFolder( $_REQUEST['iFolder'] );
107
- if( empty($oFolder) || empty( $oFolder->sName ) ){
108
- die(__("Il n'est pas possible d'uploader dans ce dossier.",'vod_infomaniak'));
 
 
 
 
 
 
 
109
  }
110
- $oApi = $this->getAPI();
111
- $sToken = $oApi->initUpload( $oFolder->sPath );
112
- $oApi->addInfo($sToken, "wp_upload_post_".$sToken);
113
- delete_transient( 'vod_last_import' );
114
- echo $sToken;
115
  }
116
- die();
117
- }
118
-
119
- function searchPlaylist() {
120
- $aResult = $this->db->search_playlist($_REQUEST['q'], 12);
121
- if( !empty($aResult) ){
122
- foreach( $aResult as $oPlaylist ){
123
- echo "<span style='display:none'>".$oPlaylist->iPlaylistCode.";;;</span><span>".$oPlaylist->sPlaylistName."</span>\n";
 
124
  }
125
  }
126
- die();
127
- }
128
 
129
- function searchVideo() {
130
- $aResult = $this->db->search_videos($_REQUEST['q'], 12);
131
- if( !empty($aResult) ){
132
- foreach( $aResult as $oVideo ){
133
- $str = "";
134
- $duration = intval($oVideo->iDuration/100);
135
- $hour = intval($duration/3600);
136
- $min = intval($duration/60)%60;
137
- $sec = intval($duration)%60;
138
-
139
- $str .= $hour>0 ? $hour."h. " : '';
140
- $str .= $min>0 ? $min."m. " : '';
141
- $str .= $sec>0 ? $sec."s." : '';
142
-
143
- echo "<span style='display:none'>".$oVideo->sPath.$oVideo->sServerCode.".".strtolower($oVideo->sExtension).";;;";
144
- if( !empty($oVideo->sToken) ){
145
- echo $oVideo->iFolder.";;;";
146
- }
147
- echo "</span><span>".ucfirst($oVideo->sName)." ( ".__("Ajout",'vod_infomaniak')." : ".date("j F Y ", strtotime($oVideo->dUpload)).", ".__("Duree",'vod_infomaniak').": $str )</span>\n";
148
- }
149
- }
150
- die();
151
- }
152
 
153
- function check($the_content, $side = 0) {
154
- $tag=$this->options['tag'];
155
- if ($tag!='' && strpos($the_content, "[".$tag) !== false ) {
156
- preg_match_all("/\[$tag([^`]*?)\]([^`]*?)\[\/$tag\]/", $the_content, $matches, PREG_SET_ORDER);
157
- foreach ($matches as $match) {
158
- $the_content = preg_replace("/\[$tag([^`]*?)\]([^`]*?)\[\/$tag\]/", $this->tag($match[2], $match[1], '', '', $side), $the_content, 1);
 
 
 
 
 
 
 
 
 
 
 
159
  }
160
  }
161
- if ( strpos($the_content, "[upload-vod") !== false ) {
162
- $tag = "upload-vod";
163
- preg_match_all("/\[$tag([^`]*?)\]([^`]*?)\[\/$tag\]/", $the_content, $matches, PREG_SET_ORDER);
164
- foreach ($matches as $match) {
165
- $the_content = preg_replace("/\[$tag([^`]*?)\]([^`]*?)\[\/$tag\]/", $this->tag_upload($match[2], $match[1], '', '', $side), $the_content, 1);
 
 
 
 
 
 
 
 
 
 
 
166
  }
 
167
  }
168
- return $the_content;
169
- }
170
-
171
- function tag_upload($file, $params, $high = 'v', $time = '', $side = 0) {
172
- //On check que le tag upload ne doit pas etre remplacer par un tag vod
173
- if ( !empty($file) && strpos($file, ':') !== false) {
174
- $decoupage = split(":", $file);
175
- $sToken = $decoupage[0];
176
- $aUpload =$this->db->get_upload_video( $sToken );
177
- if ( intval($aUpload->iVideo) > 0 ) {
178
- $video = $this->db->getVideo( $aUpload->iVideo );
179
- if ( !empty($video) ) {
180
- global $post;
181
- $sVideoPath = $video->sPath.$video->sServerCode.".".strtolower($video->sExtension);
182
- $update_post = array();
183
- $update_post['ID'] = $post->ID;
184
- $result = str_replace("[upload-vod]".$file."[/upload-vod]", "[vod]".$sVideoPath."[/vod]", $post->post_content);
185
- if ( $result != $post->post_content ) {
186
- $post->post_content = $result;
187
- $update_post['post_content'] = $post->post_content;
188
- // Sans le @, warning suivant la config apache. Probleme soumis sur le forum officiel
189
- @wp_update_post( $update_post );
190
  }
191
- return $this->tag($sVideoPath, $params, $high, $time, $side);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
192
  }
 
 
193
  }
 
 
194
  }
195
-
196
- $width = empty( $aTagParam['width'] ) ? $this->options['width'] : intval($aTagParam['width']);
197
- $height = empty( $aTagParam['height'] ) ? $this->options['height'] : intval($aTagParam['height']);
198
- return "<div style='background: url(\"" . plugins_url('vod-infomaniak/img/topbg10.png') . "\") repeat;border-radius: 8px; text-align:center; color: #DDDDDD; font-weight: bold; background-color: #222222; width: ".$width."px; height: ".$height."px;'>
199
- <div style='font-size: 150%;padding-top: 100px;line-height:".(($height-200)/2)."px;vertical-align: middle;'>
200
- <span style='display:block;'>".__("Video en cours de conversion",'vod_infomaniak')." ...</span>
201
- <img src='" . plugins_url('vod-infomaniak/img/ico-vod-64.png') . "' style='vertical-align:middle'/>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
202
  </div>
203
  </div>";
204
- }
205
-
206
- function tag($file, $params, $high = 'v', $time = '', $side = 0) {
207
-
208
- //Recuperation des parametres optionnels des tags
209
- $aTagParam = array();
210
- if ( !empty( $params ) ) {
211
- $params = strtolower(str_replace(array("'",'"'), "", $params));
212
- $aList = split(" ", $params);
213
- foreach( $aList as $param) {
214
- if( strpos($param, "=") !== false ) {
215
- $aCut = split("=", $param);
216
- if( in_array($aCut[0] ,array("width", "height", "autoplay", "loop", "player", "videoimage", "tokenfolder") )){
217
- $aTagParam[ $aCut[0] ] = $aCut[1];
 
218
  }
219
  }
220
  }
221
- }
222
-
223
- //Recuperation des differents parametres
224
- $iVod = $this->options['vod_api_icodeservice'];
225
- $sUrl = "http://vod.infomaniak.com/iframe.php";
226
- $sAccountBase = $this->options['vod_api_id'];
227
- $sKey = "";
228
- if( !empty($aTagParam['tokenfolder']) && !is_numeric( $file ) ){
229
- $oFolder = $this->db->getFolder( $aTagParam['tokenfolder'] );
230
- if( !empty($oFolder) ){
231
- $fileInfo = pathinfo($file);
232
- $sFileName = basename($file,'.'.$fileInfo['extension']);
233
- $sKey = "?sKey=".$this->getTemporaryKey( $oFolder->sToken, $sFileName );
234
- }
235
- }
236
- $videoimage = empty( $aTagParam['videoimage'] ) ? 1 : intval($aTagParam['videoimage']);
237
- $player = empty( $aTagParam['player'] ) ? $this->options['player'] : intval($aTagParam['player']);
238
- $autoplay = empty( $aTagParam['autoplay'] ) ? $this->options['autoplay'] : intval($aTagParam['autoplay']);
239
- $loop = empty( $aTagParam['loop'] ) ? $this->options['loop'] : intval($aTagParam['loop']);
240
- $width = empty( $aTagParam['width'] ) ? $this->options['width'] : intval($aTagParam['width']);
241
- $height = empty( $aTagParam['height'] ) ? $this->options['height'] : intval($aTagParam['height']);
242
-
243
- if ( is_numeric( $file ) ) {
244
- $video_url = $sUrl."?url=&playlist=".$file;
245
- } else {
246
- //Build de l'url finale
247
- if ( strpos($file, "http://") === false ) {
248
- $sFile = $sAccountBase."/".$file;
 
 
 
 
 
 
 
 
 
 
249
  } else {
250
- $sFile = $file;
251
- }
252
- $sFile = $sFile.$sKey;
253
- $video_url = $sUrl."?url=".$sFile;
254
- if( $videoimage ) $video_url .= "&preloadImage=".str_replace(array(".flv",".mp4"), ".jpg", $sFile);
255
- }
256
- if( !empty($player) ) {
257
- $video_url .= "&player=$player";
258
- } else {
259
- $video_url .= "&player=576";
260
- }
261
- if( $iVod ) $video_url .= "&vod=$iVod";
262
- if( isset($aTagParam['autoplay']) ) $video_url .= "&autostart=$autoplay";
263
- if( isset($aTagParam['loop']) ) $video_url .= "&loop=$loop";
264
-
265
- //Build de la balise
266
- $html_tag = '<span class="youtube">
267
- <iframe title="Vod Player" class="vod-player" width="'.$width.'" height="'.$height.'" src="'.$video_url.'" frameborder="0"></iframe>
268
  </span>';
269
 
270
- return $html_tag;
271
- }
272
 
273
- function get_options() {
274
- $options = array(
275
- 'width' => 480,
276
- 'height' => 360,
277
- 'template' => '{video}',
278
- 'loop' => 0,
279
- 'autoplay' => 0,
280
- 'privacy' => 0,
281
- 'wtext' => '',
282
- 'wtitle' => '',
283
- 'tag' => 'vod',
284
- 'iframe' => 'on',
285
- 'vod_api_connected' => 'off'
286
- );
287
-
288
- $saved = get_option($this->key);
289
-
290
- if (!empty($saved)) {
291
- foreach ($saved as $key => $option){
292
- $options[$key] = $option;
293
- }
294
- }
295
-
296
- if ($saved != $options){
297
- update_option($this->key, $options);
298
- }
299
-
300
- return $options;
301
- }
302
 
303
- function mce_add_button($buttons) {
304
- array_push($buttons, "vodplugin");
305
- return $buttons;
306
- }
307
-
308
- function mce_register($plugin_array) {
309
- $plugin_array["swfobject"] = "http://ajax.googleapis.com/ajax/libs/swfobject/2.1/swfobject.js";
310
- $plugin_array["vodplugin"] = plugins_url('vod-infomaniak/js/editor_plugin.js');
311
- return $plugin_array;
312
- }
313
 
314
- function buildForm() {
315
- if ( !empty($this->options['vod_api_connected']) && $this->options['vod_api_connected'] == 'on' ) {
316
- require_once("vod.template.php");
317
- $aPlayers = $this->db->get_players();
318
- $aLastVideos = $this->db->get_videos_byPage( 0, 50 );
319
- $aFolders = $this->db->get_folders();
320
- EasyVod_Display::buildForm( $this->options, $aPlayers, $aLastVideos, $aFolders );
321
  }
322
- }
323
 
324
- function checkAutoUpdate() {
325
- $gmtime = time() - (int)substr(date('O'),0,3)*60*60;
326
- if ( !isset($this->options['vod_api_lastUpdate']) || $this->options['vod_api_lastUpdate'] < $gmtime - $this->auto_sync_delay ) {
327
- $this->fastSynchro();
328
  }
329
- }
330
 
331
- function fastSynchro( $updateVideo = true ){
332
- if( !isset($this->options['vod_api_connected']) || $this->options['vod_api_connected'] != 'on' ){
333
- return false;
334
- }
335
- $oApi = $this->getAPI();
336
-
337
- //Update des players
338
- if ( $oApi->playerModifiedSince( $this->options['vod_api_lastUpdate'] ) ) {
339
- $this->db->clean_players();
340
- $aListPlayer = $oApi->getPlayers();
341
- if( !empty($aListPlayer) ){
342
- foreach( $aListPlayer as $oPlayer ){
343
- if( empty( $this->options['player'] ) ) {
344
- $this->options['player'] = $oPlayer['iPlayerCode'];
345
- } else if( $this->options['player'] == $oPlayer['iPlayerCode'] ){
346
- $this->options['player'] = $oPlayer['iPlayerCode'];
347
- $this->options['width'] = $oPlayer['iWidth'];
348
- $this->options['height'] = $oPlayer['iHeight'];
349
- update_option($this->key, $this->options);
350
- }
351
- $this->db->insert_player( $oPlayer['iPlayerCode'], $oPlayer['sName'], $oPlayer['iWidth'], $oPlayer['iHeight'], $oPlayer['bAutoStart'], $oPlayer['bLoop'], $oPlayer['dEdit'], $oPlayer['bSwitchQuality'] );
352
  }
 
353
  }
354
  }
355
 
356
- //Update des folders
357
- if ( $oApi->folderModifiedSince( $this->options['vod_api_lastUpdate'] ) ) {
358
- $this->db->clean_folders();
359
- $aListFolder = $oApi->getFolders();
360
- if( !empty($aListFolder) ){
361
- foreach( $aListFolder as $oFolder ){
362
- $this->db->insert_folder( $oFolder['iFolderCode'], $oFolder['sFolderPath'], $oFolder['sFolderName'], $oFolder['sAccess'], $oFolder['sToken'] );
363
- }
364
  }
365
  }
366
 
367
- //Update des playlist
368
- if ( $oApi->playlistModifiedSince( $this->options['vod_api_lastUpdate'] ) ) {
369
- $this->db->clean_playlists();
370
- $aListPlaylist = $oApi->getPlaylists();
371
- if( !empty($aListPlaylist) ){
372
- foreach( $aListPlaylist as $oPlaylist ){
373
- $this->db->insert_playlist( $oPlaylist['iPlaylistCode'], $oPlaylist['sPlaylistName'], $oPlaylist['sPlaylistDescription'], $oPlaylist['iTotal'], $oPlaylist['sMode'], $oPlaylist['dCreated'], $oPlaylist['iTotalDuration'] );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
374
  }
375
  }
376
- }
377
 
378
- //Update de la synchro video
379
- if( $updateVideo ){
380
- $lastVideo = $this->db->getLastVideo();
381
- if( !empty($lastVideo) ){
382
- $lastDateImport = strtotime($lastVideo->dUpload);
383
- $isSynchro = false;
384
- $iPage = 0;
385
- while( !$isSynchro ){
386
- $aVideos = $oApi->getLastVideo(10, $iPage*10);
387
- $iVideo = 0;
388
- while( !$isSynchro && $iVideo < count($aVideos) ){
389
- $oVideo = $aVideos[$iVideo];
390
- if( $lastDateImport < strtotime( $oVideo['dFileUpload'] ) ){
391
- $this->db->insert_video( $oVideo['iFileCode'], $oVideo['iFolder'], $oVideo['sFileName'], $oVideo['sFileServerCode'], $oVideo['aEncodes'][0]['sPath'], $oVideo['aEncodes'][0]['eConteneur'], $oVideo['fFileDuration'], $oVideo['dFileUpload'] );
392
- $iVideo++;
393
- }else{
394
- $isSynchro = true;
 
 
 
 
 
 
 
 
 
 
 
 
395
  }
 
396
  }
397
- $iPage++;
398
- }
399
- }
400
- }
401
-
402
- //Verification s'il y a des upload en attente
403
- $aProcessing = $this->db->get_upload_process();
404
- if ( !empty($aProcessing) ) {
405
- $aLastImportation = $oApi->getLastImportation( 50 );
406
- foreach ( $aLastImportation as $oImport ) {
407
- if( $oImport['sProcessState'] == "OK" && !empty($oImport['iVideo']) && strpos($oImport['sInfo'], "wp_upload_post_") !== false ) {
408
- //On le connait peut etre celui la
409
- foreach($aProcessing as $oProcess) {
410
- if ( "wp_upload_post_".$oProcess->sToken == $oImport['sInfo'] ) {
411
- //On a trouvé un des upload
412
- $this->db->update_upload( $oProcess->sToken, $oImport['iVideo'] );
413
  }
414
  }
415
  }
416
  }
 
 
 
 
 
 
 
 
 
417
  }
418
-
419
- //Update de la synchro
420
- $serveurTime = $oApi->time();
421
- $localTime = time();
422
- $diff = ($serveurTime - $localTime);
423
- $this->options['vod_api_servTime'] = $diff;
424
- $this->options['vod_api_lastUpdate'] = time();
425
- update_option($this->key, $this->options);
426
- return true;
427
- }
428
-
429
- function fullSynchro(){
430
- if( !isset($this->options['vod_api_connected']) || $this->options['vod_api_connected'] != 'on' ){
431
- return false;
432
- }
433
- //Suppression et reimportation complete des videos
434
- $oApi = $this->getAPI();
435
- $this->fastSynchro( false );
436
- $iNumberVideoApi = 200;
437
- $this->db->clean_videos();
438
- $iVideo = $oApi->countVideo();
439
- $iPageTotal = floor( ($iVideo-1) / $iNumberVideoApi );
440
- for( $iPage=0; $iPage <= $iPageTotal; $iPage++ ) {
441
- $aVideos = $oApi->getLastVideo($iNumberVideoApi, $iPage*$iNumberVideoApi);
442
- if( !empty($aVideos) ){
443
- foreach( $aVideos as $oVideo ) {
444
- $this->db->insert_video( $oVideo['iFileCode'], $oVideo['iFolder'], $oVideo['sFileName'], $oVideo['sFileServerCode'], $oVideo['aEncodes'][0]['sPath'], $oVideo['aEncodes'][0]['eConteneur'], $oVideo['fFileDuration'], $oVideo['dFileUpload'] );
445
- }
446
- }
447
- }
448
- return true;
449
- }
450
-
451
- function vod_admin_menu() {
452
- $site_url = get_option("siteurl");
453
 
454
- if (isset($_POST['submitted'])) {
455
- $bResult = false;
456
- if ( empty( $this->options['vod_api_callbackKey']) ) {
457
- $this->options['vod_api_callbackKey'] = sha1( time() * rand() );
458
  }
459
- if ( empty( $this->options['vod_api_c']) ) {
460
- $this->options['vod_api_c'] = substr(sha1( time() * rand() ),0,20);
 
 
 
 
 
 
 
 
 
 
 
 
461
  }
 
 
462
 
463
- $this->options['vod_api_login'] = stripslashes(htmlspecialchars( $_POST['vod_api_login'] ));
464
- if ( isset($_POST['vod_api_password']) && $_POST['vod_api_password'] != "XXXXXX" ) {
465
- $this->options['vod_api_password'] = $this->encrypt( stripslashes(htmlspecialchars( $_POST['vod_api_password'] )));
466
- }
467
- $this->options['vod_api_id'] = stripslashes(htmlspecialchars( $_POST['vod_api_id'] ));
468
- $this->options['vod_api_connected'] = 'off';
469
-
470
- try {
471
- $oApi = $this->getAPI();
472
-
473
- $bResult = $oApi->ping();
474
- if( $bResult ){
475
- $this->options['vod_api_connected'] = 'on';
476
- $this->options['vod_api_icodeservice'] = $oApi->getServiceItemID();
477
- $this->options['vod_api_group'] = $oApi->getGroupID();
478
- $this->options['vod_api_lastUpdate'] = 0;
479
-
480
- //Verification DB et synchro
481
- $this->install_db();
482
- if ( empty($this->options['vod_api_valid_callback']) || $this->options['vod_api_valid_callback'] == 'off' ) {
483
- $sUrl = $oApi->getCallback();
484
- if ( empty( $sUrl ) || strpos( $sUrl, $site_url )!==false ) {
485
- $site_url = str_replace("http://","", $site_url);
486
- $oApi->setCallback( $site_url."/?vod_page=callback&key=".$this->options['vod_api_callbackKey'] );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
487
  $this->options['vod_api_valid_callback'] == 'on';
488
- } else {
489
- $this->options['vod_api_valid_callback'] == 'off';
490
  }
491
- }
492
- if( $this->db->count_video() == 0 ){
493
- $oApi = $this->getAPI();
494
-
495
- //Update des videos
496
- $iNumberVideoApi = 200;
497
- $this->db->clean_videos();
498
- $iVideo = $oApi->countVideo();
499
- $iPageTotal = floor( ($iVideo-1) / $iNumberVideoApi );
500
- for( $iPage=0; $iPage <= $iPageTotal; $iPage++ ) {
501
- $aVideos = $oApi->getLastVideo($iNumberVideoApi, $iPage*$iNumberVideoApi);
502
- foreach( $aVideos as $oVideo ) {
503
- $this->db->insert_video( $oVideo['iFileCode'], $oVideo['iFolder'], $oVideo['sFileName'], $oVideo['sFileServerCode'], $oVideo['aEncodes'][0]['sPath'], $oVideo['aEncodes'][0]['eConteneur'], $oVideo['fFileDuration'], $oVideo['dFileUpload'] );
504
  }
505
  }
506
  }
 
 
507
  }
508
- } catch (Exception $oException) {
509
- echo "<h4 style='color: red;'>".__('Erreur : Impossible de se connecter','vod_infomaniak').'</h4>';
510
  }
511
- update_option($this->key, $this->options);
512
- }
513
- if (isset($_POST['updateSynchro']) && $_POST['updateSynchro'] == 1 ) {
514
- $this->options['vod_api_lastUpdate'] = 0;
515
- $this->fastSynchro();
516
- }
517
- if (isset($_POST['updateSynchroVideo']) && $_POST['updateSynchroVideo'] == 1 ) {
518
- $this->options['vod_api_lastUpdate'] = 0;
519
- $this->fullSynchro();
520
- }
521
- if ( $this->options['vod_api_connected'] == "on" ) {
522
- $this->options['vod_count_player'] = $this->db->count_player();
523
- $this->options['vod_count_folder'] = $this->db->count_folder();
524
- $this->options['vod_count_video'] = $this->db->count_video();
525
- $this->options['vod_count_playlist'] = $this->db->count_playlists();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
526
  }
527
- $actionurl = $_SERVER['REQUEST_URI'];
528
- require_once("vod.template.php");
529
- EasyVod_Display::adminMenu( $actionurl, $this->options, $site_url);
530
- }
531
 
532
- function plugin_ready() {
533
- if ( empty($this->options['vod_api_connected']) || $this->options['vod_api_connected'] == 'off' ) {
534
- echo "<h2>".__('Probleme de configuration','vod_infomaniak')."</h2><p>".__("Veuillez-vous rendre dans <a href='admin.php?page=configuration'>Videos -> Configuration</a> afin de configurer votre compte.",'vod_infomaniak').'</p>';
535
- return false;
 
 
536
  }
537
- return true;
538
- }
539
-
540
- function vod_management_menu() {
541
- if ( $this->plugin_ready() ) {
542
- if ( isset($_REQUEST['sAction']) ){
543
- if ( $_REQUEST['sAction'] == "rename" ) {
544
- $oVideo = $this->db->getVideo( intval($_POST['dialog-modal-id']) );
545
- if( $oVideo != false ){
546
- $oApi = $this->getAPI();
547
- $oApi->renameVideo( $oVideo->iFolder, $oVideo->sServerCode, $_POST['dialog-modal-name']);
548
- $this->db->rename_video(intval($_POST['dialog-modal-id']), $_POST['dialog-modal-name']);
549
- echo "<script>";
550
- echo "jQuery(document).ready(function() {";
551
- echo " openVodPopup('". $oVideo->iVideo ."', '". $_POST['dialog-modal-name'] ."','". $oVideo->sPath.$oVideo->sServerCode."', '".strtolower($oVideo->sExtension)."');";
552
- echo "});";
553
- echo "</script>";
554
- }
555
- } else if ( $_REQUEST['sAction'] == "delete" ) {
556
- $oVideo = $this->db->getVideo( intval($_POST['dialog-confirm-id']) );
557
- if( $oVideo != false ){
558
- $oApi = $this->getAPI();
559
- $oApi->deleteVideo( $oVideo->iFolder, $oVideo->sServerCode );
560
- $this->db->delete_video(intval($_POST['dialog-confirm-id']));
561
- }
562
- } else if ( $_REQUEST['sAction'] == "post" ){
563
- $oVideo = $this->db->getVideo( intval($_POST['dialog-post-id']) );
564
- if( $oVideo != false ){
565
- $sBalise = "vod";
566
- $oFolder = $this->db->getFolder( $oVideo->iFolder );
567
- if( $oFolder != false ){
568
- if( !empty($oFolder->sToken) ){
569
- $sBalise = "vod tokenfolder='".$oVideo->iFolder."'";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
570
  }
571
  }
572
-
573
- // Create post object
574
- $my_post = array(
575
- 'post_title' => $oVideo->sName,
576
- 'post_content' => '['.$sBalise.']'.$oVideo->sPath.$oVideo->sServerCode.".".strtolower($oVideo->sExtension).'[/vod]'
577
- );
578
-
579
- // Insert the post into the database
580
- $id_draft = wp_insert_post( $my_post );
581
- echo "<h3>".__('Article correctement cree. Vous allez etre rediriger sur la page d\'edition','vod_infomaniak')."</h3>";
582
- echo "<script type='text/javascript'>window.location = '".admin_url('post.php?post='.$id_draft.'&action=edit')."';</script>";
583
- exit;
584
  }
585
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
586
  }
587
-
588
- $iPage = !empty($_REQUEST['p']) ? intval( $_REQUEST['p'] ) : 1;
589
- $iLimit = 20;
590
- $iVideoTotal = $this->db->count_video();
591
- $aVideos = $this->db->get_videos_byPage($iPage-1, $iLimit);
592
- for ( $i=0; $i<count($aVideos); $i++ ) {
593
- if ( !empty($aVideos[$i]->sToken) ) {
594
- $aVideos[$i]->sToken = $this->getTemporaryKey( $aVideos[$i]->sToken, $aVideos[$i]->sServerCode );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
595
  }
596
  }
597
- require_once("vod.template.php");
598
- $sPagination = EasyVod_Display::buildPagination( $iPage, $iLimit, $iVideoTotal );
599
- $actionurl = $_SERVER['REQUEST_URI'];
600
- EasyVod_Display::managementMenu( $actionurl, $sPagination, $this->options, $aVideos );
601
  }
602
- }
603
 
604
- function vod_upload_menu() {
605
- if ( $this->plugin_ready() ) {
 
 
 
 
606
  require_once("vod.template.php");
607
- if ( isset($_REQUEST['sAction']) && $_REQUEST['sAction'] == "popupUpload" && !empty($_REQUEST['iFolderCode']) ) {
608
- //Affichage du popup d'upload
609
- $oFolder = $this->db->getFolder( $_REQUEST['iFolderCode'] );
610
- if( empty($oFolder) || empty( $oFolder->sName ) ){
611
- die(__("Il n'est pas possible d'uploader dans ce dossier.",'vod_infomaniak'));
612
- }
613
  $oApi = $this->getAPI();
614
- $sToken = $oApi->initUpload( $oFolder->sPath );
615
- delete_transient( 'vod_last_import' );
616
- EasyVod_Display::uploadPopup( $sToken, $oFolder );
617
- } else if( isset($_REQUEST['sAction']) && $_REQUEST['sAction'] == "popupImport" && !empty($_REQUEST['iFolderCode']) ) {
618
- //Affichage du popup d'import
619
- $bResult = false;
620
- $oFolder = $this->db->getFolder( $_REQUEST['iFolderCode'] );
621
- if( empty($oFolder) || empty( $oFolder->sName ) ){
622
- die(__("Il n'est pas possible d'uploader dans ce dossier.",'vod_infomaniak'));
623
- }
624
- if( $_REQUEST['submit'] == 1 ){
625
- $oApi = $this->getAPI();
626
- $aOptions = array();
627
- if ( !empty($_REQUEST['sLogin']) && !empty($_REQUEST['sPassword']) ) {
628
- $aOption['login'] = $_REQUEST['sLogin'];
629
- $aOption['password'] = $_REQUEST['sPassword'];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
630
  }
631
- $sUrl = $_REQUEST['sProtocole']."://".$_REQUEST['sUrl'];
632
- $bResult = $oApi->importFromUrl( $oFolder->sPath, $sUrl , $aOption);
633
  }
 
634
  $actionurl = $_SERVER['REQUEST_URI'];
635
- delete_transient( 'vod_last_import' );
636
- EasyVod_Display::ImportPopup( $actionurl, $oFolder, $bResult);
637
- } else {
638
- //Affichage de la page principal
639
- $aFolders = $this->db->get_folders();
640
-
641
- $actionurl = $_SERVER['REQUEST_URI'];
642
- EasyVod_Display::uploadMenu( $actionurl, $this->options, $aFolders, $this->getLastImport() );
643
  }
644
  }
645
- }
646
 
647
- function printLastImport() {
648
- echo $this->getLastImport();
649
- die();
650
- }
651
 
652
- function getLastImport() {
653
- require_once("vod.template.php");
654
- $aLastImport = get_transient( 'vod_last_import' );
655
- if ( false == $aLastImport ) {
656
- $oApi = $this->getAPI();
657
- $aLastImport = $oApi->getLastImportation();
658
- set_transient( 'vod_last_import', $aLastImport, 15 );
659
  }
660
- return EasyVod_Display::tabLastUpload( $aLastImport );
661
- }
662
 
663
- function vod_playlist_menu(){
664
- if ( $this->plugin_ready() ) {
665
- require_once("vod.template.php");
666
- $aPlaylist = $this->db->get_playlists();
667
- $actionurl = $_SERVER['REQUEST_URI'];
668
- EasyVod_Display::playlistMenu( $actionurl, $this->options, $aPlaylist );
669
  }
670
- }
671
 
672
- function vod_implementation_menu(){
673
- if ( $this->plugin_ready() ) {
674
- require_once("vod.template.php");
675
- if (isset($_POST['submitted'])) {
676
- $oPlayer = $this->db->get_player( intval($_REQUEST['selectPlayer']) );
677
- if ( !empty($oPlayer) ) {
678
- $this->options['player'] = $oPlayer->iPlayer;
679
- $this->options['width'] = $oPlayer->iWidth;
680
- $this->options['height'] = $oPlayer->iHeight;
681
- update_option($this->key, $this->options);
682
- }
683
  }
684
- $aPlayers = $this->db->get_players();
685
- $actionurl = $_SERVER['REQUEST_URI'];
686
- EasyVod_Display::implementationMenu( $actionurl, $this->options, $aPlayers );
687
  }
688
  }
689
 
690
- function getTemporaryKey( $sToken, $sVideoName ){
691
- $iTime = time() + intval($this->options['vod_api_servTime']);
692
- return md5( $sToken . $sVideoName . $_SERVER['REMOTE_ADDR'] . date("YmdH", $iTime) );
693
- }
694
-
695
- function getAPI() {
696
- require_once('vod.api.php');
697
- $sPassword = $this->decrypt($this->options['vod_api_password']);
698
- return new vod_api($this->options['vod_api_login'], $sPassword, $this->options['vod_api_id']);
699
- }
700
-
701
- function encrypt($text){
702
- return trim(base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_256, SALT, $text, MCRYPT_MODE_ECB, mcrypt_create_iv(mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256, MCRYPT_MODE_ECB), MCRYPT_RAND))));
703
- }
704
-
705
- function decrypt($text){
706
- return trim(mcrypt_decrypt(MCRYPT_RIJNDAEL_256, SALT, base64_decode($text), MCRYPT_MODE_ECB, mcrypt_create_iv(mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256, MCRYPT_MODE_ECB), MCRYPT_RAND)));
707
- }
708
-
709
- function vod_template_redirect() {
710
- global $wp_query;
711
- $vod_page = isset($wp_query->query_vars['vod_page']) ? $wp_query->query_vars['vod_page'] : "";
712
- if ($vod_page == 'callback') {
713
- include(ABSPATH.'wp-content/plugins/vod-infomaniak/vod_callback.php');
714
- exit;
715
- }
716
- }
717
- }
718
-
719
- /**
720
- * Classe permettant la gestion des tables sql utilisé par ce plugin
721
- * En cas de problemes ou de questions, veuillez contacter streaming@infomaniak.ch
722
- *
723
- * @author Destrem Kevin
724
- * @link http://statslive.infomaniak.ch/vod/api/
725
- * @version 1.0
726
- * @copyright infomaniak.ch
727
- *
728
- */
729
-
730
- class EasyVod_db
731
- {
732
- var $db_table_player;
733
- var $db_table_folder;
734
- var $db_table_video;
735
- var $db_table_playlist;
736
- var $db_table_upload;
737
- var $db_version = "1.0.5";
738
-
739
- function __construct() {
740
- global $wpdb;
741
- $this->db_table_player = $wpdb->prefix . "vod_player";
742
- $this->db_table_folder = $wpdb->prefix . "vod_folder";
743
- $this->db_table_video = $wpdb->prefix . "vod_video";
744
- $this->db_table_playlist = $wpdb->prefix . "vod_playlist";
745
- $this->db_table_upload = $wpdb->prefix . "vod_upload";
746
- }
747
 
748
- function install_db() {
749
- require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
750
-
751
- $sql_player = "CREATE TABLE ".$this->db_table_player." (
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
752
  `iPlayer` INT UNSIGNED NOT NULL ,
753
  `sName` VARCHAR( 255 ) NOT NULL ,
754
  `iWidth` INT UNSIGNED NOT NULL ,
@@ -757,19 +924,19 @@ class EasyVod_db
757
  `bLoop` TINYINT UNSIGNED NOT NULL,
758
  `bSwitchQuality` TINYINT UNSIGNED NOT NULL,
759
  `dEdit` DATETIME NOT NULL
760
- ) CHARACTER SET utf8;";
761
- dbDelta($sql_player);
762
 
763
- $sql_folder = "CREATE TABLE ".$this->db_table_folder." (
764
  `iFolder` INT UNSIGNED NOT NULL ,
765
  `sPath` VARCHAR( 255 ) NOT NULL ,
766
  `sName` VARCHAR( 255 ) NOT NULL ,
767
  `sAccess` VARCHAR( 255 ) NOT NULL ,
768
  `sToken` VARCHAR( 255 ) NOT NULL
769
  ) CHARACTER SET utf8;";
770
- dbDelta($sql_folder);
771
 
772
- $sql_video = "CREATE TABLE ".$this->db_table_video." (
773
  `iVideo` INT UNSIGNED NOT NULL ,
774
  `iFolder` INT UNSIGNED NOT NULL ,
775
  `sName` VARCHAR( 255 ) NOT NULL ,
@@ -777,22 +944,22 @@ class EasyVod_db
777
  `sServerCode` VARCHAR( 255 ) NOT NULL,
778
  `sExtension` VARCHAR( 4 ) NOT NULL,
779
  `iDuration` INT UNSIGNED NOT NULL,
780
- `dUpload` DATETIME NOT NULL
781
  ) CHARACTER SET utf8;";
782
- dbDelta($sql_video);
783
 
784
- $sql_playlist = "CREATE TABLE ".$this->db_table_playlist." (
785
  `iPlaylistCode` INT UNSIGNED NOT NULL ,
786
  `sPlaylistName` VARCHAR( 255 ) NOT NULL ,
787
  `sPlaylistDescription` VARCHAR( 255 ) NOT NULL ,
788
  `iTotal` INT UNSIGNED NOT NULL,
789
  `iTotalDuration` INT UNSIGNED NOT NULL,
790
  `sMode` VARCHAR( 255 ) NOT NULL,
791
- `dCreated` DATETIME NOT NULL
792
  ) CHARACTER SET utf8;";
793
- dbDelta($sql_playlist);
794
-
795
- $sql_upload = "CREATE TABLE ".$this->db_table_upload." (
796
  `iUpload` INT UNSIGNED NOT NULL AUTO_INCREMENT,
797
  `sToken` VARCHAR( 255 ) NOT NULL,
798
  `iPost` INT UNSIGNED NOT NULL,
@@ -800,188 +967,240 @@ class EasyVod_db
800
  PRIMARY KEY (iUpload),
801
  UNIQUE KEY sToken (sToken)
802
  ) CHARACTER SET utf8;";
803
- dbDelta($sql_upload);
804
-
805
- update_option( "vod_db_version", $this->db_version );
806
- }
807
 
808
- /*
809
- * Gestion des players
810
- */
811
- function get_players() {
812
- global $wpdb;
813
- return $wpdb->get_results("SELECT * FROM ".$this->db_table_player);
814
- }
815
 
816
- function get_player( $iPlayer ) {
817
- global $wpdb;
818
- return $wpdb->get_row("SELECT * FROM ".$this->db_table_player." WHERE iPlayer=".intval($iPlayer)." LIMIT 1");
819
- }
820
 
821
- function clean_players() {
822
- global $wpdb;
823
- return $wpdb->query("DELETE FROM ".$this->db_table_player);
824
- }
825
 
826
- function insert_player( $iPlayer, $sName, $iWidth, $iHeight, $bStart, $bLoop, $dEdit, $bSwitchQuality ) {
827
- global $wpdb;
828
- $wpdb->insert( $this->db_table_player, array( 'iPlayer' => $iPlayer, 'sName' => $sName, 'iWidth' => $iWidth, 'iHeight' => $iHeight, 'bAutoPlay' => $bStart, 'bLoop' => $bLoop, 'dEdit' => $dEdit, 'bSwitchQuality' => $bSwitchQuality ) );
829
- }
830
-
831
- function count_player() {
832
- global $wpdb;
833
- return $wpdb->get_var("SELECT COUNT(*) FROM ".$this->db_table_player);
834
- }
835
 
836
- /*
837
- * Gestion des playlist
838
- */
839
- function search_playlist( $sTerm, $iLimit=6) {
840
- global $wpdb;
841
- $sql = $wpdb->prepare("SELECT * FROM ".$this->db_table_playlist." WHERE sPlaylistName LIKE %s OR sPlaylistDescription LIKE %s ORDER BY dCreated DESC LIMIT ".intval($iLimit), "%".$sTerm."%", "%".$sTerm."%");
842
- return $wpdb->get_results($sql);
843
- }
844
 
845
- function get_playlists() {
846
- global $wpdb;
847
- return $wpdb->get_results("SELECT * FROM ".$this->db_table_playlist);
848
- }
849
 
850
- function clean_playlists() {
851
- global $wpdb;
852
- return $wpdb->query("DELETE FROM ".$this->db_table_playlist);
853
- }
854
 
855
- function insert_playlist( $iPlaylistCode, $sPlaylistName, $sPlaylistDescription, $iTotal, $sMode, $dCreated, $iTotalDuration ) {
856
- global $wpdb;
857
- $wpdb->insert( $this->db_table_playlist, array( 'iPlaylistCode' => $iPlaylistCode, 'sPlaylistName' => $sPlaylistName, 'sPlaylistDescription' => $sPlaylistDescription, 'iTotal' => $iTotal, 'sMode' => $sMode, 'dCreated' => $dCreated, 'iTotalDuration' => $iTotalDuration ) );
858
- }
859
 
860
- function count_playlists() {
861
- global $wpdb;
862
- return $wpdb->get_var("SELECT COUNT(*) FROM ".$this->db_table_playlist);
863
- }
 
864
 
865
- /*
866
- * Gestion des dossiers
867
- */
868
- function getFolder( $iFolder ) {
869
- global $wpdb;
870
- return $wpdb->get_row("SELECT * FROM ".$this->db_table_folder." WHERE iFolder=".intval($iFolder)." LIMIT 1");
871
- }
872
 
873
- function get_folders() {
874
- global $wpdb;
875
- return $wpdb->get_results("SELECT * FROM ".$this->db_table_folder." ORDER BY `sPath` ASC");
876
- }
877
 
878
- function clean_folders() {
879
- global $wpdb;
880
- return $wpdb->query("DELETE FROM ".$this->db_table_folder);
881
- }
882
 
883
- function insert_folder( $iFolder, $sPath, $sName, $sAccess, $sToken) {
884
- global $wpdb;
885
- $wpdb->insert( $this->db_table_folder, array( 'iFolder' => $iFolder, 'sPath' => $sPath, 'sName' => $sName, 'sAccess' => $sAccess, 'sToken' => $sToken ) );
886
- }
887
 
888
- function count_folder() {
889
- global $wpdb;
890
- return $wpdb->get_var("SELECT COUNT(*) FROM ".$this->db_table_folder);
891
- }
892
 
893
- /*
894
- * Gestion des videos
895
- */
896
- function search_videos( $sTerm, $iLimit=6) {
897
- global $wpdb;
898
- $sql = $wpdb->prepare("SELECT video.*, folder.sAccess, folder.sToken FROM ".$this->db_table_video." as video
899
- INNER JOIN ".$this->db_table_folder." as folder ON video.iFolder = folder.iFolder
900
- WHERE video.sName LIKE %s OR sServerCode LIKE %s ORDER BY dUpload DESC LIMIT ".intval($iLimit), "%".$sTerm."%", "%".$sTerm."%");
901
- return $wpdb->get_results($sql);
902
- }
903
 
904
- function get_videos_byPage( $iPage, $iLimit ) {
905
- global $wpdb;
906
- return $wpdb->get_results("SELECT video.*, folder.sAccess, folder.sToken FROM ".$this->db_table_video." as video
907
- INNER JOIN ".$this->db_table_folder." as folder ON video.iFolder = folder.iFolder
908
- ORDER BY `dUpload` DESC LIMIT ".intval($iPage*$iLimit).", ".intval($iLimit));
909
- }
 
 
 
910
 
911
- function get_videos_byCodes( $sServerCode, $iFolderCode ) {
912
- global $wpdb;
913
- $sql = $wpdb->prepare("SELECT * FROM ".$this->db_table_video." WHERE sServerCode=%s AND iFolder=%d", $sServerCode, $iFolderCode);
914
- return $wpdb->get_results($sql);
915
- }
916
 
917
- function getLastVideo(){
918
- global $wpdb;
919
- return $wpdb->get_row("SELECT * FROM ".$this->db_table_video." ORDER BY dUpload DESC LIMIT 1");
920
- }
921
-
922
- function getVideo( $iVideo ) {
923
- global $wpdb;
924
- return $wpdb->get_row("SELECT * FROM ".$this->db_table_video." WHERE iVideo=".intval($iVideo)." LIMIT 1");
925
- }
926
-
927
- function get_videos() {
928
- global $wpdb;
929
- return $wpdb->get_results("SELECT * FROM ".$this->db_table_video." ORDER BY `dUpload` DESC");
930
- }
931
 
932
- function clean_videos() {
933
- global $wpdb;
934
- return $wpdb->query("DELETE FROM ".$this->db_table_video);
935
- }
936
 
937
- function rename_video( $iVideo, $sName){
938
- global $wpdb;
939
- $sql = $wpdb->prepare("UPDATE ".$this->db_table_video." SET sName=%s WHERE iVideo=%d LIMIT 1", $sName, $iVideo);
940
- $wpdb->query( $sql );
941
- }
942
-
943
- function insert_video( $iVideo, $iFolder, $sName, $sServerCode, $sPath, $sExtension, $iDuration, $dUpload ) {
944
- global $wpdb;
945
- $wpdb->insert( $this->db_table_video, array( 'iVideo' => $iVideo, 'iFolder' => $iFolder, 'sName' => $sName, 'sServerCode' => $sServerCode, 'sPath' => $sPath, 'sExtension' => $sExtension, 'iDuration' => $iDuration, 'dUpload' => $dUpload) );
946
- }
947
 
948
- function count_video() {
949
- global $wpdb;
950
- return $wpdb->get_var("SELECT COUNT(*) FROM ".$this->db_table_video);
951
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
952
 
953
- function delete_video( $iVideo = -1) {
954
- global $wpdb;
955
- return $wpdb->query("DELETE FROM ".$this->db_table_video." WHERE iVideo = ".intval($iVideo)." LIMIT 1");
956
- }
957
-
958
- /*
959
- * Gestion des uploads
960
- */
961
- function insert_upload( $sToken, $iPost ) {
962
- global $wpdb;
963
- $wpdb->insert( $this->db_table_upload, array( 'sToken' => $sToken, 'iPost' => $iPost) );
964
- }
965
-
966
- function update_upload( $sToken, $iPost ) {
967
- global $wpdb;
968
- return $wpdb->query( $wpdb->prepare("UPDATE ".$this->db_table_upload." SET `iVideo`=%d WHERE `wp_vod_upload`.`sToken`=%s", $iPost, $sToken) );
969
- }
970
-
971
- function get_upload_video( $sToken ) {
972
- global $wpdb;
973
- return $wpdb->get_row( $wpdb->prepare("SELECT * FROM ".$this->db_table_upload." WHERE sToken=%s LIMIT 1", $sToken) );
974
- }
975
-
976
- function get_upload_process(){
977
- global $wpdb;
978
- return $wpdb->get_results("SELECT * FROM ".$this->db_table_upload." WHERE iVideo=0");
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
979
  }
980
- }
981
 
982
- function vod_query_vars($qvars) {
983
- $qvars[] = 'vod_page';
984
- return $qvars;
985
- }
986
 
987
  ?>
1
  <?php
2
+ /**
3
+ * Classe generale regroupant les differentes fonctions du plugin wordpress.
4
+ * En cas de problemes ou de questions, veuillez contacter support-vod-wordpress@infomaniak.ch
5
+ *
6
+ * @author Destrem Kevin + Davide Rubini
7
+ * @link http://statslive.infomaniak.ch/vod/api/
8
+ * @version 1.1.8
9
+ * @copyright infomaniak.ch
10
+ *
11
+ */
12
+ define('VOD_RIGHT_CONTRIBUTOR', 1);
13
+ define('VOD_RIGHT_AUTHOR', 2);
14
+ define('VOD_RIGHT_EDITOR', 3);
15
+ define('VOD_RIGHT_ADMIN', 4);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
 
17
+ class EasyVod {
18
+ public $version = "1.0";
19
+ private $local_version;
20
+ private $plugin_url;
21
+ private $options;
22
+ private $key;
23
+ private $db;
24
+
25
+ function __construct() {
26
+ $this->local_version = $this->version;
27
+ $this->key = 'vod_infomaniak';
28
+ $this->options = $this->get_options();
29
+ $this->add_filters_and_hooks();
30
+ $this->db = new EasyVod_db();
31
+ $this->auto_sync = true;
32
+ $this->auto_sync_delay = 3600;
33
+ define("SALT", "SALT");
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  }
 
35
 
36
+ function add_filters_and_hooks() {
37
+ register_activation_hook(__FILE__, array(&$this, 'install_db'));
38
+ register_deactivation_hook(__FILE__, array(&$this, 'uninstall_db'));
39
+ add_action('plugins_loaded', array(&$this, 'update_db'));
40
+
41
+ load_plugin_textdomain('vod_infomaniak', FALSE, basename(dirname(__FILE__)) . '/languages');
42
+
43
+ add_action('template_redirect', array(&$this, 'vod_template_redirect'));
44
+ add_filter('query_vars', 'vod_query_vars');
45
+ add_filter('the_content', array(&$this, 'check'), 100);
46
+ add_filter('the_excerpt', array(&$this, 'check'), 100);
47
+
48
+ if (is_admin()) {
49
+ add_action('admin_menu', array(&$this, 'add_menu_items'));
50
+ add_action('edit_form_advanced', array(&$this, 'buildForm'));
51
+ add_action('edit_page_form', array(&$this, 'buildForm'));
52
+
53
+ add_action('wp_ajax_importvod', array(&$this, 'printLastImport'));
54
+ add_action('wp_ajax_vodsearchvideo', array(&$this, 'searchVideo'));
55
+ add_action('wp_ajax_vodsearchplaylist', array(&$this, 'searchPlaylist'));
56
+ add_action('wp_ajax_vodimportvideo', array(&$this, 'importPostVideo'));
57
+
58
+ add_action('plugins_loaded', array(&$this, 'init_mce_video'));
59
+
60
+ //On load css et js pour l'admin
61
+ add_action('admin_enqueue_scripts', array(&$this, 'register_scripts'));
62
+ }
63
  }
64
+
65
+ function register_scripts(){
66
+ //styles
67
+ wp_register_style('ui-tabs', plugins_url('vod-infomaniak/css/jquery.ui.tabs.css'));
68
+ wp_enqueue_style('vod-jquery-ui', plugins_url('vod-infomaniak/css/jquery-ui.css'), array(), $this->version, 'screen');
69
+ wp_enqueue_style('ui-tabs');
70
+ //scripts
71
+ wp_enqueue_script('jquery-ui-dialog');
72
+ wp_enqueue_script('jquery-ui-tabs');
73
+ wp_enqueue_script('suggest');
74
  }
75
+
76
+ function init_mce_video() {
77
+ if ($this->isCurrentUserCan('gestion')) {
78
+ add_filter('mce_external_plugins', array(&$this, 'mce_register'));
79
+ add_filter('mce_buttons', array(&$this, 'mce_add_button'), 0);
80
+ }
81
  }
82
 
83
+ function isCurrentUserCan($page) {
84
+ $user = wp_get_current_user(); // pour l'utilisateur courant
85
+ $iUserValue = $this->getRightValue($user->roles);
86
+
87
+ switch ($page) {
88
+ case 'plugin':
89
+ $value = $this->options['vod_right_integration'] <= $iUserValue ||
90
+ $this->options['vod_right_upload'] <= $iUserValue ||
91
+ $this->options['vod_right_player'] <= $iUserValue ||
92
+ $this->options['vod_right_playlist'] <= $iUserValue;
93
+ return $value;
94
+ case 'importation':
95
+ return $this->options['vod_right_upload'] <= $iUserValue;
96
+ case 'player':
97
+ return $this->options['vod_right_player'] <= $iUserValue;
98
+ case 'playlist':
99
+ return $this->options['vod_right_playlist'] <= $iUserValue;
100
+ case 'gestion':
101
+ return $this->options['vod_right_integration'] <= $iUserValue;
102
+ case 'configuration':
103
+ return $iUserValue == VOD_RIGHT_ADMIN;
104
+ default :
105
+ return true;
106
+ }
107
  }
108
+
109
+ function getRightValue($sValue) {
110
+ if (is_array($sValue)) {
111
+ $sValue = reset($sValue);
112
+ }
113
+ switch ($sValue) {
114
+ case 'contributor':
115
+ return VOD_RIGHT_CONTRIBUTOR;
116
+ case 'author':
117
+ return VOD_RIGHT_AUTHOR;
118
+ case 'editor':
119
+ return VOD_RIGHT_EDITOR;
120
+ case 'administrator':
121
+ return VOD_RIGHT_ADMIN;
122
+ default:
123
+ return VOD_RIGHT_CONTRIBUTOR;
124
  }
 
 
 
 
 
125
  }
126
+
127
+ function install_db() {
128
+ $this->db->install_db();
129
+ $this->fastSynchro();
130
+ }
131
+
132
+ function update_db() {
133
+ if (get_site_option('vod_db_version') != $this->db->db_version) {
134
+ $this->install_db();
135
  }
136
  }
 
 
137
 
138
+ function uninstall_db() { }
139
+
140
+ function add_menu_items() {
141
+ if ($this->auto_sync) {
142
+ $this->checkAutoUpdate();
143
+ }
144
+
145
+ if ($this->isCurrentUserCan('plugin')) {
146
+ if (function_exists('add_menu_page')) {
147
+ add_menu_page(__('Videos', 'vod_infomaniak'), __('Videos', 'vod_infomaniak'), 'edit_posts', __FILE__, array(&$this, 'vod_management_menu'));
148
+ }
 
 
 
 
 
 
 
 
 
 
 
 
149
 
150
+ if (function_exists('add_submenu_page')) {
151
+ if ($this->isCurrentUserCan('gestion')) {
152
+ add_submenu_page(__FILE__, __('Gestionnaire', 'vod_infomaniak'), __('Gestionnaire', 'vod_infomaniak'), 'edit_posts', __FILE__, array(&$this, 'vod_management_menu'));
153
+ }
154
+ if ($this->isCurrentUserCan('importation')) {
155
+ add_submenu_page(__FILE__, __('Importation', 'vod_infomaniak'), __('Importation', 'vod_infomaniak'), 'edit_posts', 'import', array(&$this, 'vod_upload_menu'));
156
+ }
157
+ if ($this->isCurrentUserCan('player')) {
158
+ add_submenu_page(__FILE__, __('Player video', 'vod_infomaniak'), __('Player video', 'vod_infomaniak'), 'edit_posts', 'Player', array(&$this, 'vod_implementation_menu'));
159
+ }
160
+ if ($this->isCurrentUserCan('playlist')) {
161
+ add_submenu_page(__FILE__, __('Playlist', 'vod_infomaniak'), __('Playlist', 'vod_infomaniak'), 'edit_posts', 'Playlist', array(&$this, 'vod_playlist_menu'));
162
+ }
163
+ if ($this->isCurrentUserCan('configuration')) {
164
+ add_submenu_page(__FILE__, __('Configuration', 'vod_infomaniak'), __('Configuration', 'vod_infomaniak'), 'edit_plugins', 'configuration', array(&$this, 'vod_admin_menu'));
165
+ }
166
+ }
167
  }
168
  }
169
+
170
+ function importPostVideo() {
171
+ if (!empty($_REQUEST['upload']) && $_REQUEST['upload'] == "finish") {
172
+ echo $this->db->insert_upload($_REQUEST['sToken'], $_REQUEST['post']);
173
+ } else {
174
+ if (!empty($_REQUEST['iFolder'])) {
175
+ $oFolder = $this->db->getFolder($_REQUEST['iFolder']);
176
+ if (empty($oFolder) || empty($oFolder->sName)) {
177
+ die(__("Il n'est pas possible d'uploader dans ce dossier.", 'vod_infomaniak'));
178
+ }
179
+ $oApi = $this->getAPI();
180
+ $sToken = $oApi->initUpload($oFolder->sPath);
181
+ $oApi->addInfo($sToken, "wp_upload_post_" . $sToken);
182
+ delete_transient('vod_last_import');
183
+ echo $sToken;
184
+ }
185
  }
186
+ die();
187
  }
188
+
189
+ function searchPlaylist() {
190
+ $aResult = $this->db->search_playlist($_REQUEST['q'], 100);
191
+ $tReturn = "";
192
+ if (!empty($aResult)) {
193
+ foreach ($aResult as $oPlaylist) {
194
+ var_dump($oPlaylist);
195
+ $sDuration = "";
196
+ if(!empty($oPlaylist->iTotalDuration)){
197
+ $iDuration = intval($oPlaylist->iTotalDuration/100);
198
+ $iHours = intval($iDuration/3600);
199
+ $iMinutes = intval($iDuration/60) % 60;
200
+ $iSecondes = intval($iDuration) % 60;
201
+ $sDuration .= $iHours > 0 ? $iHours."h. " : '';
202
+ $sDuration .= $iMinutes > 0 ? $iMinutes."m. " : '';
203
+ $sDuration .= $iSecondes > 0 ? $iSecondes."s. " : '';
 
 
 
 
 
 
204
  }
205
+
206
+ $tReturn .= '<tr class="vod_element_select" onclick="Vod_selectVideo(this, \''.$oPlaylist->iPlaylistCode.'\',\'\',\'\');">';
207
+ $tReturn .= '<td>'.ucfirst(stripslashes($oPlaylist->sPlaylistName))."</td>";
208
+ $tReturn .= '<td>'.stripslashes($oPlaylist->sPlaylistDescription)."</td>";
209
+ $tReturn .= '<td align="center">'.$oPlaylist->iTotal.'</td>';
210
+ $tReturn .= '<td align="right">'.$sDuration.'</td>';
211
+ $tReturn .= '</tr>';
212
+ }
213
+ }
214
+ echo $tReturn;
215
+ die();
216
+ }
217
+
218
+ function searchVideo() {
219
+ $aResult = $this->db->search_videos($_REQUEST['q'], 12, $this->options['vod_filter_folder']);
220
+ $tReturn = "";
221
+ if (!empty($aResult)) {
222
+ foreach ($aResult as $oVideo) {
223
+ $tReturn .= '<tr class="vod_element_select" onclick="Vod_selectVideo(this, \''.$oVideo->sPath . $oVideo->sServerCode . '.' . strtolower($oVideo->sExtension).'\',\''.$oVideo->sToken.'\',\''.$oVideo->iFolder.'\');">';
224
+ $tReturn .= '<td><img width="100" src="http://vod.infomaniak.com/redirect/' . $this->options['vod_api_id'] . $oVideo->sPath . $oVideo->sServerCode . '.mini.jpg"/></td>';
225
+ $tReturn .= '<td>';
226
+ $tReturn .= ucfirst(stripslashes($oVideo->sName));
227
+ $tReturn .= '<br/><br/>';
228
+ $tReturn .= '<img src="'.plugins_url('vod-infomaniak/img/ico-folder-open-16x16.png').'" style="vertical-align:bottom"/>';
229
+ $tReturn .= $oVideo->sPath;
230
+ $tReturn .= '</td>';
231
+ $tReturn .= '<td>'.$oVideo->dUpload.'</td>';
232
+ $tReturn .= '</tr>';
233
  }
234
+ }else{
235
+ $tReturn .= "<tr><td colspan='3'>Aucune Resultat</td></tr>";
236
  }
237
+ echo $tReturn;
238
+ die();
239
  }
240
+
241
+ function check($the_content, $side = 0) {
242
+ $tag = $this->options['tag'];
243
+ if ($tag != '' && strpos($the_content, "[" . $tag) !== false) {
244
+ preg_match_all("/\[$tag([^`]*?)\]([^`]*?)\[\/$tag\]/", $the_content, $matches, PREG_SET_ORDER);
245
+ foreach ($matches as $match) {
246
+ $the_content = preg_replace("/\[$tag([^`]*?)\]([^`]*?)\[\/$tag\]/", $this->tag($match[2], $match[1], '', '', $side), $the_content, 1);
247
+ }
248
+ }
249
+ if (strpos($the_content, "[upload-vod") !== false) {
250
+ $tag = "upload-vod";
251
+ preg_match_all("/\[$tag([^`]*?)\]([^`]*?)\[\/$tag\]/", $the_content, $matches, PREG_SET_ORDER);
252
+ foreach ($matches as $match) {
253
+ $the_content = preg_replace("/\[$tag([^`]*?)\]([^`]*?)\[\/$tag\]/", $this->tag_upload($match[2], $match[1], '', '', $side), $the_content, 1);
254
+ }
255
+ }
256
+ return $the_content;
257
+ }
258
+
259
+ function tag_upload($file, $params, $high = 'v', $time = '', $side = 0) {
260
+ //On check que le tag upload ne doit pas etre remplacer par un tag vod
261
+ if (!empty($file) && strpos($file, ':') !== false) {
262
+ $decoupage = split(":", $file);
263
+ $sToken = $decoupage[0];
264
+ $aUpload = $this->db->get_upload_video($sToken);
265
+ if (intval($aUpload->iVideo) > 0) {
266
+ $video = $this->db->getVideo($aUpload->iVideo);
267
+ if (!empty($video)) {
268
+ global $post;
269
+ $sVideoPath = $video->sPath . $video->sServerCode . "." . strtolower($video->sExtension);
270
+ $update_post = array();
271
+ $update_post['ID'] = $post->ID;
272
+ $result = str_replace("[upload-vod]" . $file . "[/upload-vod]", "[vod]" . $sVideoPath . "[/vod]", $post->post_content);
273
+ if ($result != $post->post_content) {
274
+ $post->post_content = $result;
275
+ $update_post['post_content'] = $post->post_content;
276
+ // Sans le @, warning suivant la config apache. Probleme soumis sur le forum officiel
277
+ @wp_update_post($update_post);
278
+ }
279
+ return $this->tag($sVideoPath, $params, $high, $time, $side);
280
+ }
281
+ }
282
+ }
283
+
284
+ $width = empty($aTagParam['width']) ? $this->options['width'] : intval($aTagParam['width']);
285
+ $height = empty($aTagParam['height']) ? $this->options['height'] : intval($aTagParam['height']);
286
+ return "<div style='background: url(\"" . plugins_url('vod-infomaniak/img/topbg10.png') . "\") repeat;border-radius: 8px; text-align:center; color: #DDDDDD; font-weight: bold; background-color: #222222; width: " . $width . "px; height: " . $height . "px;'>
287
+ <div style='font-size: 150%;padding-top: 100px;line-height:" . (($height - 200) / 2) . "px;vertical-align: middle;'>
288
+ <span style='display:block;'>" . __("Video en cours de conversion", 'vod_infomaniak') . " ...</span>
289
+ <img src='" . plugins_url('vod-infomaniak/img/ico-vod-64.png') . "' style='vertical-align:middle'/>
290
  </div>
291
  </div>";
292
+ }
293
+
294
+ function tag($file, $params, $high = 'v', $time = '', $side = 0) {
295
+
296
+ //Recuperation des parametres optionnels des tags
297
+ $aTagParam = array();
298
+ if (!empty($params)) {
299
+ $params = strtolower(str_replace(array("'", '"'), "", $params));
300
+ $aList = split(" ", $params);
301
+ foreach ($aList as $param) {
302
+ if (strpos($param, "=") !== false) {
303
+ $aCut = split("=", $param);
304
+ if (in_array($aCut[0], array("width", "height", "autoplay", "loop", "player", "videoimage", "tokenfolder"))) {
305
+ $aTagParam[$aCut[0]] = $aCut[1];
306
+ }
307
  }
308
  }
309
  }
310
+
311
+ //Recuperation des differents parametres
312
+ $iVod = $this->options['vod_api_icodeservice'];
313
+ $sUrl = "http://vod.infomaniak.com/iframe.php";
314
+ $sAccountBase = $this->options['vod_api_id'];
315
+ $sKey = "";
316
+ if (!empty($aTagParam['tokenfolder']) && !is_numeric($file)) {
317
+ $oFolder = $this->db->getFolder($aTagParam['tokenfolder']);
318
+ if (!empty($oFolder)) {
319
+ $fileInfo = pathinfo($file);
320
+ $sFileName = basename($file, '.' . $fileInfo['extension']);
321
+ $sKey = "?sKey=" . $this->getTemporaryKey($oFolder->sToken, $sFileName);
322
+ }
323
+ }
324
+ $videoimage = empty($aTagParam['videoimage']) ? 1 : intval($aTagParam['videoimage']);
325
+ $player = empty($aTagParam['player']) ? $this->options['player'] : intval($aTagParam['player']);
326
+ $autoplay = empty($aTagParam['autoplay']) ? $this->options['autoplay'] : intval($aTagParam['autoplay']);
327
+ $loop = empty($aTagParam['loop']) ? $this->options['loop'] : intval($aTagParam['loop']);
328
+ $width = empty($aTagParam['width']) ? $this->options['width'] : intval($aTagParam['width']);
329
+ $height = empty($aTagParam['height']) ? $this->options['height'] : intval($aTagParam['height']);
330
+
331
+ if (is_numeric($file)) {
332
+ $video_url = $sUrl . "?url=&playlist=" . $file;
333
+ } else {
334
+ //Build de l'url finale
335
+ if (strpos($file, "http://") === false) {
336
+ $sFile = $sAccountBase . "/" . $file;
337
+ } else {
338
+ $sFile = $file;
339
+ }
340
+ $sFile = $sFile . $sKey;
341
+ $video_url = $sUrl . "?url=" . $sFile;
342
+ if ($videoimage) {
343
+ $video_url .= "&preloadImage=" . str_replace(array(".flv", ".mp4"), ".jpg", $sFile);
344
+ }
345
+ }
346
+ if (!empty($player)) {
347
+ $video_url .= "&player=$player";
348
  } else {
349
+ $video_url .= "&player=576";
350
+ }
351
+ if ($iVod) {
352
+ $video_url .= "&vod=$iVod";
353
+ }
354
+ if (isset($aTagParam['autoplay'])) {
355
+ $video_url .= "&autostart=$autoplay";
356
+ }
357
+ if (isset($aTagParam['loop'])) {
358
+ $video_url .= "&loop=$loop";
359
+ }
360
+
361
+ //Build de la balise
362
+ $html_tag = '<span class="youtube">
363
+ <iframe title="Vod Player" class="vod-player" width="' . $width . '" height="' . $height . '" src="' . $video_url . '" frameborder="0"></iframe>
 
 
 
364
  </span>';
365
 
366
+ return $html_tag;
367
+ }
368
 
369
+ function get_options() {
370
+ $options = array(
371
+ 'width' => 480,
372
+ 'height' => 360,
373
+ 'template' => '{video}',
374
+ 'loop' => 0,
375
+ 'autoplay' => 0,
376
+ 'privacy' => 0,
377
+ 'wtext' => '',
378
+ 'wtitle' => '',
379
+ 'tag' => 'vod',
380
+ 'iframe' => 'on',
381
+ 'updateFilterFolder' => '',
382
+ 'vod_api_connected' => 'off',
383
+ 'vod_right_integration' => VOD_RIGHT_CONTRIBUTOR,
384
+ 'vod_right_upload' => VOD_RIGHT_CONTRIBUTOR,
385
+ 'vod_right_player' => VOD_RIGHT_CONTRIBUTOR,
386
+ 'vod_right_playlist' => VOD_RIGHT_CONTRIBUTOR,
387
+ 'vod_api_valid_callback' => 'off'
388
+ );
389
+ $saved = get_option($this->key);
 
 
 
 
 
 
 
 
390
 
391
+ if (!empty($saved)) {
392
+ foreach ($saved as $key => $option) {
393
+ $options[$key] = $option;
394
+ }
395
+ }
 
 
 
 
 
396
 
397
+ if ($saved != $options) {
398
+ update_option($this->key, $options);
399
+ }
400
+
401
+ return $options;
 
 
402
  }
 
403
 
404
+ function mce_add_button($buttons) {
405
+ array_push($buttons, "vodplugin");
406
+ return $buttons;
 
407
  }
 
408
 
409
+ function mce_register($plugin_array) {
410
+ $plugin_array["swfobject"] = "http://ajax.googleapis.com/ajax/libs/swfobject/2.1/swfobject.js";
411
+ $plugin_array["vodplugin"] = plugins_url('vod-infomaniak/js/editor_plugin.js');
412
+ return $plugin_array;
413
+ }
414
+
415
+ function buildForm() {
416
+ if (!empty($this->options['vod_api_connected']) && $this->options['vod_api_connected'] == 'on') {
417
+ require_once("vod.template.php");
418
+ $aPlayers = $this->db->get_players();
419
+ $aVideos = $this->db->get_videos_byPage(0, 50, $this->options['vod_filter_folder']);
420
+ $aPlaylists = $this->db->get_playlists();
421
+ $aFolders = $this->db->get_folders($this->options['vod_filter_folder']);
422
+ $bCanUpload = false;
423
+ if ($this->isCurrentUserCan('importation')) {
424
+ $bCanUpload = true;
 
 
 
 
 
425
  }
426
+ EasyVod_Display::buildForm($this->options, $aPlayers, $aVideos, $aPlaylists, $aFolders, $bCanUpload);
427
  }
428
  }
429
 
430
+ function checkAutoUpdate() {
431
+ $gmtime = time() - (int)substr(date('O'), 0, 3) * 60 * 60;
432
+ if (!isset($this->options['vod_api_lastUpdate']) || $this->options['vod_api_lastUpdate'] < $gmtime - $this->auto_sync_delay) {
433
+ $this->fastSynchro();
 
 
 
 
434
  }
435
  }
436
 
437
+ function fastSynchro($updateVideo = true) {
438
+ if (!isset($this->options['vod_api_connected']) || $this->options['vod_api_connected'] != 'on') {
439
+ return false;
440
+ }
441
+ $oApi = $this->getAPI();
442
+
443
+ //Update des players
444
+ if ($oApi->playerModifiedSince($this->options['vod_api_lastUpdate'])) {
445
+ $this->db->clean_players();
446
+ $aListPlayer = $oApi->getPlayers();
447
+ if (!empty($aListPlayer)) {
448
+ foreach ($aListPlayer as $oPlayer) {
449
+ if (empty($this->options['player'])) {
450
+ $this->options['player'] = $oPlayer['iPlayerCode'];
451
+ } else {
452
+ if ($this->options['player'] == $oPlayer['iPlayerCode']) {
453
+ $this->options['player'] = $oPlayer['iPlayerCode'];
454
+ $this->options['width'] = $oPlayer['iWidth'];
455
+ $this->options['height'] = $oPlayer['iHeight'];
456
+ update_option($this->key, $this->options);
457
+ }
458
+ }
459
+ $this->db->insert_player($oPlayer['iPlayerCode'], $oPlayer['sName'], $oPlayer['iWidth'], $oPlayer['iHeight'], $oPlayer['bAutoStart'], $oPlayer['bLoop'], $oPlayer['dEdit'], $oPlayer['bSwitchQuality']);
460
+ }
461
+ }
462
+ }
463
+
464
+ //Update des folders
465
+ if ($oApi->folderModifiedSince($this->options['vod_api_lastUpdate'])) {
466
+ $this->db->clean_folders();
467
+ $aListFolder = $oApi->getFolders();
468
+ if (!empty($aListFolder)) {
469
+ foreach ($aListFolder as $oFolder) {
470
+ $this->db->insert_folder($oFolder['iFolderCode'], $oFolder['sFolderPath'], $oFolder['sFolderName'], $oFolder['sAccess'], $oFolder['sToken']);
471
+ }
472
  }
473
  }
 
474
 
475
+ //Update des playlist
476
+ if ($oApi->playlistModifiedSince($this->options['vod_api_lastUpdate'])) {
477
+ $this->db->clean_playlists();
478
+ $aListPlaylist = $oApi->getPlaylists();
479
+ if (!empty($aListPlaylist)) {
480
+ foreach ($aListPlaylist as $oPlaylist) {
481
+ $this->db->insert_playlist($oPlaylist['iPlaylistCode'], $oPlaylist['sPlaylistName'], $oPlaylist['sPlaylistDescription'], $oPlaylist['iTotal'], $oPlaylist['sMode'], $oPlaylist['dCreated'], $oPlaylist['iTotalDuration']);
482
+ }
483
+ }
484
+ }
485
+
486
+ //Update de la synchro video
487
+ if ($updateVideo) {
488
+ $lastVideo = $this->db->getLastVideo();
489
+ if (!empty($lastVideo)) {
490
+ $lastDateImport = strtotime($lastVideo->dUpload);
491
+ $isSynchro = false;
492
+ $iPage = 0;
493
+ while (!$isSynchro) {
494
+ $aVideos = $oApi->getLastVideo(10, $iPage * 10);
495
+ $iVideo = 0;
496
+ while (!$isSynchro && $iVideo < count($aVideos)) {
497
+ $oVideo = $aVideos[$iVideo];
498
+ if ($lastDateImport < strtotime($oVideo['dFileUpload'])) {
499
+ $this->db->insert_video($oVideo['iFileCode'], $oVideo['iFolder'], $oVideo['sFileName'], $oVideo['sFileServerCode'], $oVideo['aEncodes'][0]['sPath'], $oVideo['aEncodes'][0]['eConteneur'], $oVideo['fFileDuration'], $oVideo['dFileUpload']);
500
+ $iVideo++;
501
+ } else {
502
+ $isSynchro = true;
503
+ }
504
  }
505
+ $iPage++;
506
  }
507
+ }
508
+ }
509
+
510
+ //Verification s'il y a des upload en attente
511
+ $aProcessing = $this->db->get_upload_process();
512
+ if (!empty($aProcessing)) {
513
+ $aLastImportation = $oApi->getLastImportation(50);
514
+ foreach ($aLastImportation as $oImport) {
515
+ if ($oImport['sProcessState'] == "OK" && !empty($oImport['iVideo']) && strpos($oImport['sInfo'], "wp_upload_post_") !== false) {
516
+ //On le connait peut etre celui la
517
+ foreach ($aProcessing as $oProcess) {
518
+ if ("wp_upload_post_" . $oProcess->sToken == $oImport['sInfo']) {
519
+ //On a trouvé un des upload
520
+ $this->db->update_upload($oProcess->sToken, $oImport['iVideo']);
521
+ }
 
522
  }
523
  }
524
  }
525
  }
526
+
527
+ //Update de la synchro
528
+ $serveurTime = $oApi->time();
529
+ $localTime = time();
530
+ $diff = ($serveurTime - $localTime);
531
+ $this->options['vod_api_servTime'] = $diff;
532
+ $this->options['vod_api_lastUpdate'] = time();
533
+ update_option($this->key, $this->options);
534
+ return true;
535
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
536
 
537
+ function fullSynchro() {
538
+ if (!isset($this->options['vod_api_connected']) || $this->options['vod_api_connected'] != 'on') {
539
+ return false;
 
540
  }
541
+ //Suppression et reimportation complete des videos
542
+ $oApi = $this->getAPI();
543
+ $this->fastSynchro(false);
544
+ $iNumberVideoApi = 200;
545
+ $this->db->clean_videos();
546
+ $iVideo = $oApi->countVideo();
547
+ $iPageTotal = floor(($iVideo - 1) / $iNumberVideoApi);
548
+ for ($iPage = 0; $iPage <= $iPageTotal; $iPage++) {
549
+ $aVideos = $oApi->getLastVideo($iNumberVideoApi, $iPage * $iNumberVideoApi);
550
+ if (!empty($aVideos)) {
551
+ foreach ($aVideos as $oVideo) {
552
+ $this->db->insert_video($oVideo['iFileCode'], $oVideo['iFolder'], $oVideo['sFileName'], $oVideo['sFileServerCode'], $oVideo['aEncodes'][0]['sPath'], $oVideo['aEncodes'][0]['eConteneur'], $oVideo['fFileDuration'], $oVideo['dFileUpload']);
553
+ }
554
+ }
555
  }
556
+ return true;
557
+ }
558
 
559
+ function vod_admin_menu() {
560
+ $site_url = get_option("siteurl");
561
+
562
+ if (isset($_POST['submitted'])) {
563
+ $bResult = false;
564
+ $aFolders = array();
565
+ if (empty($this->options['vod_api_callbackKey'])) {
566
+ $this->options['vod_api_callbackKey'] = sha1(time() * rand());
567
+ }
568
+ if (empty($this->options['vod_api_c'])) {
569
+ $this->options['vod_api_c'] = substr(sha1(time() * rand()), 0, 20);
570
+ }
571
+
572
+ $this->options['vod_api_login'] = stripslashes(htmlspecialchars($_POST['vod_api_login']));
573
+ if (isset($_POST['vod_api_password']) && $_POST['vod_api_password'] != "XXXXXX") {
574
+ $this->options['vod_api_password'] = $this->encrypt(stripslashes(htmlspecialchars($_POST['vod_api_password'])));
575
+ }
576
+ $this->options['vod_api_id'] = stripslashes(htmlspecialchars($_POST['vod_api_id']));
577
+ $this->options['vod_api_connected'] = 'off';
578
+
579
+ try {
580
+ $oApi = $this->getAPI();
581
+
582
+ $bResult = $oApi->ping();
583
+ if ($bResult) {
584
+
585
+ $this->options['vod_api_connected'] = 'on';
586
+ $this->options['vod_api_icodeservice'] = $oApi->getServiceItemID();
587
+ $this->options['vod_api_group'] = $oApi->getGroupID();
588
+ $this->options['vod_api_lastUpdate'] = 0;
589
+ $this->options['vod_filter_folder'] = "";
590
+ //Verification DB et synchro
591
+ $this->install_db();
592
+ if (empty($this->options['vod_api_valid_callback']) || $this->options['vod_api_valid_callback'] == 'off') {
593
+
594
+ //Clean de callback V1 s'il y en a encore
595
+ $sUrl = $oApi->getCallback();
596
+ if (!empty($sUrl) && strpos($sUrl, str_replace('http://', '', $site_url)) !== false) {
597
+ $oApi->setCallback("");
598
+ }
599
+
600
+ //On va essayer d'ajouter un callback V2
601
+ $sUrl2 = $oApi->getCallbackV2();
602
+ $bCallbackV2 = true;
603
+ if ($sUrl2 != false) {
604
+ foreach ($sUrl2 as $oCallback) {
605
+ if (strpos($oCallback['sUrl'], $site_url) !== false) {
606
+ $bCallbackV2 = false;
607
+ }
608
+ }
609
+ }
610
+ if ($bCallbackV2) {
611
+ $oApi->setCallbackV2($site_url . "/?vod_page=callback&key=" . $this->options['vod_api_callbackKey']);
612
+ }
613
  $this->options['vod_api_valid_callback'] == 'on';
 
 
614
  }
615
+ if ($this->db->count_video() == 0) {
616
+ $oApi = $this->getAPI();
617
+
618
+ //Update des videos
619
+ $iNumberVideoApi = 200;
620
+ $this->db->clean_videos();
621
+ $iVideo = $oApi->countVideo();
622
+ $iPageTotal = floor(($iVideo - 1) / $iNumberVideoApi);
623
+ for ($iPage = 0; $iPage <= $iPageTotal; $iPage++) {
624
+ $aVideos = $oApi->getLastVideo($iNumberVideoApi, $iPage * $iNumberVideoApi);
625
+ foreach ($aVideos as $oVideo) {
626
+ $this->db->insert_video($oVideo['iFileCode'], $oVideo['iFolder'], $oVideo['sFileName'], $oVideo['sFileServerCode'], $oVideo['aEncodes'][0]['sPath'], $oVideo['aEncodes'][0]['eConteneur'], $oVideo['fFileDuration'], $oVideo['dFileUpload']);
627
+ }
628
  }
629
  }
630
  }
631
+ } catch (Exception $oException) {
632
+ echo "<h4 style='color: red;'>" . __('Erreur : Impossible de se connecter', 'vod_infomaniak') . '</h4>';
633
  }
634
+ update_option($this->key, $this->options);
 
635
  }
636
+ if (isset($_POST['updateSynchro']) && $_POST['updateSynchro'] == 1) {
637
+ $this->options['vod_api_lastUpdate'] = 0;
638
+ $this->fastSynchro();
639
+ }
640
+ if (isset($_POST['updateSynchroVideo']) && $_POST['updateSynchroVideo'] == 1) {
641
+ $this->options['vod_api_lastUpdate'] = 0;
642
+ $this->fullSynchro();
643
+ }
644
+ if (isset($_POST['updateFilterFolder']) && $_POST['updateFilterFolder'] == 1) {
645
+ if ($_POST['sFolderPath'] == -1) {
646
+ $this->options['vod_filter_folder'] = "";
647
+ } else {
648
+ $this->options['vod_filter_folder'] = $_POST['sFolderPath'];
649
+ }
650
+ update_option($this->key, $this->options);
651
+ }
652
+ if (isset($_POST['updateRightPlugins']) && $_POST['updateRightPlugins'] == 1) {
653
+ $this->options['vod_right_integration'] = $this->getRightValue($_POST['integration_role']);
654
+ $this->options['vod_right_upload'] = $this->getRightValue($_POST['upload_role']);
655
+ $this->options['vod_right_player'] = $this->getRightValue($_POST['player_role']);
656
+ $this->options['vod_right_playlist'] = $this->getRightValue($_POST['playlist_role']);
657
+ update_option($this->key, $this->options);
658
+ }
659
+ if ($this->options['vod_api_connected'] == "on") {
660
+ $this->options['vod_count_player'] = $this->db->count_player();
661
+ $this->options['vod_count_folder'] = $this->db->count_folder();
662
+ $this->options['vod_count_video'] = $this->db->count_video();
663
+ $this->options['vod_count_playlist'] = $this->db->count_playlists();
664
+ $aFolders = $this->db->get_folders();
665
+ }
666
+ $actionurl = $_SERVER['REQUEST_URI'];
667
+ require_once("vod.template.php");
668
+ EasyVod_Display::adminMenu($actionurl, $this->options, $site_url, $aFolders);
669
  }
 
 
 
 
670
 
671
+ function plugin_ready() {
672
+ if (empty($this->options['vod_api_connected']) || $this->options['vod_api_connected'] == 'off') {
673
+ echo "<h2>" . __('Probleme de configuration', 'vod_infomaniak') . "</h2><p>" . __("Veuillez-vous rendre dans <a href='admin.php?page=configuration'>Videos -> Configuration</a> afin de configurer votre compte.", 'vod_infomaniak') . '</p>';
674
+ return false;
675
+ }
676
+ return true;
677
  }
678
+
679
+ function vod_management_menu() {
680
+ if ($this->plugin_ready()) {
681
+
682
+ if (isset($_REQUEST['sAction'])) {
683
+ if ($_REQUEST['sAction'] == "rename") {
684
+ $oVideo = $this->db->getVideo(intval($_POST['dialog-modal-id']));
685
+ if ($oVideo != false) {
686
+ $oApi = $this->getAPI();
687
+ $oApi->renameVideo($oVideo->iFolder, $oVideo->sServerCode, $_POST['dialog-modal-name']);
688
+ $this->db->rename_video(intval($_POST['dialog-modal-id']), $_POST['dialog-modal-name']);
689
+ echo "<script>";
690
+ echo "jQuery(document).ready(function() {";
691
+ echo " openVodPopup('" . $oVideo->iVideo . "', '" . $_POST['dialog-modal-name'] . "','" . $oVideo->sPath . $oVideo->sServerCode . "', '" . strtolower($oVideo->sExtension) . "');";
692
+ echo "});";
693
+ echo "</script>";
694
+ }
695
+ } else {
696
+ if ($_REQUEST['sAction'] == "delete") {
697
+ $oVideo = $this->db->getVideo(intval($_POST['dialog-confirm-id']));
698
+ if ($oVideo != false) {
699
+ $oApi = $this->getAPI();
700
+ $oApi->deleteVideo($oVideo->iFolder, $oVideo->sServerCode);
701
+ $this->db->delete_video(intval($_POST['dialog-confirm-id']));
702
+ }
703
+ } else {
704
+ if ($_REQUEST['sAction'] == "post") {
705
+ $oVideo = $this->db->getVideo(intval($_POST['dialog-post-id']));
706
+ if ($oVideo != false) {
707
+ $sBalise = "vod";
708
+ $oFolder = $this->db->getFolder($oVideo->iFolder);
709
+ if ($oFolder != false) {
710
+ if (!empty($oFolder->sToken)) {
711
+ $sBalise = "vod tokenfolder='" . $oVideo->iFolder . "'";
712
+ }
713
+ }
714
+
715
+ // Create post object
716
+ $my_post = array(
717
+ 'post_title' => $oVideo->sName,
718
+ 'post_content' => '[' . $sBalise . ']' . $oVideo->sPath . $oVideo->sServerCode . "." . strtolower($oVideo->sExtension) . '[/vod]'
719
+ );
720
+
721
+ // Insert the post into the database
722
+ $id_draft = wp_insert_post($my_post);
723
+ echo "<h3>" . __('Article correctement cree. Vous allez etre rediriger sur la page d\'edition', 'vod_infomaniak') . "</h3>";
724
+ echo "<script type='text/javascript'>window.location = '" . admin_url('post.php?post=' . $id_draft . '&action=edit') . "';</script>";
725
+ exit;
726
+ }
727
  }
728
  }
 
 
 
 
 
 
 
 
 
 
 
 
729
  }
730
  }
731
+
732
+ $iPage = !empty($_REQUEST['p']) ? intval($_REQUEST['p']) : 1;
733
+ $iLimit = 20;
734
+ $iVideoTotal = $this->db->count_video($this->options['vod_filter_folder']);
735
+ $aVideos = $this->db->get_videos_byPage($iPage - 1, $iLimit, $this->options['vod_filter_folder']);
736
+ for ($i = 0; $i < count($aVideos); $i++) {
737
+ if (!empty($aVideos[$i]->sToken)) {
738
+ $aVideos[$i]->sToken = $this->getTemporaryKey($aVideos[$i]->sToken, $aVideos[$i]->sServerCode);
739
+ }
740
+ }
741
+ require_once("vod.template.php");
742
+ $sPagination = EasyVod_Display::buildPagination($iPage, $iLimit, $iVideoTotal);
743
+ $actionurl = $_SERVER['REQUEST_URI'];
744
+ EasyVod_Display::managementMenu($actionurl, $sPagination, $this->options, $aVideos);
745
  }
746
+ }
747
+
748
+ function vod_upload_menu() {
749
+ if ($this->plugin_ready()) {
750
+ require_once("vod.template.php");
751
+ if (isset($_REQUEST['sAction']) && $_REQUEST['sAction'] == "popupUpload" && !empty($_REQUEST['iFolderCode'])) {
752
+ //Affichage du popup d'upload
753
+ $oFolder = $this->db->getFolder($_REQUEST['iFolderCode']);
754
+ if (empty($oFolder) || empty($oFolder->sName)) {
755
+ die(__("Il n'est pas possible d'uploader dans ce dossier.", 'vod_infomaniak'));
756
+ }
757
+ $oApi = $this->getAPI();
758
+ $sToken = $oApi->initUpload($oFolder->sPath);
759
+ delete_transient('vod_last_import');
760
+ EasyVod_Display::uploadPopup($sToken, $oFolder);
761
+ } else {
762
+ if (isset($_REQUEST['sAction']) && $_REQUEST['sAction'] == "popupImport" && !empty($_REQUEST['iFolderCode'])) {
763
+ //Affichage du popup d'import
764
+ $bResult = false;
765
+ $oFolder = $this->db->getFolder($_REQUEST['iFolderCode']);
766
+ if (empty($oFolder) || empty($oFolder->sName)) {
767
+ die(__("Il n'est pas possible d'uploader dans ce dossier.", 'vod_infomaniak'));
768
+ }
769
+ if ($_REQUEST['submit'] == 1) {
770
+ $oApi = $this->getAPI();
771
+ $aOptions = array();
772
+ if (!empty($_REQUEST['sLogin']) && !empty($_REQUEST['sPassword'])) {
773
+ $aOption['login'] = $_REQUEST['sLogin'];
774
+ $aOption['password'] = $_REQUEST['sPassword'];
775
+ }
776
+ $sUrl = $_REQUEST['sProtocole'] . "://" . $_REQUEST['sUrl'];
777
+ $bResult = $oApi->importFromUrl($oFolder->sPath, $sUrl, $aOption);
778
+ }
779
+ $actionurl = $_SERVER['REQUEST_URI'];
780
+ delete_transient('vod_last_import');
781
+ EasyVod_Display::ImportPopup($actionurl, $oFolder, $bResult);
782
+ } else {
783
+ //Affichage de la page principal
784
+ $aFolders = $this->db->get_folders($this->options['vod_filter_folder']);
785
+
786
+ $actionurl = $_SERVER['REQUEST_URI'];
787
+ EasyVod_Display::uploadMenu($actionurl, $this->options, $aFolders, $this->getLastImport());
788
+ }
789
  }
790
  }
 
 
 
 
791
  }
 
792
 
793
+ function printLastImport() {
794
+ echo $this->getLastImport();
795
+ die();
796
+ }
797
+
798
+ function getLastImport() {
799
  require_once("vod.template.php");
800
+ $aLastImport = get_transient('vod_last_import');
801
+ if (false == $aLastImport) {
 
 
 
 
802
  $oApi = $this->getAPI();
803
+ $aLastImport = $oApi->getLastImportation();
804
+ set_transient('vod_last_import', $aLastImport, 15);
805
+ }
806
+ return EasyVod_Display::tabLastUpload($aLastImport);
807
+ }
808
+
809
+ function vod_playlist_menu() {
810
+ if ($this->plugin_ready()) {
811
+ require_once("vod.template.php");
812
+
813
+ if (isset($_REQUEST['create'])) {
814
+ $oPlaylist = $this->db->getPlaylist(intval($_REQUEST['create']));
815
+
816
+ if ($oPlaylist != false) {
817
+ $sBalise = "vod";
818
+ // Create post object
819
+ $my_post = array(
820
+ 'post_title' => $oPlaylist->sPlaylistName,
821
+ 'post_content' => '[' . $sBalise . ']' . $oPlaylist->iPlaylistCode . '[/vod]'
822
+ );
823
+
824
+ // Insert the post into the database
825
+ $id_draft = wp_insert_post($my_post);
826
+ echo "<h3>" . __('Article correctement cree. Vous allez etre rediriger sur la page d\'edition', 'vod_infomaniak') . "</h3>";
827
+ echo "<script type='text/javascript'>window.location = '" . admin_url('post.php?post=' . $id_draft . '&action=edit') . "';</script>";
828
+ exit;
829
+ }
830
+ }
831
+
832
+
833
+ $aPlaylist = $this->db->get_playlists();
834
+ $actionurl = $_SERVER['REQUEST_URI'];
835
+ EasyVod_Display::playlistMenu($actionurl, $this->options, $aPlaylist);
836
+ }
837
+ }
838
+
839
+ function vod_implementation_menu() {
840
+ if ($this->plugin_ready()) {
841
+ require_once("vod.template.php");
842
+ if (isset($_POST['submitted'])) {
843
+ $oPlayer = $this->db->get_player(intval($_REQUEST['selectPlayer']));
844
+ if (!empty($oPlayer)) {
845
+ $this->options['player'] = $oPlayer->iPlayer;
846
+ $this->options['width'] = $oPlayer->iWidth;
847
+ $this->options['height'] = $oPlayer->iHeight;
848
+ update_option($this->key, $this->options);
849
  }
 
 
850
  }
851
+ $aPlayers = $this->db->get_players();
852
  $actionurl = $_SERVER['REQUEST_URI'];
853
+ EasyVod_Display::implementationMenu($actionurl, $this->options, $aPlayers);
 
 
 
 
 
 
 
854
  }
855
  }
 
856
 
857
+ function getTemporaryKey($sToken, $sVideoName) {
858
+ $iTime = time() + intval($this->options['vod_api_servTime']);
859
+ return md5($sToken . $sVideoName . $_SERVER['REMOTE_ADDR'] . date("YmdH", $iTime));
860
+ }
861
 
862
+ function getAPI() {
863
+ require_once('vod.api.php');
864
+ $sPassword = $this->decrypt($this->options['vod_api_password']);
865
+ return new vod_api($this->options['vod_api_login'], $sPassword, $this->options['vod_api_id']);
 
 
 
866
  }
 
 
867
 
868
+ function encrypt($text) {
869
+ return trim(base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_256, SALT, $text, MCRYPT_MODE_ECB, mcrypt_create_iv(mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256, MCRYPT_MODE_ECB), MCRYPT_RAND))));
 
 
 
 
870
  }
 
871
 
872
+ function decrypt($text) {
873
+ return trim(mcrypt_decrypt(MCRYPT_RIJNDAEL_256, SALT, base64_decode($text), MCRYPT_MODE_ECB, mcrypt_create_iv(mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256, MCRYPT_MODE_ECB), MCRYPT_RAND)));
874
+ }
875
+
876
+ function vod_template_redirect() {
877
+ global $wp_query;
878
+ $vod_page = isset($wp_query->query_vars['vod_page']) ? $wp_query->query_vars['vod_page'] : "";
879
+ if ($vod_page == 'callback') {
880
+ include(ABSPATH . 'wp-content/plugins/vod-infomaniak/vod_callback.php');
881
+ exit;
 
882
  }
 
 
 
883
  }
884
  }
885
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
886
 
887
+ /**
888
+ * Classe permettant la gestion des tables sql utilisé par ce plugin
889
+ * En cas de problemes ou de questions, veuillez contacter support-vod-wordpress@infomaniak.ch
890
+ *
891
+ * @author Destrem Kevin
892
+ * @link http://statslive.infomaniak.ch/vod/api/
893
+ * @version 1.0
894
+ * @copyright infomaniak.ch
895
+ *
896
+ */
897
+
898
+ class EasyVod_db {
899
+ var $db_table_player;
900
+ var $db_table_folder;
901
+ var $db_table_video;
902
+ var $db_table_playlist;
903
+ var $db_table_upload;
904
+ var $db_version = "1.0.5";
905
+
906
+ function __construct() {
907
+ global $wpdb;
908
+ $this->db_table_player = $wpdb->prefix . "vod_player";
909
+ $this->db_table_folder = $wpdb->prefix . "vod_folder";
910
+ $this->db_table_video = $wpdb->prefix . "vod_video";
911
+ $this->db_table_playlist = $wpdb->prefix . "vod_playlist";
912
+ $this->db_table_upload = $wpdb->prefix . "vod_upload";
913
+ }
914
+
915
+ function install_db() {
916
+ require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
917
+
918
+ $sql_player = "CREATE TABLE " . $this->db_table_player . " (
919
  `iPlayer` INT UNSIGNED NOT NULL ,
920
  `sName` VARCHAR( 255 ) NOT NULL ,
921
  `iWidth` INT UNSIGNED NOT NULL ,
924
  `bLoop` TINYINT UNSIGNED NOT NULL,
925
  `bSwitchQuality` TINYINT UNSIGNED NOT NULL,
926
  `dEdit` DATETIME NOT NULL
927
+ ) CHARACTER SET utf8;";
928
+ dbDelta($sql_player);
929
 
930
+ $sql_folder = "CREATE TABLE " . $this->db_table_folder . " (
931
  `iFolder` INT UNSIGNED NOT NULL ,
932
  `sPath` VARCHAR( 255 ) NOT NULL ,
933
  `sName` VARCHAR( 255 ) NOT NULL ,
934
  `sAccess` VARCHAR( 255 ) NOT NULL ,
935
  `sToken` VARCHAR( 255 ) NOT NULL
936
  ) CHARACTER SET utf8;";
937
+ dbDelta($sql_folder);
938
 
939
+ $sql_video = "CREATE TABLE " . $this->db_table_video . " (
940
  `iVideo` INT UNSIGNED NOT NULL ,
941
  `iFolder` INT UNSIGNED NOT NULL ,
942
  `sName` VARCHAR( 255 ) NOT NULL ,
944
  `sServerCode` VARCHAR( 255 ) NOT NULL,
945
  `sExtension` VARCHAR( 4 ) NOT NULL,
946
  `iDuration` INT UNSIGNED NOT NULL,
947
+ `dUpload` DATETIME NOT NULL
948
  ) CHARACTER SET utf8;";
949
+ dbDelta($sql_video);
950
 
951
+ $sql_playlist = "CREATE TABLE " . $this->db_table_playlist . " (
952
  `iPlaylistCode` INT UNSIGNED NOT NULL ,
953
  `sPlaylistName` VARCHAR( 255 ) NOT NULL ,
954
  `sPlaylistDescription` VARCHAR( 255 ) NOT NULL ,
955
  `iTotal` INT UNSIGNED NOT NULL,
956
  `iTotalDuration` INT UNSIGNED NOT NULL,
957
  `sMode` VARCHAR( 255 ) NOT NULL,
958
+ `dCreated` DATETIME NOT NULL
959
  ) CHARACTER SET utf8;";
960
+ dbDelta($sql_playlist);
961
+
962
+ $sql_upload = "CREATE TABLE " . $this->db_table_upload . " (
963
  `iUpload` INT UNSIGNED NOT NULL AUTO_INCREMENT,
964
  `sToken` VARCHAR( 255 ) NOT NULL,
965
  `iPost` INT UNSIGNED NOT NULL,
967
  PRIMARY KEY (iUpload),
968
  UNIQUE KEY sToken (sToken)
969
  ) CHARACTER SET utf8;";
970
+ dbDelta($sql_upload);
 
 
 
971
 
972
+ update_option("vod_db_version", $this->db_version);
973
+ }
 
 
 
 
 
974
 
975
+ /*
976
+ * Gestion des players
977
+ */
 
978
 
979
+ function get_players() {
980
+ global $wpdb;
981
+ return $wpdb->get_results("SELECT * FROM " . $this->db_table_player);
982
+ }
983
 
984
+ function get_player($iPlayer) {
985
+ global $wpdb;
986
+ return $wpdb->get_row("SELECT * FROM " . $this->db_table_player . " WHERE iPlayer=" . intval($iPlayer) . " LIMIT 1");
987
+ }
 
 
 
 
 
988
 
989
+ function clean_players() {
990
+ global $wpdb;
991
+ return $wpdb->query("DELETE FROM " . $this->db_table_player);
992
+ }
 
 
 
 
993
 
994
+ function insert_player($iPlayer, $sName, $iWidth, $iHeight, $bStart, $bLoop, $dEdit, $bSwitchQuality) {
995
+ global $wpdb;
996
+ $wpdb->insert($this->db_table_player, array('iPlayer' => $iPlayer, 'sName' => $sName, 'iWidth' => $iWidth, 'iHeight' => $iHeight, 'bAutoPlay' => $bStart, 'bLoop' => $bLoop, 'dEdit' => $dEdit, 'bSwitchQuality' => $bSwitchQuality));
997
+ }
998
 
999
+ function count_player() {
1000
+ global $wpdb;
1001
+ return $wpdb->get_var("SELECT COUNT(*) FROM " . $this->db_table_player);
1002
+ }
1003
 
1004
+ /*
1005
+ * Gestion des playlist
1006
+ */
 
1007
 
1008
+ function search_playlist($sTerm, $iLimit = 6) {
1009
+ global $wpdb;
1010
+ $sql = $wpdb->prepare("SELECT * FROM " . $this->db_table_playlist . " WHERE sPlaylistName LIKE %s OR sPlaylistDescription LIKE %s ORDER BY dCreated DESC LIMIT " . intval($iLimit), "%" . $sTerm . "%", "%" . $sTerm . "%");
1011
+ return $wpdb->get_results($sql);
1012
+ }
1013
 
1014
+ function get_playlists() {
1015
+ global $wpdb;
1016
+ return $wpdb->get_results("SELECT * FROM " . $this->db_table_playlist);
1017
+ }
 
 
 
1018
 
1019
+ function clean_playlists() {
1020
+ global $wpdb;
1021
+ return $wpdb->query("DELETE FROM " . $this->db_table_playlist);
1022
+ }
1023
 
1024
+ function insert_playlist($iPlaylistCode, $sPlaylistName, $sPlaylistDescription, $iTotal, $sMode, $dCreated, $iTotalDuration) {
1025
+ global $wpdb;
1026
+ $wpdb->insert($this->db_table_playlist, array('iPlaylistCode' => $iPlaylistCode, 'sPlaylistName' => $sPlaylistName, 'sPlaylistDescription' => $sPlaylistDescription, 'iTotal' => $iTotal, 'sMode' => $sMode, 'dCreated' => $dCreated, 'iTotalDuration' => $iTotalDuration));
1027
+ }
1028
 
1029
+ function count_playlists() {
1030
+ global $wpdb;
1031
+ return $wpdb->get_var("SELECT COUNT(*) FROM " . $this->db_table_playlist);
1032
+ }
1033
 
1034
+ /*
1035
+ * Gestion des dossiers
1036
+ */
 
1037
 
1038
+ function getFolder($iFolder) {
1039
+ global $wpdb;
1040
+ return $wpdb->get_row("SELECT * FROM " . $this->db_table_folder . " WHERE iFolder=" . intval($iFolder) . " LIMIT 1");
1041
+ }
 
 
 
 
 
 
1042
 
1043
+ function get_folders($sFilter = "") {
1044
+ global $wpdb;
1045
+ if (!empty($sFilter)) {
1046
+ $sql = $wpdb->prepare("SELECT * FROM " . $this->db_table_folder . " WHERE sPath LIKE %s ORDER BY `sPath` ASC", $sFilter . "%");
1047
+ return $wpdb->get_results($sql);
1048
+ } else {
1049
+ return $wpdb->get_results("SELECT * FROM " . $this->db_table_folder . " ORDER BY `sPath` ASC");
1050
+ }
1051
+ }
1052
 
1053
+ function clean_folders() {
1054
+ global $wpdb;
1055
+ return $wpdb->query("DELETE FROM " . $this->db_table_folder);
1056
+ }
 
1057
 
1058
+ function insert_folder($iFolder, $sPath, $sName, $sAccess, $sToken) {
1059
+ global $wpdb;
1060
+ $wpdb->insert($this->db_table_folder, array('iFolder' => $iFolder, 'sPath' => $sPath, 'sName' => $sName, 'sAccess' => $sAccess, 'sToken' => $sToken));
1061
+ }
 
 
 
 
 
 
 
 
 
 
1062
 
1063
+ function count_folder() {
1064
+ global $wpdb;
1065
+ return $wpdb->get_var("SELECT COUNT(*) FROM " . $this->db_table_folder);
1066
+ }
1067
 
1068
+ /*
1069
+ * Gestion des videos
1070
+ */
 
 
 
 
 
 
 
1071
 
1072
+ function search_videos($sTerm, $iLimit = 6, $sFilter = "") {
1073
+ global $wpdb;
1074
+ if (!empty($sFilter)) {
1075
+ $sql = $wpdb->prepare("SELECT iFolder FROM `wp_vod_folder` WHERE sPath LIKE %s ORDER BY sPath", $sFilter . '%');
1076
+ $aFolders = $wpdb->get_results($sql);
1077
+ $aFoldersList = array();
1078
+ foreach ($aFolders as $oFolder) {
1079
+ $aFoldersList[] = $oFolder->iFolder;
1080
+ }
1081
+ $sql = $wpdb->prepare("SELECT video.*, folder.sAccess, folder.sToken FROM " . $this->db_table_video . " as video
1082
+ INNER JOIN " . $this->db_table_folder . " as folder ON video.iFolder = folder.iFolder
1083
+ WHERE (video.sName LIKE %s OR sServerCode LIKE %s) AND video.iFolder IN ( " . implode(",", $aFoldersList) . ") ORDER BY dUpload DESC LIMIT " . intval($iLimit), "%" . $sTerm . "%", "%" . $sTerm . "%");
1084
+ return $wpdb->get_results($sql);
1085
+ } else {
1086
+ $sql = $wpdb->prepare("SELECT video.*, folder.sAccess, folder.sToken FROM " . $this->db_table_video . " as video
1087
+ INNER JOIN " . $this->db_table_folder . " as folder ON video.iFolder = folder.iFolder
1088
+ WHERE video.sName LIKE %s OR sServerCode LIKE %s ORDER BY dUpload DESC LIMIT " . intval($iLimit), "%" . $sTerm . "%", "%" . $sTerm . "%");
1089
+ return $wpdb->get_results($sql);
1090
+ }
1091
+ }
1092
 
1093
+ function get_videos_byPage($iPage, $iLimit, $sFilter = "") {
1094
+ global $wpdb;
1095
+ if (!empty($sFilter)) {
1096
+ $sql = $wpdb->prepare("SELECT iFolder FROM `wp_vod_folder` WHERE sPath LIKE %s ORDER BY sPath", $sFilter . '%');
1097
+ $aFolders = $wpdb->get_results($sql);
1098
+ $aFoldersList = array();
1099
+ foreach ($aFolders as $oFolder) {
1100
+ $aFoldersList[] = $oFolder->iFolder;
1101
+ }
1102
+ return $wpdb->get_results("SELECT video.*, folder.sAccess, folder.sToken FROM " . $this->db_table_video . " as video
1103
+ INNER JOIN " . $this->db_table_folder . " as folder ON video.iFolder = folder.iFolder
1104
+ WHERE video.iFolder IN ( " . implode(",", $aFoldersList) . ")
1105
+ ORDER BY `dUpload` DESC LIMIT " . intval($iPage * $iLimit) . ", " . intval($iLimit));
1106
+ } else {
1107
+ return $wpdb->get_results("SELECT video.*, folder.sAccess, folder.sToken FROM " . $this->db_table_video . " as video
1108
+ INNER JOIN " . $this->db_table_folder . " as folder ON video.iFolder = folder.iFolder
1109
+ ORDER BY `dUpload` DESC LIMIT " . intval($iPage * $iLimit) . ", " . intval($iLimit));
1110
+ }
1111
+ }
1112
+
1113
+ function get_videos_byCodes($sServerCode, $iFolderCode) {
1114
+ global $wpdb;
1115
+ $sql = $wpdb->prepare("SELECT * FROM " . $this->db_table_video . " WHERE sServerCode=%s AND iFolder=%d", $sServerCode, $iFolderCode);
1116
+ return $wpdb->get_results($sql);
1117
+ }
1118
+
1119
+ function getLastVideo() {
1120
+ global $wpdb;
1121
+ return $wpdb->get_row("SELECT * FROM " . $this->db_table_video . " ORDER BY dUpload DESC LIMIT 1");
1122
+ }
1123
+
1124
+ function getVideo($iVideo) {
1125
+ global $wpdb;
1126
+ return $wpdb->get_row("SELECT * FROM " . $this->db_table_video . " WHERE iVideo=" . intval($iVideo) . " LIMIT 1");
1127
+ }
1128
+
1129
+ function getPlaylist($iPlaylistCode) {
1130
+ global $wpdb;
1131
+ return $wpdb->get_row("SELECT * FROM " . $this->db_table_playlist . " WHERE iPlaylistCode=" . intval($iPlaylistCode) . " LIMIT 1");
1132
+ }
1133
+
1134
+ function get_videos() {
1135
+ global $wpdb;
1136
+ return $wpdb->get_results("SELECT * FROM " . $this->db_table_video . " ORDER BY `dUpload` DESC");
1137
+ }
1138
+
1139
+ function clean_videos() {
1140
+ global $wpdb;
1141
+ return $wpdb->query("DELETE FROM " . $this->db_table_video);
1142
+ }
1143
+
1144
+ function rename_video($iVideo, $sName) {
1145
+ global $wpdb;
1146
+ $sql = $wpdb->prepare("UPDATE " . $this->db_table_video . " SET sName=%s WHERE iVideo=%d LIMIT 1", $sName, $iVideo);
1147
+ $wpdb->query($sql);
1148
+ }
1149
+
1150
+ function insert_video($iVideo, $iFolder, $sName, $sServerCode, $sPath, $sExtension, $iDuration, $dUpload) {
1151
+ global $wpdb;
1152
+ $wpdb->insert($this->db_table_video, array('iVideo' => $iVideo, 'iFolder' => $iFolder, 'sName' => $sName, 'sServerCode' => $sServerCode, 'sPath' => $sPath, 'sExtension' => $sExtension, 'iDuration' => $iDuration, 'dUpload' => $dUpload));
1153
+ }
1154
+
1155
+ function count_video($sFilter = "") {
1156
+ global $wpdb;
1157
+ if (!empty($sFilter)) {
1158
+ $sql = $wpdb->prepare("SELECT iFolder FROM `wp_vod_folder` WHERE sPath LIKE %s ORDER BY sPath", $sFilter . '%');
1159
+ $aFolders = $wpdb->get_results($sql);
1160
+ $aFoldersList = array();
1161
+ foreach ($aFolders as $oFolder) {
1162
+ $aFoldersList[] = $oFolder->iFolder;
1163
+ }
1164
+ return $wpdb->get_var("SELECT COUNT(*) FROM " . $this->db_table_video . "
1165
+ WHERE iFolder IN ( " . implode(",", $aFoldersList) . ")");
1166
+ } else {
1167
+ return $wpdb->get_var("SELECT COUNT(*) FROM " . $this->db_table_video);
1168
+ }
1169
+ }
1170
+
1171
+ function delete_video($iVideo = -1) {
1172
+ global $wpdb;
1173
+ return $wpdb->query("DELETE FROM " . $this->db_table_video . " WHERE iVideo = " . intval($iVideo) . " LIMIT 1");
1174
+ }
1175
+
1176
+ /*
1177
+ * Gestion des uploads
1178
+ */
1179
+
1180
+ function insert_upload($sToken, $iPost) {
1181
+ global $wpdb;
1182
+ $wpdb->insert($this->db_table_upload, array('sToken' => $sToken, 'iPost' => $iPost));
1183
+ }
1184
+
1185
+ function update_upload($sToken, $iPost) {
1186
+ global $wpdb;
1187
+ return $wpdb->query($wpdb->prepare("UPDATE " . $this->db_table_upload . " SET `iVideo`=%d WHERE `wp_vod_upload`.`sToken`=%s", $iPost, $sToken));
1188
+ }
1189
+
1190
+ function get_upload_video($sToken) {
1191
+ global $wpdb;
1192
+ return $wpdb->get_row($wpdb->prepare("SELECT * FROM " . $this->db_table_upload . " WHERE sToken=%s LIMIT 1", $sToken));
1193
+ }
1194
+
1195
+ function get_upload_process() {
1196
+ global $wpdb;
1197
+ return $wpdb->get_results("SELECT * FROM " . $this->db_table_upload . " WHERE iVideo=0");
1198
+ }
1199
  }
 
1200
 
1201
+ function vod_query_vars($qvars) {
1202
+ $qvars[] = 'vod_page';
1203
+ return $qvars;
1204
+ }
1205
 
1206
  ?>
vod.php CHANGED
@@ -1,13 +1,15 @@
1
  <?php
2
- /*
3
- Plugin Name: VOD Infomaniak
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.0.0
8
- Author URI: http://infomaniak.com
9
- */
10
 
11
- if (isset($oVod)) return false;
12
- require_once(dirname(__FILE__) . '/vod.class.php');
13
- $oVod = new EasyVod();
 
 
1
  <?php
2
+ /*
3
+ Plugin Name: VOD Infomaniak
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.1.8
8
+ Author URI: http://infomaniak.com
9
+ */
10
 
11
+ if (isset($oVod)) {
12
+ return false;
13
+ }
14
+ require_once(dirname(__FILE__) . '/vod.class.php');
15
+ $oVod = new EasyVod();
vod.template.php CHANGED
@@ -1,928 +1,1271 @@
1
  <?php
2
- /**
3
- * Classe d'affichage regroupant les differents templates html/js
4
- * En cas de problemes ou de questions, veuillez contacter streaming@infomaniak.ch
5
- *
6
- * @author Destrem Kevin
7
- * @link http://statslive.infomaniak.ch/vod/api/
8
- * @version 1.0
9
- * @copyright infomaniak.ch
10
- *
11
- */
12
-
13
- class EasyVod_Display
14
- {
15
-
16
- static function buildForm( $options, $aPlayers, $aLastVideos, $aFolders ) {
17
- ?>
18
- <div class="hidden">
19
- <div id="dialog-vod-form">
20
- <div id="dialog-tabs" class="ui-tabs">
21
- <ul class="ui-tabs-nav">
22
- <li><a href="#dialog-tab2"><?php _e('Dernieres videos','vod_infomaniak');?></a></li>
23
- <li><a href="#dialog-tab1"><?php _e("Avec l'url",'vod_infomaniak');?></a></li>
24
- <li><a href="#dialog-tab3"><?php _e("Envoi d'une video",'vod_infomaniak');?></a></li>
25
- <li><a href="#dialog-tab4"><?php _e('Outil de recherche','vod_infomaniak');?></a></li>
26
- </ul>
27
- <div id="dialog-tab1" class="ui-tabs-panel">
28
- <div style="padding-left: 20px; padding-bottom: 10px;"><?php _e("Veuillez saisir l'URL d'une video",'vod_infomaniak');?></div>
29
- <div style="padding-left: 20px;">
30
- <strong><?php _e('Exemple','vod_infomaniak');?> :</strong>
31
- <ul id="dialog-exemple">
32
- <li><?php _e('Url complete','vod_infomaniak');?> : <code>http://vod.infomaniak.com/redirect/infomaniak_vod1/folder-234/mp4-148/video.mp4</code>
33
- <li><?php _e('Url partiel','vod_infomaniak');?> : <code>folder-234/mp4-148/video.mp4</code></li>
34
- <li><?php _e('Identifiant de playlist','vod_infomaniak');?> : <code>25</code></li>
35
  </ul>
36
- </div>
37
- <p style="text-align:center"><input type="text" id="dialog-url-input"/></p>
38
- </div>
39
- <div id="dialog-tab2" class="ui-tabs-panel" style="height: 450px; overflow-y: scroll;">
40
- <table class="widefat" style="width: 99%">
41
- <thead>
42
- <tr>
43
- <th width="110"><?php _e("Video",'vod_infomaniak'); ?></th>
44
- <th><?php _e("Nom",'vod_infomaniak'); ?></th>
45
- <th><?php _e("Date d'upload",'vod_infomaniak'); ?></th>
46
- </tr>
47
- </thead>
48
- <tbody>
49
- <?php
50
- if( empty($aLastVideos) ) {
51
- echo "<option value='0'>". __("Aucune video disponible",'vod_infomaniak') ."</option>";
52
- } else {
53
- foreach( $aLastVideos as $oVideo ){
54
- ?>
55
- <tr onclick="Vod_selectVideo('<?php echo $oVideo->sPath.$oVideo->sServerCode.".".strtolower($oVideo->sExtension); ?>','<?php echo $oVideo->sToken;?>','<?php echo $oVideo->iFolder;?>');">
56
- <td>
57
- <a href="javascript:;" onclick="Vod_selectVideo('<?php echo $oVideo->sPath.$oVideo->sServerCode.".".strtolower($oVideo->sExtension); ?>','<?php echo $oVideo->sToken;?>','<?php echo $oVideo->iFolder;?>');">
58
- <img width="100" src="<?php echo "http://vod.infomaniak.com/redirect/".$options['vod_api_id'].$oVideo->sPath.$oVideo->sServerCode.".mini.jpg"; ?>"/>
59
- </a>
60
- </td>
61
- <td>
62
- <a href="javascript:;" onclick="Vod_selectVideo('<?php echo $oVideo->sPath.$oVideo->sServerCode.".".strtolower($oVideo->sExtension); ?>','<?php echo $oVideo->sToken;?>','<?php echo $oVideo->iFolder;?>');"><?php echo ucfirst(stripslashes($oVideo->sName)); ?></a><br/><br/>
63
- <img src="<?php echo plugins_url('vod-infomaniak/img/ico-folder-open-16x16.png'); ?>" style="vertical-align:bottom"/> <?php echo $oVideo->sPath; ?>
64
- </td>
65
- <td><?php echo $oVideo->dUpload; ?></td>
66
- </tr>
67
- <?php
68
- }
69
- }
70
- ?>
71
- </tbody>
72
- </table>
73
- </div>
74
- <div id="dialog-tab3" class="ui-tabs-panel">
75
- <input type="hidden" id="url_ajax_import_video" value="<?php echo get_bloginfo('wpurl'); ?>/wp-admin/admin-ajax.php?action=vodimportvideo"/>
76
-
77
- <h4 style="margin:0"><?php _e('1. Selection du dossier','vod_infomaniak');?> :</h4>
78
- <select id="uploadSelectFolder" style="width:550px;">
79
- <option value="-1" selected="selected">-- <?php _e("Dossier d'envoi",'vod_infomaniak');?> --</option>
80
- <?php
81
- if( empty($aFolders) ) {
82
- echo "<option value='0'>". __("Aucun dossier disponible",'vod_infomaniak') ."</option>";
83
- } else {
84
- foreach( $aFolders as $oFolder ){
85
- echo "<option value='".$oFolder->iFolder."'>".__('Dossier','vod_infomaniak')." : /".$oFolder->sPath." , ".__('Nom','vod_infomaniak')." : ".$oFolder->sName."</option>";
86
- }
87
- }
88
- ?>
89
- </select>
90
- <input type="button" value="Valider" onclick="Vod_importVideo();return false;"/>
91
- <div id="vodUploadVideo" style="display:none">
92
- <br/>
93
- <h4 style="margin:0"><?php _e("2. Envoi d'un fichier",'vod_infomaniak');?> :</h4>
94
- <div id="up"></div>
95
- </div>
96
- <script>
97
- var flashUpload = function(sKey){
98
- var objId = "up";
99
- var paramsUpld = {
100
- menu: "false",
101
- AllowScriptAccess: "always",
102
- wmode : "transparent",
103
- scale : "noscale",
104
- salign: "lt",
105
- bgcolor:"#ffffff",
106
- quality:"high",
107
- allowfullscreen:"false"
108
- };
109
- var attributesUpld = {
110
- id: "up",
111
- name: "upName"
112
- };
113
- var flashvarsUpld = {
114
- key: sKey,
115
- nbMaxToUpload:1,
116
- nbFichier:1
117
- };
118
-
119
- swfobject.embedSWF("http://adminvod.infomaniak.ch/apiUpload/uploadStda.swf", objId, "700", "80", "9.0.0", "http://infomaniak.ch/shared/flashs/expressInstall.swf", flashvarsUpld, paramsUpld, attributesUpld);
120
- };
121
-
122
- var updateUpladerSize = function (objId,iHeight){
123
- document.getElementById(objId).height = iHeight+"px";
124
- };
125
-
126
- multiUploadCallback = function(json) {
127
- oJson = eval('('+json+')');
128
- switch (oJson.sStatus) {
129
- case "init":
130
- document.getElementById('up').callbackInitialisation();
131
- break;
132
- case "complete":
133
- document.getElementById('up').callbackProcessing(oJson.iCurrent,true);
134
- jQuery.ajax({
135
- url: jQuery("#url_ajax_import_video").val(),
136
- cache: false,
137
- processData: false,
138
- data: "upload=finish&post=<?php global $post; echo $post->ID; ?>&sToken="+sVodUploadParameters,
139
- success: function(html){
140
- filename = oJson.sOriginalFileName;
141
- filename = filename.replace(/[^a-zA-Z 0-9,.-_]+/g,'');
142
- var text = "[upload-vod]" + sVodUploadParameters + ":"+filename+"[/upload-vod]";
143
- if ( typeof tinyMCE != 'undefined' && ( ed = tinyMCE.activeEditor ) && !ed.isHidden() ) {
144
- ed.focus();
145
- if (tinymce.isIE){
146
- ed.selection.moveToBookmark(tinymce.EditorManager.activeEditor.windowManager.bookmark);
147
  }
148
- ed.execCommand('mceInsertContent', false, text);
149
- } else{
150
- edInsertContent(edCanvas, text);
 
 
 
 
 
151
  }
152
- jQuery("#dialog-vod-form").dialog("close");
153
- jQuery("#vodUploadVideo").hide();
154
  }
155
- });
156
- break;
157
- case "error":
158
- alert('upload error : '+oJson.sOriginalFileName);
159
- break;
160
- }
161
- }
162
- </script>
163
- </div>
164
- <div id="dialog-tab4" class="ui-tabs-panel">
165
- <input type="hidden" id="url_ajax_search_video" value="<?php echo get_bloginfo('wpurl'); ?>/wp-admin/admin-ajax.php?action=vodsearchvideo"/>
166
- <input type="hidden" id="url_ajax_search_playlist" value="<?php echo get_bloginfo('wpurl'); ?>/wp-admin/admin-ajax.php?action=vodsearchplaylist"/>
167
- <div style="padding-left: 30px;">
168
- <label style="font-weight: bold; margin-bottom: 5px;"><?php _e("Recherche d'une",'vod_infomaniak');?> :</label><br/><br/>
169
- <input type="radio" name="searchtype" id="video" value="video" checked="checked" onclick="checkSearchType();"> <label for="video"><?php _e('Video','vod_infomaniak');?></label>
170
- <input type="radio" name="searchtype" id="playlist" value="playlist" onclick="checkSearchType();"> <label for="playlist"><?php _e('Playlist','vod_infomaniak');?></label>
171
- <br/>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
172
  </div>
173
- <p style="text-align:center">
174
- <input id="dialog-search-input-video" class="dialog-search-input"/>
175
- <input id="dialog-search-input-playlist" class="dialog-search-input"/>
176
- </p>
177
- </div>
178
- </div>
179
- <div id="dialog-config">
180
- <div id="dialog-slide-header" class="ui-dialog-titlebar" onclick="Vod_dialogToggleSlider();"><?php _e('Options d\'integration','vod_infomaniak');?></div>
181
- <div id="dialog-slide" style="display:none">
182
- <p class="dialog-form-line">
183
- <label><?php _e('Dimensions','vod_infomaniak');?></label>
184
- <input type="text" id="dialog-width-input" size="5"/> &#215; <input type="text" id="dialog-height-input" size="5"/> pixels</p>
185
- </p>
186
- <p class="dialog-form-line">
187
- <input type="hidden" id="dialog-player-default" value="<?php echo $options['player']; ?>"/>
188
- <label><?php _e('Player choisi','vod_infomaniak');?></label>
189
- <select id="dialog-player">
190
- <?php
191
- if( empty($aPlayers) ) {
192
- echo "<option value='0'>". __("Aucun player disponible",'vod_infomaniak') ."</option>";
193
- } else {
194
- foreach( $aPlayers as $player ){
195
- $selected = "";
196
- if( $options['player'] == $player->iPlayer ){
197
- $selected = 'selected="selected"';
198
  }
199
- echo "<option value='".$player->iPlayer."' $selected>".ucfirst($player->sName)."</option>";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
200
  }
201
  }
202
  ?>
203
- </select>
204
- </p>
205
- <p class="dialog-form-line">
206
- <label><?php _e('Etirer la video (stretch)','vod_infomaniak');?></label>
207
- <input type="checkbox" id="dialog-stretch" checked="checked" value="1"/>
208
- </p>
209
- <p class="dialog-form-line">
210
- <label><?php _e('Demarrage automatique','vod_infomaniak');?></label>
211
- <input type="checkbox" id="dialog-autostart" value="1"/>
212
- <p>
213
- <p class="dialog-form-line">
214
- <label><?php _e('Lecture en boucle','vod_infomaniak');?></label>
215
- <input type="checkbox" id="dialog-loop" value="1"/>
216
- </p>
217
- <p class="dialog-form-line">
218
- <label><?php _e('Utilisation du token du dossier (Id dossier)','vod_infomaniak');?></label>
219
- <input type="text" id="dialog-token" size="5"/>
220
- </p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
221
  </div>
222
  </div>
223
- </div>
224
- </div>
225
- <?php
226
- }
227
 
228
- static function adminMenu( $action_url, $options, $sUrl){
229
- ?>
230
- <h2><?php _e('Administration du plugin VOD','vod_infomaniak');?></h2>
231
- <form name="adminForm" action="<?php echo $action_url; ?>" method="post">
232
- <input type="hidden" name="submitted" value="1" />
233
- <p>
234
- <?php _e("Pour fonctionner, le plugin a besoin de s'interfacer avec votre compte VOD infomaniak.<br/>
 
235
  Pour des raisons de securites, il est fortement conseille de creer un nouvel utilisateur dedie dans votre admin infomaniak avec uniquement des droits restreints sur l'API.<br/>
236
- Pour plus d'information, veuillez vous rendre dans la partie \"Configuration -> Api & Callback\" de votre administration VOD.",'vod_infomaniak');?>
237
-
238
- </p>
239
- <p>
240
- <label><?php _e('Login','vod_infomaniak'); ?> :</label>
241
- <input type="text" id="vod_api_login" name="vod_api_login" value="<?php echo !empty($options['vod_api_login']) ? $options['vod_api_login'] : ""; ?>"/>
242
- </p>
243
- <p>
244
- <label><?php _e('Password','vod_infomaniak'); ?> :</label>
245
- <input type="password" id="vod_api_password" name="vod_api_password" value="<?php echo !empty($options['vod_api_password']) ? "XXXXXX" : ""; ?>"/>
246
- </p>
247
- <p>
248
- <label><?php _e("Identifiant de l'espace VOD",'vod_infomaniak'); ?> :</label>
249
- <input type="text" id="vod_api_id" name="vod_api_id" value="<?php echo !empty($options['vod_api_id']) ? $options['vod_api_id'] : ""; ?>"/>
250
- </p>
251
- <p>
252
- <label><?php _e('Connection','vod_infomaniak'); ?> :</label>
253
- <?php
254
- if( $options['vod_api_connected'] == "on") {
255
- echo "<span style='color: green;'>".__('Connecter','vod_infomaniak');"</span>";
256
- } else {
257
- echo "<span style='color: red;'>".__('Impossible de se connecter','vod_infomaniak');"</span>";
258
- }
259
- ?>
260
- </p>
261
- <div class="submit"><input type="submit" name="Submit" value="<?php _e('Valider','vod_infomaniak'); ?>" /></div>
262
- </form>
263
 
264
- <?php
265
- if( $options['vod_api_connected'] == "on") {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
266
  ?>
267
- <h2><?php _e('Synchronisation des donnees','vod_infomaniak'); ?></h2>
268
- <p><?php _e("Pour fonctionner correctement, cette extension a besoin de se synchroniser regulierement avec votre compte VOD.<br/>Cela vous permet de garder une liste des players, dossiers et playlist a jour sur votre blog.<br/>Cette operation s'effectue automatiquement assez regulierement mais il est egalement possible de forcer une verification ci-dessous.",'vod_infomaniak'); ?></p>
269
  <p>
270
- <label><?php _e('Videos recuperes','vod_infomaniak'); ?> :</label>
271
  <span style="font-weight: bold;"><?php echo intval($options['vod_count_video']); ?></span>
272
  </p>
273
  <p>
274
- <label><?php _e('Dossiers recuperes','vod_infomaniak'); ?> :</label>
275
  <span style="font-weight: bold;"><?php echo intval($options['vod_count_folder']); ?></span>
276
  </p>
277
  <p>
278
- <label><?php _e('Players recuperes','vod_infomaniak'); ?> :</label>
279
  <span style="font-weight: bold;"><?php echo intval($options['vod_count_player']); ?></span>
280
  </p>
281
  <p>
282
- <label><?php _e('Playlist recuperes','vod_infomaniak'); ?> :</label>
283
  <span style="font-weight: bold;"><?php echo intval($options['vod_count_playlist']); ?></span>
284
  </p>
285
 
286
 
287
  <div class="submit">
288
- <form id="updateSynchro" name="updateSynchro" action="<?php echo $action_url; ?>" method="post" style="display:inline;">
289
- <input type="hidden" name="updateSynchro" value="1" />
290
- <input type="submit" name="Submit" value="<?php _e('Synchronisation rapide','vod_infomaniak'); ?>" />
 
 
291
  </form>
292
- <form id="updateSynchroVideo" name="updateSynchroVideo" action="<?php echo $action_url; ?>" method="post" style="display:inline;">
293
- <input type="hidden" name="updateSynchroVideo" value="1" />
294
- <input type="submit" name="Submit" value="<?php _e('Synchroniser Videos','vod_infomaniak'); ?>" />
 
 
295
  </form>
296
  </div>
297
 
298
- <h2><?php _e('Configuration du callback','vod_infomaniak'); ?></h2>
299
- <p><?php printf( __("Cette option vous permet de mettre a jour automatiquement votre blog a chaque ajout de video a votre espace VOD.<br/>Veuillez aller dans \"<a href='https://statslive.infomaniak.com/vod/configuration.php?iVodCode=%d' target='_blank'>Configuration -> Api & Callback</a>\" et mettre l'adresse suivante dans le champ \"Adresse de Callback\"",'vod_infomaniak'), $options['vod_api_icodeservice']); ?>
300
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
301
  </p>
302
  <p>
303
- <label style="font-weight: bold;"><?php _e('Adresse de callback','vod_infomaniak'); ?> :</label>
304
- <span><?php echo $sUrl."/?vod_page=callback&key=".$options['vod_api_callbackKey']; ?></span>
305
  </p>
306
- <?php
307
  }
308
- }
309
 
310
- static function tabLastUpload( $aLastImport ){
311
- $sTab = "";
312
- if( !empty( $aLastImport ) ){
313
- $sTab .= "<span id='tabImportRefresh' style='float:right; padding-right: 20px;'></span>";
314
- $sTab .= "<h2>".__('Precedents Envois','vod_infomaniak')."</h2>";
315
- $sTab .= "<table class='widefat' style='width: 99%'><thead><tr>";
316
- $sTab .= "<th>".__('Fichier','vod_infomaniak')."</th><th>".__('Date','vod_infomaniak')."</th><th>".__('Statut','vod_infomaniak')."</th><th>".__('Description','vod_infomaniak')."</th>";
317
- $sTab .= "</tr></thead><tbody>";
318
- foreach( $aLastImport as $oImport ){
319
- $sTab .= "<tr>";
320
- $sTab .= " <td><img src='" . plugins_url('vod-infomaniak/img/videofile.png') . "' style='vertical-align:bottom'/>". $oImport['sFileName'] ."</td>";
321
- $sTab .= " <td>". $oImport['dDateCreation'] ."</td>";
322
- $sTab .= " <td>";
323
- if( $oImport['sProcessState'] == "OK" ){
324
- $sTab .= " <img src='" . plugins_url('vod-infomaniak/img/ico-tick.png') . "' style='vertical-align:bottom'/> ".__('OK','vod_infomaniak');
325
-
326
- }else if( $oImport['sProcessState'] == "WARNING"){
327
- $sTab .= "<img src='" . plugins_url('vod-infomaniak/img/videofile.png') . "' style='vertical-align:bottom'/> ".__('Ok (des alertes sont apparues)','vod_infomaniak');
328
-
329
- }else if( $oImport['sProcessState'] == "DOWNLOAD"){
330
- $sTab .= "<img src='" . plugins_url('vod-infomaniak/img/ico-download.png') . "' style='vertical-align:bottom'/> ".__('Telechargement en cours','vod_infomaniak');
331
-
332
- }else if( $oImport['sProcessState'] == 'WAITING' || $oImport['sProcessState'] == 'QUEUE' || $oImport['sProcessState'] == 'PROCESSING'){
333
- $sTab .= "<img src='" . plugins_url('vod-infomaniak/img/ajax-loader.gif') . "' style='vertical-align:bottom'/> ".__('En cours de conversion','vod_infomaniak');
334
-
335
- }else{
336
- $sTab .= "<img src='" . plugins_url('vod-infomaniak/img/ico-exclamation-yellow.png') . "' style='vertical-align:bottom'/> ".__('Erreurs','vod_infomaniak');
 
 
 
 
 
 
337
  }
338
- $sTab .= " </td>";
339
- $sTab .= " <td width='50%'>". $oImport['sLog'] ."</td>";
340
- $sTab .= "</tr>";
341
  }
342
- $sTab .= "</tbody></table>";
343
- }
344
- return $sTab;
345
- }
346
 
347
- static function uploadMenu( $actionurl, $options, $aFolders, $sTab=""){
348
- ?>
349
- <h2><?php _e("Envoi d'une nouvelle video",'vod_infomaniak'); ?></h2>
350
- <p><?php _e("Ce plug-in vous permet d'ajouter de nouvelles videos directement depuis ce blog. Pour cela, vous n'avez qu'a choisir un dossier puis suivre les instructions",'vod_infomaniak'); ?> :</p>
351
- <p>
352
- <label><b>1.</b> <?php _e("Choix du dossier d'envoi",'vod_infomaniak'); ?> :</label><br/>
353
- <select id="uploadSelectFolder" onchange="changeFolder();" onkeyup="changeFolder();">
354
- <option value="-1" selected="selected">-- Dossier d'envoi --</option>
355
- <?php
356
- if( empty($aFolders) ) {
357
- echo "<option value='0'>". __("Aucun dossier disponible",'vod_infomaniak') ."</option>";
358
- } else {
359
- foreach( $aFolders as $oFolder ){
360
- echo "<option value='".$oFolder->iFolder."'>".__('Dossier','vod_infomaniak')." : /".$oFolder->sPath." , ".__('Nom','vod_infomaniak')." : ".$oFolder->sName."</option>";
361
- }
362
- }
363
  ?>
364
- </select>
365
- </p>
366
- <p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
367
  <div id="submitLine" class="submit">
368
- <label><b>2.</b> <?php _e("Choix du type d'envoi",'vod_infomaniak'); ?> :</label><br/>
369
- <input type="button" name="Submit" value="<?php _e("Envoyer depuis cet ordinateur",'vod_infomaniak'); ?>" onclick="vod_uploadPopup();"/>
370
- <input type="button" name="Submit" value="<?php _e("Importer depuis un autre site",'vod_infomaniak'); ?>" onclick="vod_importPopup();"/>
 
 
 
 
371
  </div>
372
- </p>
373
 
374
- <div id="tabImport"><?php echo $sTab; ?></div>
375
 
376
- <div id="dialog-message-upload" title="<?php _e('Envoi termine'); ?>" style="display:none;">
377
- <p style="padding-left: 10px;">
378
- <?php _e("L'ajout de cette video a correctement ete pris en compte.<br/>Vous pouvez retrouver l'avancement de cette conversion video dans le tableau ci-dessous."); ?>
379
- </p>
380
- </div>
381
-
382
- <script type="text/javascript">
383
- changeFolder = function(){
384
- if( jQuery("#uploadSelectFolder").val() != -1 ){
385
- jQuery("#submitLine").show();
386
- }else{
387
- jQuery("#submitLine").hide();
388
- }
389
- };
390
- changeFolder();
391
-
392
- vod_uploadPopup = function(){
393
- var height = 550;
394
- var width = 1024;
395
- var top=(screen.height - height)/2;
396
- var left=(screen.width - width)/2;
397
- window.open('<?php echo $actionurl; ?>&sAction=popupUpload&iFolderCode='+jQuery("#uploadSelectFolder").val(), 'UploadTool'+jQuery("#uploadSelectFolder").val(),
398
- config='height='+height+', width='+width+', top='+top+', left='+left+', toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, directories=no, status=no'
399
- );
400
- };
401
-
402
- vod_importPopup = function(){
403
- var height = 550;
404
- var width = 1024;
405
- var top=(screen.height - height)/2;
406
- var left=(screen.width - width)/2;
407
- window.open('<?php echo $actionurl; ?>&sAction=popupImport&iFolderCode='+jQuery("#uploadSelectFolder").val(), 'importTool'+jQuery("#uploadSelectFolder").val(),
408
- config='height='+height+', width='+width+', top='+top+', left='+left+', toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, directories=no, status=no'
409
- );
410
- };
411
-
412
- (function(){
413
- iAjaxRefresh = 5;
414
- iAjaxDecompte = 0;
415
-
416
- jQuery(document).ready(function() {
417
- iAjaxDecompte = 30;
418
- if( jQuery('#tabImportRefresh') && jQuery('#tabImport') ){
419
- setTimeout('update_vod_import();', 30000);
420
- setTimeout('update_info();', 100);
421
- }
422
- });
423
 
424
- update_info = function(){
425
- if( iAjaxDecompte >= 0 ){
426
- iAjaxDecompte -= 1;
427
- jQuery('#tabImportRefresh').html("<span style='font-style:italic;color: #666666;'><img src='<?php echo plugins_url('vod-infomaniak/img/ico-refresh.png'); ?>' style='vertical-align:bottom;'/> <?php _e("Mise a jour dans",'vod_infomaniak'); ?> "+ (iAjaxDecompte*1+1) +" secondes</span>");
 
 
428
  }
429
- setTimeout('update_info();', 1000);
430
- }
 
 
 
 
 
 
 
 
 
 
431
 
432
- update_vod_import = function() {
 
 
 
 
 
 
 
 
 
 
 
433
  iAjaxDecompte = 0;
434
- jQuery.ajax({
435
- type: "post",url: "admin-ajax.php",data: { action: 'importvod'},
436
- success: function(html){
437
- jQuery("#tabImport").html(html);
 
 
438
  }
439
  });
440
- if( iAjaxRefresh < 10 ){
441
- iAjaxDecompte = 30;
442
- setTimeout('update_vod_import();', 30000);
443
- }else if( iAjaxRefresh < 25 ){
444
- iAjaxDecompte = 60;
445
- setTimeout('update_vod_import();', 60000);
446
- }else if( iAjaxRefresh < 35 ){
447
- iAjaxDecompte = 120;
448
- setTimeout('update_vod_import();', 120000);
449
- }else if( iAjaxRefresh < 45 ){
450
- iAjaxDecompte = 300;
451
- setTimeout('update_vod_import();', 300000);
452
- }else if( iAjaxRefresh < 60 ){
453
- iAjaxDecompte = 600;
454
- setTimeout('update_vod_import();', 600000);
455
- }else{
456
- iAjaxDecompte = -1;
457
  }
458
- iAjaxRefresh++;
459
- }
460
 
461
- uploadFinish = function(){
462
- jQuery( "#dialog-message-upload" ).dialog({
463
- modal: true,
464
- width: 600,
465
- buttons: {
466
- Ok: function() {
467
- jQuery( this ).dialog( "close" );
468
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
469
  }
470
- });
471
- iAjaxRefresh = 0;
472
- update_vod_import();
473
- }
474
 
475
- })();
 
 
 
 
 
 
 
 
 
 
 
 
476
 
477
- </script>
478
- <?php
479
- }
480
-
481
- static function uploadPopup( $token, $oFolder, $bResult=false ){
482
- ?>
483
- <script type="text/javascript" charset="iso-8859-1" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.1/swfobject.js" ></script>
484
- <script type="text/javascript" charset="iso-8859-1" src="http://vod.infomaniak.com/apiUpload/flashUpload.js" ></script>
485
-
486
- <h2><?php _e("Utilitaire d'envoi de video",'vod_infomaniak'); ?></h2>
487
- <p>
488
- <label style="font-weight: bold"><?php _e("Dossier d'envoi",'vod_infomaniak'); ?> :</label>
489
- <span><img src="<?php echo plugins_url('vod-infomaniak/img/ico-folder-open-16x16.png'); ?>" style="vertical-align:bottom"/> <?php echo $oFolder->sName; ?> ( '<?php echo $oFolder->sPath; ?>' )</span>
490
- </p>
491
- <p>
492
- <label style="font-weight: bold"><?php _e("Limites",'vod_infomaniak'); ?> :</label>
493
- <ul style="list-style: disc inside; margin-left: 20px;">
494
- <li><?php _e("Le poids des fichiers envoyes via ce module est limite a 1Go",'vod_infomaniak'); ?></li>
495
- <li><?php _e("Les formats videos supportes sont avi, flv, mov, mpeg, mp4, mkv, rm, wmv, m4v, vob, 3gp, webm, f4v, ts",'vod_infomaniak'); ?></li>
496
- <li><?php _e("L'envoi doit etre effectue en moins de 4 heures",'vod_infomaniak'); ?></li>
497
- </ul>
498
- </p>
499
- <p><label style="font-weight: bold"><?php _e("Envoi",'vod_infomaniak'); ?> :</label></p>
500
- <div id="up"></div>
501
-
502
- <script type="text/javascript">
503
- jQuery('#adminmenuwrap').remove();
504
- flashUpload('<?php echo $token; ?>');
505
-
506
- multiUploadCallback = function(json){
507
- oJson = eval('('+json+')');
508
- switch (oJson.sStatus){
509
- case "init":
510
- document.getElementById('up').callbackInitialisation();
511
- break;
512
- case "complete":
513
- document.getElementById('up').callbackProcessing(oJson.iCurrent,true);
514
- setTimeout('CallParentWindowFunction();', 2500);
515
- break;
516
- case "error":
517
- alert('upload error : '+oJson.sOriginalFileName);
518
- break;
519
- }
520
- }
521
 
522
- CallParentWindowFunction = function(){
523
- window.opener.uploadFinish();
524
- return false;
525
- }
526
- </script>
527
  <?php
528
- }
529
 
530
- static function importPopup( $action_url, $oFolder, $bResult=false ){
531
- ?>
532
- <h2><?php _e("Utilitaire d'importation de video",'vod_infomaniak'); ?></h2>
 
 
 
533
 
534
- <form name="adminForm" action="<?php echo $action_url; ?>" method="post">
535
- <input type="hidden" name="submit" value="1"/>
536
- <input type="hidden" name="sAction" value="popupImport"/>
537
- <input type="hidden" name="iFolder" value="<?php echo $oFolder->iFolder; ?>"/>
538
  <p>
539
- <label style="font-weight: bold"><?php _e("Dossier d'envoi",'vod_infomaniak'); ?> :</label>
540
- <span><img src="<?php echo plugins_url('vod-infomaniak/img/ico-folder-open-16x16.png'); ?>" style="vertical-align:bottom"/> <?php echo $oFolder->sName; ?> ( '<?php echo $oFolder->sPath; ?>' )</span>
 
 
541
  </p>
542
  <p>
543
- <label style="font-weight: bold"><?php _e("Limites",'vod_infomaniak'); ?> :</label>
544
- <ul style="list-style: disc inside; margin-left: 20px;">
545
- <li><?php _e("Le poids des fichiers envoyes via ce module est limite a 1Go",'vod_infomaniak'); ?></li>
546
- <li><?php _e("Les formats videos supportes sont avi, flv, mov, mpeg, mp4, mkv, rm, wmv, m4v, vob, 3gp, webm, f4v, ts",'vod_infomaniak'); ?></li>
547
- </ul>
548
- </p>
549
- <p>
550
- <label style="font-weight: bold"><?php _e("Adresse",'vod_infomaniak'); ?> :</label>
551
- <select name="sProtocole" id="sProtocole">
552
- <option value="http">http://</option>
553
- <option value="https">https://</option>
554
- <option value="ftp">ftp://</option>
555
- </select>
556
- <input type="text" onkeyup="checkURL();" showsuccess="false" style="width: 50%" value="" name="sUrl" id="sUrl">
557
- </p>
558
- <p>
559
- <input type="checkbox" value="1" onclick="checkAuth();" name="bNeedAuth" id="bNeedAuth">
560
- <?php _e("Cette adresse necessite une authentification.",'vod_infomaniak'); ?>
561
- </p>
562
- <p id="authLine">
563
- <label style="font-weight: bold"><?php _e("Login",'vod_infomaniak'); ?> :</label> <input type="text" name="sLogin">
564
- <label style="font-weight: bold"><?php _e("Password",'vod_infomaniak'); ?> :</label> <input type="password" name="sPassword">
565
  </p>
566
- <div class="submit"><input type="submit" name="Submit" value="<?php _e("Importer",'vod_infomaniak'); ?>" /></div>
567
- </form>
568
- <script type="text/javascript">
569
- jQuery('#adminmenuwrap').remove();
570
-
571
- checkURL = function(){
572
- var url = jQuery('#sUrl').val();
573
- if (url.indexOf("http://") !=-1) {
574
- jQuery('#sProtocole').val('http');
575
- jQuery('#sUrl').val( url.replace(/http:\/\//i, "") );
576
- }else if (url.indexOf("https://") !=-1) {
577
- jQuery('#sProtocole').val('https');
578
- jQuery('#sUrl').val( url.replace(/https:\/\//i, "") );
579
- }else if (url.indexOf("ftp://") !=-1) {
580
- jQuery('#sProtocole').val('ftp');
581
- jQuery('#sUrl').val( url.replace(/ftp:\/\//i, "") );
582
- }
583
- };
584
 
585
- checkAuth = function(){
586
- if( jQuery("#bNeedAuth").attr('checked') ){
587
- jQuery("#authLine").show();
588
- }else{
589
- jQuery("#authLine").hide();
 
 
 
 
 
 
 
 
 
 
 
 
 
590
  }
591
- };
592
- checkAuth();
593
 
594
- CallParentWindowFunction = function(){
595
- window.opener.uploadFinish();
596
- return false;
597
- }
598
- <?php if($bResult){ echo "CallParentWindowFunction();"; } ?>
599
- </script>
600
  <?php
601
- }
602
 
603
- static function managementMenu( $action_url, $sPagination, $aOptions, $aVideos){
604
- ?>
605
- <h2><?php _e("Gestionnaire de videos",'vod_infomaniak'); ?></h2>
606
 
607
- <div class="tablenav" style="padding-right: 20px;">
608
- <div class='tablenav-pages'>
609
- <?php echo $sPagination; ?>
610
- </div>
611
- </div>
612
 
613
- <div id="dialog-confirm-vod" title="<?php _e("Supprimer une video",'vod_infomaniak'); ?>" style="display:none;">
614
- <form id="adminFormVodDelete"name="adminForm" action="<?php echo $action_url; ?>" method="POST">
615
- <input type="hidden" name="submitted" value="1" />
616
- <input type="hidden" name="sAction" value="delete" />
617
- <input type="hidden" id="dialog-confirm-id" name="dialog-confirm-id" value=""/>
618
- <p style="padding-left: 10px;">
619
- <?php _e("Vous etes sur le point de supprimer la video",'vod_infomaniak'); ?> '<span id="dialog-confirm-title" style="font-weight: bold;"></span>'.<br/><br/>
620
- <span style="color: darkRed; font-style:italic;">
621
- <span style="font-weight: bold;"><?php _e("Attention",'vod_infomaniak'); ?> :</span>
622
- <?php _e("C'est une suppression definitive de la video, il n'y pas de corbeille ou de moyen de la recuperer une fois effacer.",'vod_infomaniak'); ?>
623
- </span><br/><br/>
624
- <?php _e("Etes-vous sur de vouloir continuer ?",'vod_infomaniak'); ?>
625
- </p>
626
- </form>
627
- </div>
628
-
629
- <div id="dialog-modal-vod" title="<?php _e("Previsualisation d'une video",'vod_infomaniak'); ?>" style="display:none; padding: 5px; overflow: hidden;">
630
- <h3 id="dialog-modal-title" style="text-align:center; margin: 5px">Titre</h3>
631
- <center>
632
- <iframe id="dialog-modal-video" frameborder="0" width="480" height="320" src="#"></iframe>
633
- </center>
634
- <div style="padding-left:5px">
635
- <h3><?php _e("Informations",'vod_infomaniak'); ?></h3>
636
  <p>
637
- <form name="adminForm" action="<?php echo $action_url; ?>" method="POST">
638
- <input type="hidden" name="submitted" value="1" />
639
- <input type="hidden" name="sAction" value="rename" />
640
- <input type="hidden" id="dialog-modal-id" name="dialog-modal-id" value=""/>
641
- <input type="submit" value="Modifier" style="float:right; margin-right:25px;"/>
642
- <input id="dialog-modal-name" name="dialog-modal-name" text="" style="float:right; width: 350px; border: 1px solid #CCCCCC; color: #444444; border-radius: 3px; padding: 4px"/>
643
- </form>
644
- <label><?php _e("Nom",'vod_infomaniak'); ?> :</label>
645
  </p>
646
- <p id="dialog-modal-access-block" style="padding-top: 2px;">
647
- <label><?php _e("Restriction d'acces",'vod_infomaniak'); ?> :</label>
648
- <span id="dialog-modal-access" style="font-weight: bold; padding-left: 45px;"></span>
649
- </p>
650
- <h3><?php _e("Integration",'vod_infomaniak'); ?></h3>
651
  <p>
652
- <a id="dialog-modal-url-href" href="#" target="_blank">
653
- <img src="<?php echo plugins_url('vod-infomaniak/img/ico-redo.png'); ?>" style="float:right; margin-right:25px; vertical-align:bottom;" alt="<?php _e("Visualiser la video",'vod_infomaniak'); ?>"/>
654
- </a>
655
- <input id="dialog-modal-url" text="" style="float:right; width: 393px; margin-right: 5px; border 1px solid #CCC; border-radius: 3px; background-color: #FFF; margin-top:0; padding: 4px; border: 1px solid #CCCCCC; color: #444444;" readonly="value" onfocus="this.select();"/>
656
- <label><?php _e("Url de la video",'vod_infomaniak'); ?> :</label>
657
  </p>
658
  <p>
659
- <a id="dialog-modal-url-img-href" href="#" target="_blank">
660
- <img src="<?php echo plugins_url('vod-infomaniak/img/ico-redo.png'); ?>" style="float:right; margin-right:25px; vertical-align:bottom;" alt="Visualiser l'image"/>
661
- </a>
662
- <input id="dialog-modal-url-img" text="" style="float:right; width: 393px; margin-right: 5px; border 1px solid #CCC; border-radius: 3px; background-color: #FFF; margin-top:0; padding: 4px; border: 1px solid #CCCCCC; color: #444444;" readonly="value" onfocus="this.select();"/>
663
- <label><?php _e("Url de l'image",'vod_infomaniak'); ?> :</label>
 
 
 
664
  </p>
665
  <p>
666
- <input id="dialog-modal-balise" text="" style="float:right; margin-right:25px; width: 414px; border 1px solid #CCC; border-radius: 3px; background-color: #FFF; margin-top:0; padding: 4px; border: 1px solid #CCCCCC; color: #444444;" readonly="value" onfocus="this.select();"/>
667
- <label><?php _e("Code d'integration",'vod_infomaniak'); ?> :</label>
 
 
 
 
 
 
 
668
  </p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
669
  </div>
670
- <div style="padding-top: 15px; text-align:center;">
671
- <ul style="display:inline; ">
672
- <li style="display:inline">
673
- <a id="dialog-modal-admin" href="#" target="_blank" style="text-decoration: none; color:#444444; font-weight: bold;">
674
- <img src="<?php echo plugins_url('vod-infomaniak/img/ico-video.png'); ?>" alt="<?php _e("Administrer cette video",'vod_infomaniak'); ?>" style="vertical-align:bottom"/> <?php _e("Administrer cette video",'vod_infomaniak'); ?>
675
- </a>
676
- </li>
677
- <li style="display:inline; padding-left: 20px">
678
- <a id="dialog-modal-admin2" href="#" target="_blank" style="text-decoration: none; color:#444444; font-weight: bold;">
679
- <img src="<?php echo plugins_url('vod-infomaniak/img/ico-statistics.png'); ?>" alt="<?php _e("Voir les statistiques de cette video",'vod_infomaniak'); ?>" style="vertical-align:bottom"/> <?php _e("Voir les statistiques",'vod_infomaniak'); ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
680
  </a>
681
- </li>
682
- <li style="display:inline; padding-left: 20px">
683
- <form id="adminFormPost" name="adminFormPost" action="<?php echo $action_url; ?>" method="POST" style="display:none">
684
- <input type="hidden" name="submitted" value="1" />
685
- <input type="hidden" name="sAction" value="post" />
686
- <input type="hidden" id="dialog-post-id" name="dialog-post-id" value=""/>
687
- </form>
688
- <a id="dialog-modal-admin3" href="javascript:;" onclick="jQuery('#adminFormPost').submit();" style="text-decoration: none; color:#444444; font-weight: bold;">
689
- <img src="<?php echo plugins_url('vod-infomaniak/img/ico-edit.png'); ?>" alt="<?php _e("Creer un article",'vod_infomaniak'); ?>" style="vertical-align:bottom"/> <?php _e("Creer un article",'vod_infomaniak'); ?>
 
 
690
  </a>
691
- </li>
692
- </ul>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
693
  </div>
694
- </div>
695
 
696
- <table class="widefat" style="width: 99%">
697
- <thead>
698
- <tr>
699
- <th width="50%"><?php _e("Video",'vod_infomaniak'); ?></th>
700
- <th><?php _e("Dossier",'vod_infomaniak'); ?></th>
701
- <th><?php _e("Date d'upload",'vod_infomaniak'); ?></th>
702
- <th width="80"><?php _e("Action",'vod_infomaniak'); ?></th>
703
- </tr>
704
- </thead>
705
- <tbody>
706
- <?php
707
- if( empty($aVideos) ) {
708
- echo "<option value='0'>". __("Aucune video disponible",'vod_infomaniak') ."</option>";
709
- } else {
710
- foreach( $aVideos as $oVideo ){
711
- ?>
712
  <tr>
713
- <td>
714
- <img src="<?php echo plugins_url('vod-infomaniak/img/videofile.png'); ?>" style="vertical-align:bottom"/>
715
- <a href="javascript:; return false;" onclick="openVodPopup('<?php echo $oVideo->iVideo; ?>', '<?php echo addslashes($oVideo->sName); ?>','<?php echo $oVideo->sPath.$oVideo->sServerCode; ?>', '<?php echo strtolower($oVideo->sExtension);?>', '<?php echo strtolower($oVideo->sAccess);?>', '<?php echo $oVideo->sToken;?>', '<?php echo $oVideo->iFolder;?>'); return false;"><?php echo ucfirst(stripslashes($oVideo->sName)); ?></a>
716
- </td>
717
- <td><img src="<?php echo plugins_url('vod-infomaniak/img/ico-folder-open-16x16.png'); ?>" style="vertical-align:bottom"/> <?php echo $oVideo->sPath; ?></td>
718
- <td><?php echo $oVideo->dUpload; ?></td>
719
- <td>
720
- <a href="javascript:; return false;" onclick="openVodPopup('<?php echo $oVideo->iVideo; ?>', '<?php echo addslashes($oVideo->sName); ?>','<?php echo $oVideo->sPath.$oVideo->sServerCode."', '".strtolower($oVideo->sExtension);?>', '<?php echo strtolower($oVideo->sAccess);?>', '<?php echo $oVideo->sToken;?>', '<?php echo $oVideo->iFolder;?>'); return false;"><img src="<?php echo plugins_url('vod-infomaniak/img/ico-information.png'); ?>" alt="<?php _e("Information sur cette video",'vod_infomaniak'); ?>"/></a>
721
- <a href="https://statslive.infomaniak.com/vod/videoDetail.php?iVodCode=<?php echo $aOptions['vod_api_icodeservice'];?>&iFileCode=<?php echo $oVideo->iVideo; ?>" target="_blank"><img src="<?php echo plugins_url('vod-infomaniak/img/ico-video.png'); ?>" alt="<?php _e("Administrer cette video",'vod_infomaniak'); ?>"/></a>
722
- <a href="https://statslive.infomaniak.com/vod/videoDetail.php?iVodCode=<?php echo $aOptions['vod_api_icodeservice'];?>&iFileCode=<?php echo $oVideo->iVideo; ?>&tab=2" target="_blank"><img src="<?php echo plugins_url('vod-infomaniak/img/ico-statistics.png'); ?>" alt="<?php _e("Voir les statistiques de cette video",'vod_infomaniak'); ?>"/></a>
723
- <a href="javascript:; return false;" onclick="confirmVodDelete('<?php echo $oVideo->iVideo; ?>', '<?php echo addslashes($oVideo->sName); ?>');"><img src="<?php echo plugins_url('vod-infomaniak/img/ico-delete.png'); ?>" alt="<?php _e("Supprimer cette video",'vod_infomaniak'); ?>"/></a>
724
- </td>
725
  </tr>
 
 
726
  <?php
727
- }
728
- }
729
- ?>
730
- </tbody>
731
- <script>
732
- confirmVodDelete = function( iVideo, sTitle ){
733
- jQuery("#dialog-confirm-id").val( iVideo );
734
- jQuery("#dialog-confirm-title").text( sTitle );
735
- jQuery("#dialog-confirm-vod").dialog({
736
- resizable: false,
737
- width: 600,
738
- height:210,
739
- modal: true,
740
- buttons: {
741
- "<?php _e("Supprimer definitivement la video",'vod_infomaniak'); ?>": function() {
742
- jQuery('#adminFormVodDelete').submit();
743
- },
744
- "<?php _e("Annuler",'vod_infomaniak'); ?>": function() {
745
- jQuery( this ).dialog( "close" );
746
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
747
  }
748
- });
749
- }
750
- openVodPopup = function( iVideo, title, url, sExtension, sAccess, sToken, iFolder ){
751
- var urlComplete = "<?php echo $aOptions['vod_api_id'];?>"+url;
752
- var sParam = "";
753
- if( sToken != "" ){
754
- sParam = "?sKey="+sToken;
755
- sBalise = "vod tokenfolder='"+iFolder+"'";
756
- }else{
757
- sBalise = 'vod';
758
  }
759
- jQuery("#dialog-modal-id").val( iVideo );
760
- jQuery("#dialog-post-id").val( iVideo );
761
- jQuery("#dialog-modal-title").text( title );
762
- jQuery("#dialog-modal-name").val( title );
763
- jQuery("#dialog-modal-url").val( "http://vod.infomaniak.com/redirect/"+urlComplete+"."+sExtension );
764
- jQuery("#dialog-modal-url-href").attr( "href", "http://vod.infomaniak.com/redirect/"+urlComplete+"."+sExtension+sParam );
765
- jQuery("#dialog-modal-url-img").val( "http://vod.infomaniak.com/redirect/"+urlComplete+".jpg" );
766
- jQuery("#dialog-modal-url-img-href").attr( "href", "http://vod.infomaniak.com/redirect/"+urlComplete+".jpg" );
767
- jQuery("#dialog-modal-balise").val( "["+sBalise+"]"+url+"."+sExtension+"[/vod]" );
768
- jQuery("#dialog-modal-admin").attr( "href", "https://statslive.infomaniak.com/vod/videoDetail.php?iVodCode=<?php echo $aOptions['vod_api_icodeservice'];?>&iFileCode="+iVideo );
769
- jQuery("#dialog-modal-admin2").attr( "href", "https://statslive.infomaniak.com/vod/videoDetail.php?iVodCode=<?php echo $aOptions['vod_api_icodeservice'];?>&iFileCode="+iVideo+"&tab=2" );
770
- jQuery("#dialog-modal-video").attr( "src", "http://vod.infomaniak.com/iframe.php?url="+urlComplete+"."+sExtension+sParam+"&player=576&vod=214&preloadImage="+urlComplete+".jpg" );
771
-
772
- textAccess = "";
773
- if( sAccess != '' && sAccess != 'all' ){
774
- textAccess += "<?php _e("Video Geolocalise",'vod_infomaniak'); ?>";
775
- }
776
- if( sToken != "" ){
777
- if( textAccess != "" ) textAccess += ", ";
778
- textAccess += "<?php _e("Securise avec un token",'vod_infomaniak'); ?>";
779
- }
780
- if( textAccess != "" ){
781
- jQuery("#dialog-modal-access").text( textAccess );
782
- jQuery("#dialog-modal-access-block").show();
783
- }else{
784
- jQuery("#dialog-modal-access-block").hide();
785
  }
786
-
787
- jQuery("#dialog-modal-vod").dialog({
788
- width: 620,
789
- height: 655,
790
- resizable: false,
791
- beforeClose: function(event, ui) {
792
- jQuery( "#dialog-modal-video").attr( "src", "#");
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
793
  }
794
- });
795
- return false;
796
- }
797
- </script>
798
- </table>
799
 
800
- <div class="tablenav" style="padding-right: 20px;">
801
- <div class='tablenav-pages'>
802
- <?php echo $sPagination; ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
803
  </div>
804
- </div>
805
  <?php
806
- }
807
 
808
- static function playlistMenu($actionurl, $options, $aPlaylist){
809
- ?>
810
- <h2><?php _e("Playlists",'vod_infomaniak'); ?></h2>
811
- <p><?php printf( __("Si vous desirez ajouter ou modifier les playlist ci-dessous, veuillez vous rendre dans <a href='https://statslive.infomaniak.com/vod/playlists.php?iVodCode=%s' target='_blank'>la console d'administration</a>",'vod_infomaniak'), $options['vod_api_icodeservice']); ?></p>
812
 
813
- <h2><?php _e("Precedents Envois",'vod_infomaniak'); ?></h2>
814
  <table class='widefat' style='width: 99%'>
815
  <thead>
816
- <tr>
817
- <th width="20%"><?php _e("Nom",'vod_infomaniak'); ?></th>
818
- <th width="30%"><?php _e("Description",'vod_infomaniak'); ?></th>
819
- <th><?php _e("Nombre videos",'vod_infomaniak'); ?></th>
820
- <th><?php _e("Duree",'vod_infomaniak'); ?></th>
821
- <th><?php _e("Mode de lecture",'vod_infomaniak'); ?></th>
822
- <th><?php _e("Date",'vod_infomaniak'); ?></th>
823
- <th width="80px"><?php _e("Action",'vod_infomaniak'); ?></th>
824
- </tr>
825
  </thead>
826
  <tbody>
827
- <?php
828
- if( empty($aPlaylist) ) {
829
- echo "<h3>". __("Aucune playlist disponible",'vod_infomaniak') ."</h3>";
830
  } else {
831
 
832
- foreach( $aPlaylist as $oPlaylist ){ ?>
833
- <tr>
834
- <td><img src="<?php echo plugins_url('vod-infomaniak/img/ico-display-list.png'); ?>" style="vertical-align:bottom; padding: 0px 5px;"/> <?php echo ucfirst($oPlaylist->sPlaylistName); ?></td>
835
- <td><?php echo !empty($oPlaylist->sPlaylistDescription) ? ucfirst($oPlaylist->sPlaylistDescription) : "&nbsp;"; ?> </td>
836
- <td><?php echo $oPlaylist->iTotal; ?></td>
837
- <?php
838
- $duration = intval($oPlaylist->iTotalDuration/100);
839
- $hour = intval($duration/3600);
840
- $min = intval($duration/60)%60;
841
- $sec = intval($duration)%60;
842
-
843
- $str = "";
844
- $str .= $hour>0 ? $hour."h. " : '';
845
- $str .= $min>0 ? $min."m. " : '';
846
- $str .= $sec>0 ? $sec."s." : '';
847
- ?>
848
- <td><?php echo !empty($str) ? $str : "&nbsp;"; ?> </td>
849
- <td><?php echo $oPlaylist->sMode; ?></td>
850
- <td><?php echo $oPlaylist->dCreated; ?></td>
851
- <td>
852
- <a href="https://statslive.infomaniak.com/vod/playlists.php?iVodCode=<?php echo $options['vod_api_icodeservice'];?>&sAction=showPlaylist&iPlaylistCode=<?php echo $oPlaylist->iPlaylistCode; ?>" target="_blank"><img src="<?php echo plugins_url('vod-infomaniak/img/ico-information.png'); ?>" alt="<?php _e("Administrer cette playlist",'vod_infomaniak'); ?>"/></a>
853
- </td>
854
- </tr>
855
- <?php
856
- }
857
- }
858
- ?>
 
 
 
 
 
 
 
 
 
 
 
859
  </tbody>
860
  </table>
861
  <?php
862
- }
863
 
864
- static function implementationMenu( $actionurl, $options, $aPlayers ){
865
- ?>
866
- <h2><?php _e("Integration par defaut des videos",'vod_infomaniak'); ?></h2>
867
- <form name="adminForm" action="<?php echo $action_url; ?>" method="post">
868
- <input type="hidden" name="submitted" value="1" />
869
- <table>
870
- <tr>
871
- <td style="vertical-align: top">
872
- <label><?php _e("Selection du player par defaut",'vod_infomaniak'); ?> :</label><br/>
873
- <select id="selectPlayer" name="selectPlayer" onchange="PlayerInfo();" onkeyup="PlayerInfo();">
874
- <?php
875
- if( empty($aPlayers) ) {
876
- echo "<option value='0'>". __("Aucun player disponible",'vod_infomaniak') ."</option>";
877
- } else {
878
- foreach( $aPlayers as $player ){
879
- $selected = "";
880
- if( $options['player'] == $player->iPlayer ){
881
- $selected = 'selected="selected"';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
882
  }
883
- echo "<option value='".$player->iPlayer."' $selected>".ucfirst($player->sName)."</option>";
884
  }
885
- }
886
- ?>
887
- </select> <input type="submit" name="Submit" value="<?php _e("Choisir ce player",'vod_infomaniak'); ?>" />
888
-
889
- <p><?php _e("Informations sur ce Player",'vod_infomaniak'); ?> :</p>
890
- <?php
891
- if( empty($aPlayers) ) {
892
- echo "<h3>". __("Aucun player disponible",'vod_infomaniak') ."</h3>";
893
- } else {
894
- foreach( $aPlayers as $player ){ ?>
895
- <div id="player-info-<?php echo $player->iPlayer; ?>" class="player-info" style="padding: 5px 15px; border: 1px solid #EEE; display:none; width: 500px;">
896
-
897
- <ul>
898
- <li><b><?php _e("Nom",'vod_infomaniak'); ?> :</b> <?php echo ucfirst($player->sName); ?></li>
899
- <li><b><?php _e("Date",'vod_infomaniak'); ?> :</b> <?php echo date("d M Y H:i", strtotime($player->dEdit)); ?></li>
900
- <li><b><?php _e("Resolution",'vod_infomaniak'); ?> :</b> <?php echo $player->iWidth; ?>x<?php echo $player->iHeight; ?></li>
901
- <li><b><?php _e("Demarrage automatique",'vod_infomaniak'); ?> :</b> <?php echo $player->bAutoPlay==0? 'Non': 'Oui'; ?></li>
902
- <li><b><?php _e("Lecture en boucle",'vod_infomaniak'); ?> :</b> <?php echo $player->bLoop==0? 'Non': 'Oui'; ?></li>
903
- <li><b><?php _e("Switch de qualite",'vod_infomaniak'); ?> :</b> <?php echo $player->bSwitchQuality==0? 'Non': 'Oui'; ?></li>
904
- </ul>
905
- <div style="text-align:center; width: 100%">
906
- <a id="dialog-modal-admin" href="https://statslive.infomaniak.com/vod/players/playerConfig.php?iVodCode=<?php echo $options['vod_api_icodeservice'];?>&iPlayerCode=<?php echo $player->iPlayer; ?>" target="_blank" style="text-decoration: none; color:#444444; font-weight: bold;"><img src="<?php echo plugins_url('vod-infomaniak/img/ico-edit.png'); ?>" alt="<?php _e("Modifier ce Player",'vod_infomaniak'); ?>" style="vertical-align:bottom"/> <?php _e("Modifier ce Player",'vod_infomaniak'); ?></a>
907
- </div>
908
- </div>
909
- <?php
910
- }
911
- }
912
- ?>
913
- </td>
914
- <td style="vertical-align: top; padding-left: 25px;">
915
- <iframe id="player-demo-video" frameborder="0" width="480" height="360" src="#"></iframe>
916
- </td>
917
- </tr>
918
- </table>
919
- </form>
920
-
921
- <h2><?php _e("Creation ou modification de players",'vod_infomaniak'); ?></h2>
922
- <p><?php printf( __("Afin de modifier ou creer de nouveaux players flash, nous vous invitons a vous rendre dans votre administration vod : <a href='https://statslive.infomaniak.com/vod/player.php?iVodCode=%d' target='_blank'>Acceder a la configuration des players</a>",'vod_infomaniak'), $options['vod_api_icodeservice']); ?></p>
923
- <h2><?php _e("Plus d'options",'vod_infomaniak'); ?></h2>
924
- <p>
925
- <?php _e("Il est possible de personnaliser votre player video afin qu'ils s'integre parfaitement a votre site. Voici quelques fonctionnalites avancees qu'il propose :",'vod_infomaniak'); ?>
926
  <ul style="margin-left: 15px; list-style: disc inside;">
927
  <?php _e("<li>Fonction de seek permettant de se deplacer dans une video meme longue quasi instantanement.</li>
928
  <li>Bouton permettant de changer a la vole entre les differentes qualites d'une video.</li>
@@ -930,58 +1273,61 @@ class EasyVod_Display
930
  <li>Player exportable afin de permettre aux visiteurs de recuperer le code d'integration.</li>
931
  <li>Facilite de personnalisation du player via de rapides modifications (couleurs de la barre, taille de la barre, logo) ou l'utilisation d'une barre entierement personnaliser.</li>
932
  <li>Compatibilite avec adswizz afin d'ajouter facilement des publicites avant ou apres les videos.</li>
933
- <li>Et encore d'autres options a decouvrir ...</li>",'vod_infomaniak'); ?>
934
  </ul>
935
- </p>
936
- <script>
937
- PlayerInfo = function(){
938
- jQuery('.player-info').hide();
939
- value = jQuery('#selectPlayer').val();
940
- console.log(value);
941
- jQuery('#player-info-'+value).show();
942
- 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 $options['vod_api_icodeservice'];?>&preloadImage=infomaniak_11_vod/demo-2362/mp4-226/big_buck_bunny_720p_h264.jpg" );
943
- }
944
- PlayerInfo();
945
- </script>
946
  <?php
947
- }
 
 
 
 
 
948
 
949
- static function buildPagination( $iCurrentPage, $iLimit, $iTotal ){
950
- $iTotalPage = $iTotal;
951
- $iPageTotal = floor(($iTotal-1) / $iLimit) + 1;
952
- $page_list = "";
953
-
954
- if (($iCurrentPage != 1) && ($iCurrentPage)) {
955
- $page_list .= " <a href=\" ".$_SERVER['PHP_SELF']."?page=vod-infomaniak/vod.class.php&p=1\" title=\"First Page\">«</a> ";
956
- }
957
-
958
- if (($iCurrentPage-1) > 0) {
959
- $page_list .= "<a href=\" ".$_SERVER['PHP_SELF']."?page=vod-infomaniak/vod.class.php&p=".($iCurrentPage-1)."\" title=\"Previous Page\"><</a> ";
960
- }
961
-
962
- for ($i=1; $i<=$iPageTotal; $i++) {
963
- if( $i <= 2 || $i > $iPageTotal-2 || ($i>=$iCurrentPage -2 && $i<=$iCurrentPage+2 ) ){
964
- if ($i == $iCurrentPage) {
965
- $page_list .= "<b>".$i."</b>";
966
  } else {
967
- $page_list .= "<a href=\" ".$_SERVER['PHP_SELF']."?page=vod-infomaniak/vod.class.php&p=".$i."\" title=\"Page ".$i."\">".$i."</a>";
968
- }
969
- $page_list .= " ";
970
- }else if ( $i == 3 || $i == $iPageTotal-2 ){
971
- $page_list .= "... ";
 
 
 
972
  }
973
- }
974
 
975
- if (($iCurrentPage+1) <= $iPageTotal) {
976
- $page_list .= "<a href=\"".$_SERVER['PHP_SELF']."?page=vod-infomaniak/vod.class.php&p=".($iCurrentPage+1)."\" title=\"Next Page\">></a> ";
977
- }
 
978
 
979
- if (($iCurrentPage != $iPageTotal) && ($iPageTotal != 0)) {
980
- $page_list .= "<a href=\"".$_SERVER['PHP_SELF']."?page=vod-infomaniak/vod.class.php&p=".$iPageTotal."\" title=\"Last Page\">»</a> ";
981
  }
982
- $page_list .= "</td>\n";
983
-
984
- return $page_list;
985
  }
986
- }
987
  ?>
1
  <?php
2
+ /**
3
+ * Classe d'affichage regroupant les differents templates html/js
4
+ * En cas de problemes ou de questions, veuillez contacter support-vod-wordpress@infomaniak.ch
5
+ *
6
+ * @author Destrem Kevin + Davide Rubini
7
+ * @link http://statslive.infomaniak.ch/vod/api/
8
+ * @version 1.1.8
9
+ * @copyright infomaniak.ch
10
+ *
11
+ */
12
+
13
+ class EasyVod_Display {
14
+
15
+ static function buildForm($options, $aPlayers, $aVideos, $aPlaylists, $aFolders, $bCanUpload) {
16
+ ?>
17
+ <div class="hidden">
18
+ <div id="dialog-vod-form">
19
+ <div id="dialog-tabs" class="ui-tabs">
20
+ <ul class="ui-tabs-nav">
21
+ <li><a href="#dialog-tab2" onclick="Vod_selectTab(2);"><?php _e('Videos', 'vod_infomaniak'); ?></a></li>
22
+ <li><a href="#dialog-tab4" onclick="Vod_selectTab(4);"><?php _e('Playlists', 'vod_infomaniak'); ?></a></li>
23
+ <li><a href="#dialog-tab1" onclick="Vod_selectTab(1);"><?php _e("Avec l'url", 'vod_infomaniak'); ?></a></li>
24
+ <?php if ($bCanUpload) { ?>
25
+ <li><a href="#dialog-tab3" onclick="Vod_selectTab(3);"><?php _e("Envoi d'une video", 'vod_infomaniak'); ?></a></li>
26
+ <?php } ?>
 
 
 
 
 
 
 
 
27
  </ul>
28
+ <input type="hidden" id="dialog-token" value=""/>
29
+
30
+ <div id="dialog-tab1" class="ui-tabs-panel">
31
+ <div style="padding-left: 20px; padding-bottom: 10px;"><?php _e("Veuillez saisir l'URL d'une video", 'vod_infomaniak'); ?></div>
32
+ <div style="padding-left: 20px;">
33
+ <strong><?php _e('Exemple', 'vod_infomaniak'); ?>:</strong>
34
+ <ul id="dialog-exemple">
35
+ <li><?php _e('Url complete', 'vod_infomaniak'); ?>: <code>http://vod.infomaniak.com/redirect/infomaniak_vod1/folder-234/mp4-148/video.mp4</code>
36
+ <li><?php _e('Url partiel', 'vod_infomaniak'); ?>: <code>folder-234/mp4-148/video.mp4</code></li>
37
+ <li><?php _e('Identifiant de playlist', 'vod_infomaniak'); ?>: <code>25</code></li>
38
+ </ul>
39
+ </div>
40
+ <p style="text-align:center"><input type="text" id="dialog-url-input"/></p>
41
+ </div>
42
+
43
+ <div id="dialog-tab2" class="ui-tabs-panel" style="height: 450px; overflow-y: scroll;">
44
+ <div style="position: absolute;background-color: white;width: 95%;height: 50px;margin-top: -13px;padding-top: 15px;text-align:center;">
45
+ <input id="vod_infomaniak_search_videos" style="font-size:12px;padding: 3px;border-radius: 2px;height: 35px;text-indent: 5px;width: 100%;" type="search" placeholder="<?php _e("Rechercher ...", 'vod_infomaniak'); ?>"/>
46
+ </div>
47
+
48
+ <table class="widefat" style="margin-top:60px;width:100%">
49
+ <thead>
50
+ <tr>
51
+ <th width="110"><?php _e("Video", 'vod_infomaniak'); ?></th>
52
+ <th><?php _e("Nom", 'vod_infomaniak'); ?></th>
53
+ <th width="150"><?php _e("Date d'upload", 'vod_infomaniak'); ?></th>
54
+ </tr>
55
+ </thead>
56
+ <tbody id="vod_infomaniak_videos_container">
57
+ <?php
58
+ if (empty($aVideos)) {
59
+ echo "<option value='0'>" . __("Aucune video disponible", 'vod_infomaniak') . "</option>";
60
+ } else {
61
+ foreach ($aVideos as $oVideo) {
62
+ ?>
63
+ <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; ?>');">
64
+ <td>
65
+ <img width="100" src="<?php echo "http://vod.infomaniak.com/redirect/" . $options['vod_api_id'] . $oVideo->sPath . $oVideo->sServerCode . ".mini.jpg"; ?>"/>
66
+ </td>
67
+ <td>
68
+ <?php echo ucfirst(stripslashes($oVideo->sName)); ?><br/><br/>
69
+ <img src="<?php echo plugins_url('vod-infomaniak/img/ico-folder-open-16x16.png'); ?>" style="vertical-align:bottom"/> <?php echo $oVideo->sPath; ?>
70
+ </td>
71
+ <td><?php echo $oVideo->dUpload; ?></td>
72
+ </tr>
73
+ <?php
74
+ }
75
+ }
76
+ ?>
77
+ </tbody>
78
+ </table>
79
+ </div>
80
+
81
+ <div id="dialog-tab4" class="ui-tabs-panel" style="height: 450px; overflow-y: scroll;">
82
+ <div style="position: absolute;background-color: white;width: 95%;height: 50px;margin-top: -13px;padding-top: 15px;text-align:center;">
83
+ <input id="vod_infomaniak_search_playlists" style="font-size:12px;padding: 3px;border-radius: 2px;height: 35px;text-indent: 5px;width: 100%;" type="search" placeholder="<?php _e("Rechercher ...", 'vod_infomaniak'); ?>"/>
84
+ </div>
85
+
86
+ <table class="widefat" style="margin-top:60px;width:100%">
87
+ <thead>
88
+ <tr>
89
+ <th><?php _e("Playlist", 'vod_infomaniak'); ?></th>
90
+ <th><?php _e("Description", 'vod_infomaniak'); ?></th>
91
+ <th width="80"><?php _e("Nbr Videos", 'vod_infomaniak'); ?></th>
92
+ <th width="100"><?php _e("Duree", 'vod_infomaniak'); ?></th>
93
+ </tr>
94
+ </thead>
95
+ <tbody id="vod_infomaniak_playlists_container">
96
+ <?php
97
+ if (empty($aPlaylists)) {
98
+ echo "<option value='0'>" . __("Aucune playlist de disponible", 'vod_infomaniak') . "</option>";
99
+ } else {
100
+ foreach ($aPlaylists as $oPlaylist) {
101
+ $sDuration = "";
102
+ if(!empty($oPlaylist->iTotalDuration)){
103
+ $iDuration = intval($oPlaylist->iTotalDuration/100);
104
+ $iHours = intval($iDuration/3600);
105
+ $iMinutes = intval($iDuration/60) % 60;
106
+ $iSecondes = intval($iDuration) % 60;
107
+ $sDuration .= $iHours > 0 ? $iHours."h. " : '';
108
+ $sDuration .= $iMinutes > 0 ? $iMinutes."m. " : '';
109
+ $sDuration .= $iSecondes > 0 ? $iSecondes."s. " : '';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
110
  }
111
+ ?>
112
+ <tr class="vod_element_select" onclick="Vod_selectVideo(this, '<?php echo $oPlaylist->iPlaylistCode; ?>','','');">
113
+ <td><?=ucfirst(stripslashes($oPlaylist->sPlaylistName));?></td>
114
+ <td><?=stripslashes($oPlaylist->sPlaylistDescription);?></td>
115
+ <td align="center"><?=$oPlaylist->iTotal;?></td>
116
+ <td align="right"><?=$sDuration;?></td>
117
+ </tr>
118
+ <?php
119
  }
 
 
120
  }
121
+ ?>
122
+ </tbody>
123
+ </table>
124
+ </div>
125
+
126
+
127
+ <?php if ($bCanUpload) { ?>
128
+ <div id="dialog-tab3" class="ui-tabs-panel">
129
+ <input type="hidden" id="url_ajax_import_video" value="<?php echo get_bloginfo('wpurl'); ?>/wp-admin/admin-ajax.php?action=vodimportvideo"/>
130
+
131
+ <h4 style="margin:0"><?php _e('1. Selection du dossier', 'vod_infomaniak'); ?>:</h4>
132
+ <select id="uploadSelectFolder" style="width:550px;">
133
+ <option value="-1" selected="selected">-- <?php _e("Dossier d'envoi", 'vod_infomaniak'); ?> -- </option>
134
+ <?php
135
+ if (empty($aFolders)) {
136
+ echo "<option value='0'>" . __("Aucun dossier disponible", 'vod_infomaniak') . "</option>";
137
+ } else {
138
+ foreach ($aFolders as $oFolder) {
139
+ echo "<option value='" . $oFolder->iFolder . "'>" . __('Dossier', 'vod_infomaniak') . ": /" . $oFolder->sPath . " , " . __('Nom', 'vod_infomaniak') . ": " . $oFolder->sName . "</option>";
140
+ }
141
+ }
142
+ ?>
143
+ </select>
144
+ <input class="button" type="button" value="Valider" onclick="Vod_importVideo();return false;"/>
145
+
146
+ <div id="vodUploadVideo" style="display:none">
147
+ <br/>
148
+ <h4 style="margin:0"><?php _e("2. Envoi d'un fichier", 'vod_infomaniak'); ?>:</h4>
149
+ <div id="up"></div>
150
+ </div>
151
+
152
+ <script>
153
+ var flashUpload = function (sKey) {
154
+ var objId = "up";
155
+ var paramsUpld = {
156
+ menu: "false",
157
+ AllowScriptAccess: "always",
158
+ wmode: "transparent",
159
+ scale: "noscale",
160
+ salign: "lt",
161
+ bgcolor: "#ffffff",
162
+ quality: "high",
163
+ allowfullscreen: "false"
164
+ };
165
+ var attributesUpld = {
166
+ id: "up",
167
+ name: "upName"
168
+ };
169
+ var flashvarsUpld = {
170
+ key: sKey,
171
+ nbMaxToUpload: 1,
172
+ nbFichier: 1
173
+ };
174
+
175
+ swfobject.embedSWF("http://adminvod.infomaniak.ch/apiUpload/uploadStda.swf", objId, "700", "80", "9.0.0", "http://infomaniak.ch/shared/flashs/expressInstall.swf", flashvarsUpld, paramsUpld, attributesUpld);
176
+ };
177
+
178
+ var updateUpladerSize = function (objId, iHeight) {
179
+ document.getElementById(objId).height = iHeight + "px";
180
+ };
181
+
182
+ var multiUploadCallback = function (json) {
183
+ oJson = eval('(' + json + ')');
184
+ switch (oJson.sStatus) {
185
+ case "init":
186
+ document.getElementById('up').callbackInitialisation();
187
+ break;
188
+ case "complete":
189
+ document.getElementById('up').callbackProcessing(oJson.iCurrent, true);
190
+ jQuery.ajax({
191
+ url: jQuery("#url_ajax_import_video").val(),
192
+ cache: false,
193
+ processData: false,
194
+ data: "upload=finish&post=<?php global $post; echo $post->ID; ?>&sToken=" + sVodUploadParameters,
195
+ success: function (html) {
196
+ filename = oJson.sOriginalFileName;
197
+ filename = filename.replace(/[^a-zA-Z 0-9,.\-_]+/g, '');
198
+ var text = "[upload-vod]" + sVodUploadParameters + ":" + filename + "[/upload-vod]";
199
+ if (typeof tinyMCE != 'undefined' && ( ed = tinyMCE.activeEditor ) && !ed.isHidden()) {
200
+ ed.focus();
201
+ if (tinymce.isIE) {
202
+ ed.selection.moveToBookmark(tinymce.EditorManager.activeEditor.windowManager.bookmark);
203
+ }
204
+ ed.execCommand('mceInsertContent', false, text);
205
+ } else {
206
+ edInsertContent(edCanvas, text);
207
+ }
208
+ jQuery("#dialog-vod-form").dialog("close");
209
+ jQuery("#vodUploadVideo").hide();
210
+ }
211
+ });
212
+ break;
213
+ case "error":
214
+ alert('upload error: ' + oJson.sOriginalFileName);
215
+ break;
216
+ }
217
+ };
218
+ </script>
219
+ </div>
220
+ <?php } ?>
221
  </div>
222
+
223
+ <div id="dialog-config">
224
+ <div id="dialog-slide-header" class="ui-dialog-titlebar" onclick="Vod_dialogToggleSlider();"><?php _e('Options d\'integration', 'vod_infomaniak'); ?></div>
225
+ <div id="dialog-slide" style="display:none">
226
+ <p class="dialog-form-line">
227
+ <label for="dialog-width-input"><?php _e('Dimensions', 'vod_infomaniak'); ?></label>
228
+ <input type="text" id="dialog-width-input" size="5"/> &#215; <input type="text" id="dialog-height-input" size="5"/> pixels
229
+ </p>
230
+
231
+ <p class="dialog-form-line">
232
+ <input type="hidden" id="dialog-player-default" value="<?php echo $options['player']; ?>"/>
233
+ <label for="dialog-player"><?php _e('Player choisi', 'vod_infomaniak'); ?></label>
234
+ <select id="dialog-player">
235
+ <?php
236
+ if (empty($aPlayers)) {
237
+ echo "<option value='0'>" . __("Aucun player disponible", 'vod_infomaniak') . "</option>";
238
+ } else {
239
+ foreach ($aPlayers as $player) {
240
+ $selected = "";
241
+ if ($options['player'] == $player->iPlayer) {
242
+ $selected = 'selected="selected"';
243
+ }
244
+ echo "<option value='" . $player->iPlayer . "' $selected>" . ucfirst($player->sName) . "</option>";
245
+ }
 
246
  }
247
+ ?>
248
+ </select>
249
+ </p>
250
+
251
+ <p class="dialog-form-line">
252
+ <label><?php _e('Etirer la video (stretch)', 'vod_infomaniak'); ?></label>
253
+ <input type="checkbox" id="dialog-stretch" checked="checked" value="1"/>
254
+ </p>
255
+
256
+ <p class="dialog-form-line">
257
+ <label><?php _e('Demarrage automatique', 'vod_infomaniak'); ?></label>
258
+ <input type="checkbox" id="dialog-autostart" value="1"/>
259
+ <p>
260
+
261
+ <p class="dialog-form-line">
262
+ <label><?php _e('Lecture en boucle', 'vod_infomaniak'); ?></label>
263
+ <input type="checkbox" id="dialog-loop" value="1"/>
264
+ </p>
265
+
266
+ <?php
267
+ if (!empty($aPlayers)) {
268
+ foreach ($aPlayers as $player) {
269
+ echo "<input type='hidden' id='player_".$player->iPlayer."_width' value='".$player->iWidth."'/>";
270
+ echo "<input type='hidden' id='player_".$player->iPlayer."_height' value='".$player->iHeight."'/>";
271
+ echo "<input type='hidden' id='player_".$player->iPlayer."_stretch' value='".$player->width."'/>";
272
+ echo "<input type='hidden' id='player_".$player->iPlayer."_autoload' value='".$player->bAutoPlay."'/>";
273
+ echo "<input type='hidden' id='player_".$player->iPlayer."_loop' value='".$player->bLoop."'/>";
274
  }
275
  }
276
  ?>
277
+
278
+ <script>
279
+ (function($) {
280
+ Vod_setPlayerOptions = function (){
281
+ var iPlayerCode = parseInt($('#dialog-player').val(),10);
282
+ if(iPlayerCode > 0 && $('#player_'+iPlayerCode+'_height')){
283
+ $('#dialog-width-input').val($('#player_'+iPlayerCode+'_width').val());
284
+ $('#dialog-height-input').val($('#player_'+iPlayerCode+'_height').val());
285
+
286
+ if(parseInt($('#player_'+iPlayerCode+'_stretch').val(),10) == 1){
287
+ $('#dialog-stretch').attr('checked', true);
288
+ }else{
289
+ $('#dialog-stretch').attr('checked', false);
290
+ }
291
+
292
+ if(parseInt($('#player_'+iPlayerCode+'_autoload').val(),10) == 1){
293
+ $('#dialog-autostart').attr('checked', true);
294
+ }else{
295
+ $('#dialog-autostart').attr('checked', false);
296
+ }
297
+
298
+ if(parseInt($('#player_'+iPlayerCode+'_loop').val(),10) == 1){
299
+ $('#dialog-loop').attr('checked', true);
300
+ }else{
301
+ $('#dialog-loop').attr('checked', false);
302
+ }
303
+ }
304
+ };
305
+
306
+ $('#dialog-player').unbind();
307
+ $('#dialog-player').change(function(){
308
+ Vod_setPlayerOptions();
309
+ });
310
+
311
+ $('#vod_infomaniak_search_videos').unbind();
312
+ $('#vod_infomaniak_search_videos').keyup(function(){
313
+ $.ajax("<?php echo get_bloginfo('wpurl'); ?>/wp-admin/admin-ajax.php?action=vodsearchvideo",
314
+ {data:{
315
+ q:$('#vod_infomaniak_search_videos').val()
316
+ }
317
+ }).done(function(html){
318
+ $('#vod_infomaniak_videos_container').html(html);
319
+ });
320
+ });
321
+
322
+ $('#vod_infomaniak_search_playlists').unbind();
323
+ $('#vod_infomaniak_search_playlists').keyup(function(){
324
+ $.ajax("<?php echo get_bloginfo('wpurl'); ?>/wp-admin/admin-ajax.php?action=vodsearchplaylist",
325
+ {data:{
326
+ q:$('#vod_infomaniak_search_playlists').val()
327
+ }
328
+ }).done(function(html){
329
+ $('#vod_infomaniak_playlists_container').html(html);
330
+ });
331
+ });
332
+ })(jQuery);
333
+ </script>
334
+ </div>
335
+ </div>
336
  </div>
337
  </div>
338
+ <?php
339
+ }
 
 
340
 
341
+ static function adminMenu($action_url, $options, $sUrl, $aFolders) {
342
+ ?>
343
+ <h2><?php _e('Administration du plugin VOD', 'vod_infomaniak'); ?></h2>
344
+ <form name="adminForm" action="<?php echo $action_url; ?>" method="post">
345
+ <input type="hidden" name="submitted" value="1"/>
346
+
347
+ <p>
348
+ <?php _e("Pour fonctionner, le plugin a besoin de s'interfacer avec votre compte VOD infomaniak.<br/>
349
  Pour des raisons de securites, il est fortement conseille de creer un nouvel utilisateur dedie dans votre admin infomaniak avec uniquement des droits restreints sur l'API.<br/>
350
+ Pour plus d'information, veuillez vous rendre dans la partie \"Configuration -> Api & Callback\" de votre administration VOD.", 'vod_infomaniak');?>
351
+
352
+ </p>
353
+
354
+ <p>
355
+ <label><?php _e('Login', 'vod_infomaniak'); ?>:</label>
356
+ <input type="text" id="vod_api_login" name="vod_api_login"
357
+ value="<?php echo !empty($options['vod_api_login']) ? $options['vod_api_login']: ""; ?>"/>
358
+ </p>
359
+
360
+ <p>
361
+ <label><?php _e('Password', 'vod_infomaniak'); ?>:</label>
362
+ <input type="password" id="vod_api_password" name="vod_api_password"
363
+ value="<?php echo !empty($options['vod_api_password']) ? "XXXXXX": ""; ?>"/>
364
+ </p>
 
 
 
 
 
 
 
 
 
 
 
 
365
 
366
+ <p>
367
+ <label><?php _e("Identifiant de l'espace VOD", 'vod_infomaniak'); ?>:</label>
368
+ <input type="text" id="vod_api_id" name="vod_api_id"
369
+ value="<?php echo !empty($options['vod_api_id']) ? $options['vod_api_id']: ""; ?>"/>
370
+ </p>
371
+
372
+ <p>
373
+ <label><?php _e('Connection', 'vod_infomaniak'); ?>:</label>
374
+ <?php
375
+ if ($options['vod_api_connected'] == "on") {
376
+ echo "<span style='color: green;'>" . __('Connecter', 'vod_infomaniak');
377
+ "</span>";
378
+ } else {
379
+ echo "<span style='color: red;'>" . __('Impossible de se connecter', 'vod_infomaniak');
380
+ "</span>";
381
+ }
382
+ ?>
383
+ </p>
384
+
385
+ <div class="submit"><input class="button" type="submit" name="Submit"
386
+ value="<?php _e('Valider', 'vod_infomaniak'); ?>"/></div>
387
+ </form>
388
+
389
+ <?php
390
+ if ($options['vod_api_connected'] == "on") {
391
  ?>
392
+ <h2><?php _e('Synchronisation des donnees', 'vod_infomaniak'); ?></h2>
393
+ <p><?php _e("Pour fonctionner correctement, cette extension a besoin de se synchroniser regulierement avec votre compte VOD.<br/>Cela vous permet de garder une liste des players, dossiers et playlist a jour sur votre blog.<br/>Cette operation s'effectue automatiquement assez regulierement mais il est egalement possible de forcer une verification ci-dessous.", 'vod_infomaniak'); ?></p>
394
  <p>
395
+ <label><?php _e('Videos recuperes', 'vod_infomaniak'); ?>:</label>
396
  <span style="font-weight: bold;"><?php echo intval($options['vod_count_video']); ?></span>
397
  </p>
398
  <p>
399
+ <label><?php _e('Dossiers recuperes', 'vod_infomaniak'); ?>:</label>
400
  <span style="font-weight: bold;"><?php echo intval($options['vod_count_folder']); ?></span>
401
  </p>
402
  <p>
403
+ <label><?php _e('Players recuperes', 'vod_infomaniak'); ?>:</label>
404
  <span style="font-weight: bold;"><?php echo intval($options['vod_count_player']); ?></span>
405
  </p>
406
  <p>
407
+ <label><?php _e('Playlist recuperes', 'vod_infomaniak'); ?>:</label>
408
  <span style="font-weight: bold;"><?php echo intval($options['vod_count_playlist']); ?></span>
409
  </p>
410
 
411
 
412
  <div class="submit">
413
+ <form id="updateSynchro" name="updateSynchro" action="<?php echo $action_url; ?>" method="post"
414
+ style="display:inline;">
415
+ <input type="hidden" name="updateSynchro" value="1"/>
416
+ <input class="button" type="submit" name="Submit"
417
+ value="<?php _e('Synchronisation rapide', 'vod_infomaniak'); ?>"/>
418
  </form>
419
+ <form id="updateSynchroVideo" name="updateSynchroVideo" action="<?php echo $action_url; ?>"
420
+ method="post" style="display:inline;">
421
+ <input type="hidden" name="updateSynchroVideo" value="1"/>
422
+ <input class="button" type="submit" name="Submit"
423
+ value="<?php _e('Synchroniser Videos', 'vod_infomaniak'); ?>"/>
424
  </form>
425
  </div>
426
 
427
+ <h2><?php _e("Filtrer l'acces a l'espace VOD", 'vod_infomaniak'); ?></h2>
428
+ <p><?php _e("Par defaut, ce plugin permet d'acceder a l'integralite des videos/dossiers presents sur votre espace VOD.<br/>
429
+ Il peut etre utile dans certains cas de limiter l'acces aux utilisateurs de ce site qu'a une partie des dossiers.<br/>
430
+ L'option ci-dessous permet de restreindre l'acces de ce site a un dossier ainsi que tous ses dossiers fils.", 'vod_infomaniak');?>
431
+ <br/>
432
+ <form id="updateFilterFolder" name="updateFilterFolder" action="<?php echo $action_url; ?>"
433
+ method="post" style="display:inline;">
434
+ <input type="hidden" name="updateFilterFolder" value="1"/>
435
+ <select id="sFolderPath" name="sFolderPath" style="width:550px;">
436
+ <option value="-1" selected="selected">-- <?php _e("Dossier Racine", 'vod_infomaniak'); ?>--
437
+ </option>
438
+ <?php
439
+ if (empty($aFolders)) {
440
+ echo "<option value='0'>" . __("Aucun dossier disponible", 'vod_infomaniak') . "</option>";
441
+ } else {
442
+ foreach ($aFolders as $oFolder) {
443
+ if (isset($options['vod_filter_folder']) && !empty($options['vod_filter_folder']) && $options['vod_filter_folder'] == $oFolder->sPath) {
444
+ echo "<option value='" . $oFolder->sPath . "' selected='selected'>" . __('Dossier', 'vod_infomaniak') . ": /" . $oFolder->sPath . " , " . __('Nom', 'vod_infomaniak') . ": " . $oFolder->sName . "</option>";
445
+ } else {
446
+ echo "<option value='" . $oFolder->sPath . "'>" . __('Dossier', 'vod_infomaniak') . ": /" . $oFolder->sPath . " , " . __('Nom', 'vod_infomaniak') . ": " . $oFolder->sName . "</option>";
447
+ }
448
+ }
449
+ }
450
+ ?>
451
+ </select>
452
+ <input class="button" type="submit" name="Submit" value="<?php _e('Valider', 'vod_infomaniak'); ?>"/>
453
+ </form>
454
+ </p><br/>
455
+
456
+ <h2><?php _e("Gestion des droits par groupe d'utilisateur", 'vod_infomaniak'); ?></h2>
457
+ <p>
458
+ <?php _e("Par defaut, toutes les options du plugin sont disponibles pour les utilisateurs a partir du rang de contributeur.<br/>
459
+ Ci-dessous, il est cependant possible de parametrer les options que vous souhaitez proposer a vos utilisateurs.", 'vod_infomaniak');?>
460
+ </p>
461
+
462
+ <form id="updateRightPlugins" name="updateRightPlugins" action="<?php echo $action_url; ?>"
463
+ method="post" style="display:inline;">
464
+ <input type="hidden" name="updateRightPlugins" value="1"/>
465
+
466
+ <label for="integration_role"
467
+ style="width: 180px; display:block; float:left; padding-top: 2px;"><?php _e("Integration", 'vod_infomaniak'); ?></label>
468
+ <select id="integration_role" name="integration_role">
469
+ <option value="contributor" <?php if ($options['vod_right_integration'] == 1) {
470
+ echo "selected='selected'";
471
+ } ?>><?php _e("Contributeur", 'vod_infomaniak'); ?></option>
472
+ <option value="author" <?php if ($options['vod_right_integration'] == 2) {
473
+ echo "selected='selected'";
474
+ } ?>><?php _e("Auteur", 'vod_infomaniak'); ?></option>
475
+ <option value="editor" <?php if ($options['vod_right_integration'] == 3) {
476
+ echo "selected='selected'";
477
+ } ?>><?php _e("Editeur", 'vod_infomaniak'); ?></option>
478
+ <option value="administrator" <?php if ($options['vod_right_integration'] == 4) {
479
+ echo "selected='selected'";
480
+ } ?>><?php _e("Administrateur", 'vod_infomaniak'); ?></option>
481
+ </select><br/>
482
+ <label for="upload_role"
483
+ style="width: 180px; display:block; float:left; padding-top: 2px;"><?php _e("Importation de video", 'vod_infomaniak'); ?></label>
484
+ <select id="upload_role" name="upload_role">
485
+ <option value="contributor" <?php if ($options['vod_right_upload'] == 1) {
486
+ echo "selected='selected'";
487
+ } ?>><?php _e("Contributeur", 'vod_infomaniak'); ?></option>
488
+ <option value="author" <?php if ($options['vod_right_upload'] == 2) {
489
+ echo "selected='selected'";
490
+ } ?>><?php _e("Auteur", 'vod_infomaniak'); ?></option>
491
+ <option value="editor" <?php if ($options['vod_right_upload'] == 3) {
492
+ echo "selected='selected'";
493
+ } ?>><?php _e("Editeur", 'vod_infomaniak'); ?></option>
494
+ <option value="administrator" <?php if ($options['vod_right_upload'] == 4) {
495
+ echo "selected='selected'";
496
+ } ?>><?php _e("Administrateur", 'vod_infomaniak'); ?></option>
497
+ </select><br/>
498
+ <label for="player_role"
499
+ style="width: 180px; display:block; float:left; padding-top: 2px;"><?php _e("Player video", 'vod_infomaniak'); ?></label>
500
+ <select id="player_role" name="player_role">
501
+ <option value="contributor" <?php if ($options['vod_right_player'] == 1) {
502
+ echo "selected='selected'";
503
+ } ?>><?php _e("Contributeur", 'vod_infomaniak'); ?></option>
504
+ <option value="author" <?php if ($options['vod_right_player'] == 2) {
505
+ echo "selected='selected'";
506
+ } ?>><?php _e("Auteur", 'vod_infomaniak'); ?></option>
507
+ <option value="editor" <?php if ($options['vod_right_player'] == 3) {
508
+ echo "selected='selected'";
509
+ } ?>><?php _e("Editeur", 'vod_infomaniak'); ?></option>
510
+ <option value="administrator" <?php if ($options['vod_right_player'] == 4) {
511
+ echo "selected='selected'";
512
+ } ?>><?php _e("Administrateur", 'vod_infomaniak'); ?></option>
513
+ </select><br/>
514
+ <label for="playlist_role"
515
+ style="width: 180px; display:block; float:left; padding-top: 2px;"><?php _e("Playlist", 'vod_infomaniak'); ?></label>
516
+ <select id="playlist_role" name="playlist_role">
517
+ <option value="contributor" <?php if ($options['vod_right_playlist'] == 1) {
518
+ echo "selected='selected'";
519
+ } ?>><?php _e("Contributeur", 'vod_infomaniak'); ?></option>
520
+ <option value="author" <?php if ($options['vod_right_playlist'] == 2) {
521
+ echo "selected='selected'";
522
+ } ?>><?php _e("Auteur", 'vod_infomaniak'); ?></option>
523
+ <option value="editor" <?php if ($options['vod_right_playlist'] == 3) {
524
+ echo "selected='selected'";
525
+ } ?>><?php _e("Editeur", 'vod_infomaniak'); ?></option>
526
+ <option value="administrator" <?php if ($options['vod_right_playlist'] == 4) {
527
+ echo "selected='selected'";
528
+ } ?>><?php _e("Administrateur", 'vod_infomaniak'); ?></option>
529
+ </select><br/>
530
+
531
+ <div class="submit">
532
+ <input class="button" type="submit" name="Submit" value="<?php _e('Valider', 'vod_infomaniak'); ?>"/>
533
+ </div>
534
+ </form>
535
+
536
+
537
+ <h2><?php _e('Configuration du callback', 'vod_infomaniak'); ?></h2>
538
+ <p><?php printf(__("Cette option vous permet de mettre a jour automatiquement votre blog a chaque ajout de video a votre espace VOD.<br/>Veuillez aller dans \"<a href='https://statslive.infomaniak.com/vod/configuration.php/g%ds7i%d' target='_blank'>Configuration -> Api & Callback</a>\" et mettre l'adresse suivante dans le champ \"Adresse de Callback\"", 'vod_infomaniak'), $options['vod_api_group'], $options['vod_api_icodeservice']); ?>
539
+
540
  </p>
541
  <p>
542
+ <label style="font-weight: bold;"><?php _e('Adresse de callback', 'vod_infomaniak'); ?>:</label>
543
+ <span><?php echo $sUrl . "/?vod_page=callback&key=" . $options['vod_api_callbackKey']; ?></span>
544
  </p>
545
+ <?php
546
  }
547
+ }
548
 
549
+ static function tabLastUpload($aLastImport) {
550
+ $sTab = "";
551
+ if (!empty($aLastImport)) {
552
+ $sTab .= "<span id='tabImportRefresh' style='float:right; padding-right: 20px;'></span>";
553
+ $sTab .= "<h2>" . __('Precedents Envois', 'vod_infomaniak') . "</h2>";
554
+ $sTab .= "<table class='widefat' style='width: 99%'><thead><tr>";
555
+ $sTab .= "<th>" . __('Fichier', 'vod_infomaniak') . "</th><th>" . __('Date', 'vod_infomaniak') . "</th><th>" . __('Statut', 'vod_infomaniak') . "</th><th>" . __('Description', 'vod_infomaniak') . "</th>";
556
+ $sTab .= "</tr></thead><tbody>";
557
+ foreach ($aLastImport as $oImport) {
558
+ $sTab .= "<tr>";
559
+ $sTab .= " <td><img src='" . plugins_url('vod-infomaniak/img/videofile.png') . "' style='vertical-align:bottom'/>" . $oImport['sFileName'] . "</td>";
560
+ $sTab .= " <td>" . $oImport['dDateCreation'] . "</td>";
561
+ $sTab .= " <td>";
562
+ if ($oImport['sProcessState'] == "OK") {
563
+ $sTab .= " <img src='" . plugins_url('vod-infomaniak/img/ico-tick.png') . "' style='vertical-align:bottom'/> " . __('OK', 'vod_infomaniak');
564
+ } else {
565
+ if ($oImport['sProcessState'] == "WARNING") {
566
+ $sTab .= "<img src='" . plugins_url('vod-infomaniak/img/videofile.png') . "' style='vertical-align:bottom'/> " . __('Ok (des alertes sont apparues)', 'vod_infomaniak');
567
+ } else {
568
+ if ($oImport['sProcessState'] == "DOWNLOAD") {
569
+ $sTab .= "<img src='" . plugins_url('vod-infomaniak/img/ico-download.png') . "' style='vertical-align:bottom'/> " . __('Telechargement en cours', 'vod_infomaniak');
570
+ } else {
571
+ if ($oImport['sProcessState'] == 'WAITING' || $oImport['sProcessState'] == 'QUEUE' || $oImport['sProcessState'] == 'PROCESSING') {
572
+ $sTab .= "<img src='" . plugins_url('vod-infomaniak/img/ajax-loader.gif') . "' style='vertical-align:bottom'/> " . __('En cours de conversion', 'vod_infomaniak');
573
+ } else {
574
+ $sTab .= "<img src='" . plugins_url('vod-infomaniak/img/ico-exclamation-yellow.png') . "' style='vertical-align:bottom'/> " . __('Erreurs', 'vod_infomaniak');
575
+ }
576
+ }
577
+ }
578
+ }
579
+ $sTab .= " </td>";
580
+ $sTab .= " <td width='50%'>" . $oImport['sLog'] . "</td>";
581
+ $sTab .= "</tr>";
582
  }
583
+ $sTab .= "</tbody></table>";
 
 
584
  }
585
+ return $sTab;
586
+ }
 
 
587
 
588
+ static function uploadMenu($actionurl, $options, $aFolders, $sTab = "") {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
589
  ?>
590
+ <h2><?php _e("Envoi d'une nouvelle video", 'vod_infomaniak'); ?></h2>
591
+ <p><?php _e("Ce plug-in vous permet d'ajouter de nouvelles videos directement depuis ce blog. Pour cela, vous n'avez qu'a choisir un dossier puis suivre les instructions", 'vod_infomaniak'); ?>
592
+ :</p>
593
+ <p>
594
+ <label><b>1.</b> <?php _e("Choix du dossier d'envoi", 'vod_infomaniak'); ?>:</label><br/>
595
+ <select id="uploadSelectFolder" onchange="changeFolder();" onkeyup="changeFolder();">
596
+ <option value="-1" selected="selected">-- Dossier d'envoi --</option>
597
+ <?php
598
+ if (empty($aFolders)) {
599
+ echo "<option value='0'>" . __("Aucun dossier disponible", 'vod_infomaniak') . "</option>";
600
+ } else {
601
+ foreach ($aFolders as $oFolder) {
602
+ echo "<option value='" . $oFolder->iFolder . "'>" . __('Dossier', 'vod_infomaniak') . ": /" . $oFolder->sPath . " , " . __('Nom', 'vod_infomaniak') . ": " . $oFolder->sName . "</option>";
603
+ }
604
+ }
605
+ ?>
606
+ </select>
607
+ </p>
608
+ <p>
609
  <div id="submitLine" class="submit">
610
+ <label><b>2.</b> <?php _e("Choix du type d'envoi", 'vod_infomaniak'); ?>:</label><br/>
611
+ <input class="button" type="button" name="Submit"
612
+ value="<?php _e("Envoyer depuis cet ordinateur", 'vod_infomaniak'); ?>"
613
+ onclick="vod_uploadPopup();"/>
614
+ <input class="button" type="button" name="Submit"
615
+ value="<?php _e("Importer depuis un autre site", 'vod_infomaniak'); ?>"
616
+ onclick="vod_importPopup();"/>
617
  </div>
618
+ </p>
619
 
620
+ <div id="tabImport"><?php echo $sTab; ?></div>
621
 
622
+ <div id="dialog-message-upload" title="<?php _e('Envoi termine'); ?>" style="display:none;">
623
+ <p style="padding-left: 10px;">
624
+ <?php _e("L'ajout de cette video a correctement ete pris en compte.<br/>Vous pouvez retrouver l'avancement de cette conversion video dans le tableau ci-dessous."); ?>
625
+ </p>
626
+ </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
627
 
628
+ <script type="text/javascript">
629
+ changeFolder = function () {
630
+ if (jQuery("#uploadSelectFolder").val() != -1) {
631
+ jQuery("#submitLine").show();
632
+ } else {
633
+ jQuery("#submitLine").hide();
634
  }
635
+ };
636
+ changeFolder();
637
+
638
+ vod_uploadPopup = function () {
639
+ var height = 550;
640
+ var width = 1024;
641
+ var top = (screen.height - height) / 2;
642
+ var left = (screen.width - width) / 2;
643
+ window.open('<?php echo $actionurl; ?>&sAction=popupUpload&iFolderCode=' + jQuery("#uploadSelectFolder").val(), 'UploadTool' + jQuery("#uploadSelectFolder").val(),
644
+ config = 'height=' + height + ', width=' + width + ', top=' + top + ', left=' + left + ', toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, directories=no, status=no'
645
+ );
646
+ };
647
 
648
+ vod_importPopup = function () {
649
+ var height = 550;
650
+ var width = 1024;
651
+ var top = (screen.height - height) / 2;
652
+ var left = (screen.width - width) / 2;
653
+ window.open('<?php echo $actionurl; ?>&sAction=popupImport&iFolderCode=' + jQuery("#uploadSelectFolder").val(), 'importTool' + jQuery("#uploadSelectFolder").val(),
654
+ config = 'height=' + height + ', width=' + width + ', top=' + top + ', left=' + left + ', toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, directories=no, status=no'
655
+ );
656
+ };
657
+
658
+ (function () {
659
+ iAjaxRefresh = 5;
660
  iAjaxDecompte = 0;
661
+
662
+ jQuery(document).ready(function () {
663
+ iAjaxDecompte = 30;
664
+ if (jQuery('#tabImportRefresh') && jQuery('#tabImport')) {
665
+ setTimeout('update_vod_import();', 30000);
666
+ setTimeout('update_info();', 100);
667
  }
668
  });
669
+
670
+ update_info = function () {
671
+ if (iAjaxDecompte >= 0) {
672
+ iAjaxDecompte -= 1;
673
+ jQuery('#tabImportRefresh').html("<span style='font-style:italic;color: #666666;'><img src='<?php echo plugins_url('vod-infomaniak/img/ico-refresh.png'); ?>' style='vertical-align:bottom;'/> <?php _e("Mise a jour dans",'vod_infomaniak'); ?> " + (iAjaxDecompte * 1 + 1) + " secondes</span>");
674
+ }
675
+ setTimeout('update_info();', 1000);
 
 
 
 
 
 
 
 
 
 
676
  }
 
 
677
 
678
+ update_vod_import = function () {
679
+ iAjaxDecompte = 0;
680
+ jQuery.ajax({
681
+ type: "post", url: "admin-ajax.php", data: { action: 'importvod'},
682
+ success: function (html) {
683
+ jQuery("#tabImport").html(html);
 
684
  }
685
+ });
686
+ if (iAjaxRefresh < 10) {
687
+ iAjaxDecompte = 30;
688
+ setTimeout('update_vod_import();', 30000);
689
+ } else if (iAjaxRefresh < 25) {
690
+ iAjaxDecompte = 60;
691
+ setTimeout('update_vod_import();', 60000);
692
+ } else if (iAjaxRefresh < 35) {
693
+ iAjaxDecompte = 120;
694
+ setTimeout('update_vod_import();', 120000);
695
+ } else if (iAjaxRefresh < 45) {
696
+ iAjaxDecompte = 300;
697
+ setTimeout('update_vod_import();', 300000);
698
+ } else if (iAjaxRefresh < 60) {
699
+ iAjaxDecompte = 600;
700
+ setTimeout('update_vod_import();', 600000);
701
+ } else {
702
+ iAjaxDecompte = -1;
703
  }
704
+ iAjaxRefresh++;
705
+ }
 
 
706
 
707
+ uploadFinish = function () {
708
+ jQuery("#dialog-message-upload").dialog({
709
+ modal: true,
710
+ width: 600,
711
+ buttons: {
712
+ Ok: function () {
713
+ jQuery(this).dialog("close");
714
+ }
715
+ }
716
+ });
717
+ iAjaxRefresh = 0;
718
+ update_vod_import();
719
+ }
720
 
721
+ })();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
722
 
723
+ </script>
 
 
 
 
724
  <?php
725
+ }
726
 
727
+ static function uploadPopup($token, $oFolder, $bResult = false) {
728
+ ?>
729
+ <script type="text/javascript" charset="iso-8859-1"
730
+ src="http://ajax.googleapis.com/ajax/libs/swfobject/2.1/swfobject.js"></script>
731
+ <script type="text/javascript" charset="iso-8859-1"
732
+ src="http://vod.infomaniak.com/apiUpload/flashUpload.js"></script>
733
 
734
+ <h2><?php _e("Utilitaire d'envoi de video", 'vod_infomaniak'); ?></h2>
 
 
 
735
  <p>
736
+ <label style="font-weight: bold"><?php _e("Dossier d'envoi", 'vod_infomaniak'); ?>:</label>
737
+ <span><img src="<?php echo plugins_url('vod-infomaniak/img/ico-folder-open-16x16.png'); ?>"
738
+ style="vertical-align:bottom"/> <?php echo $oFolder->sName; ?>
739
+ ( '<?php echo $oFolder->sPath; ?>' )</span>
740
  </p>
741
  <p>
742
+ <label style="font-weight: bold"><?php _e("Limites", 'vod_infomaniak'); ?>:</label>
743
+ <ul style="list-style: disc inside; margin-left: 20px;">
744
+ <li><?php _e("Le poids des fichiers envoyes via ce module est limite a 1Go", 'vod_infomaniak'); ?></li>
745
+ <li><?php _e("Les formats videos supportes sont avi, flv, mov, mpeg, mp4, mkv, rm, wmv, m4v, vob, 3gp, webm, f4v, ts", 'vod_infomaniak'); ?></li>
746
+ <li><?php _e("L'envoi doit etre effectue en moins de 4 heures", 'vod_infomaniak'); ?></li>
747
+ </ul>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
748
  </p>
749
+ <p><label style="font-weight: bold"><?php _e("Envoi", 'vod_infomaniak'); ?>:</label></p>
750
+ <div id="up"></div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
751
 
752
+ <script type="text/javascript">
753
+ jQuery('#adminmenuwrap').remove();
754
+ flashUpload('<?php echo $token; ?>');
755
+
756
+ multiUploadCallback = function (json) {
757
+ oJson = eval('(' + json + ')');
758
+ switch (oJson.sStatus) {
759
+ case "init":
760
+ document.getElementById('up').callbackInitialisation();
761
+ break;
762
+ case "complete":
763
+ document.getElementById('up').callbackProcessing(oJson.iCurrent, true);
764
+ setTimeout('CallParentWindowFunction();', 2500);
765
+ break;
766
+ case "error":
767
+ alert('upload error: ' + oJson.sOriginalFileName);
768
+ break;
769
+ }
770
  }
 
 
771
 
772
+ CallParentWindowFunction = function () {
773
+ window.opener.uploadFinish();
774
+ return false;
775
+ }
776
+ </script>
 
777
  <?php
778
+ }
779
 
780
+ static function importPopup($action_url, $oFolder, $bResult = false) {
781
+ ?>
782
+ <h2><?php _e("Utilitaire d'importation de video", 'vod_infomaniak'); ?></h2>
783
 
784
+ <form name="adminForm" action="<?php echo $action_url; ?>" method="post">
785
+ <input type="hidden" name="submit" value="1"/>
786
+ <input type="hidden" name="sAction" value="popupImport"/>
787
+ <input type="hidden" name="iFolder" value="<?php echo $oFolder->iFolder; ?>"/>
 
788
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
789
  <p>
790
+ <label style="font-weight: bold"><?php _e("Dossier d'envoi", 'vod_infomaniak'); ?>:</label>
791
+ <span><img src="<?php echo plugins_url('vod-infomaniak/img/ico-folder-open-16x16.png'); ?>"
792
+ style="vertical-align:bottom"/> <?php echo $oFolder->sName; ?>
793
+ ( '<?php echo $oFolder->sPath; ?>' )</span>
 
 
 
 
794
  </p>
795
+
 
 
 
 
796
  <p>
797
+ <label style="font-weight: bold"><?php _e("Limites", 'vod_infomaniak'); ?>:</label>
798
+ <ul style="list-style: disc inside; margin-left: 20px;">
799
+ <li><?php _e("Le poids des fichiers envoyes via ce module est limite a 1Go", 'vod_infomaniak'); ?></li>
800
+ <li><?php _e("Les formats videos supportes sont avi, flv, mov, mpeg, mp4, mkv, rm, wmv, m4v, vob, 3gp, webm, f4v, ts", 'vod_infomaniak'); ?></li>
801
+ </ul>
802
  </p>
803
  <p>
804
+ <label style="font-weight: bold"><?php _e("Adresse", 'vod_infomaniak'); ?>:</label>
805
+ <select name="sProtocole" id="sProtocole">
806
+ <option value="http">http://</option>
807
+ <option value="https">https://</option>
808
+ <option value="ftp">ftp://</option>
809
+ </select>
810
+ <input type="text" onkeyup="checkURL();" showsuccess="false" style="width: 50%" value="" name="sUrl"
811
+ id="sUrl">
812
  </p>
813
  <p>
814
+ <input type="checkbox" value="1" onclick="checkAuth();" name="bNeedAuth" id="bNeedAuth">
815
+ <?php _e("Cette adresse necessite une authentification.", 'vod_infomaniak'); ?>
816
+ </p>
817
+
818
+ <p id="authLine">
819
+ <label style="font-weight: bold"><?php _e("Login", 'vod_infomaniak'); ?>:</label> <input
820
+ type="text" name="sLogin">
821
+ <label style="font-weight: bold"><?php _e("Password", 'vod_infomaniak'); ?>:</label> <input
822
+ type="password" name="sPassword">
823
  </p>
824
+
825
+ <div class="submit"><input class="button" type="submit" name="Submit"
826
+ value="<?php _e("Importer", 'vod_infomaniak'); ?>"/></div>
827
+ </form>
828
+ <script type="text/javascript">
829
+ jQuery('#adminmenuwrap').remove();
830
+
831
+ checkURL = function () {
832
+ var url = jQuery('#sUrl').val();
833
+ if (url.indexOf("http://") != -1) {
834
+ jQuery('#sProtocole').val('http');
835
+ jQuery('#sUrl').val(url.replace(/http:\/\//i, ""));
836
+ } else if (url.indexOf("https://") != -1) {
837
+ jQuery('#sProtocole').val('https');
838
+ jQuery('#sUrl').val(url.replace(/https:\/\//i, ""));
839
+ } else if (url.indexOf("ftp://") != -1) {
840
+ jQuery('#sProtocole').val('ftp');
841
+ jQuery('#sUrl').val(url.replace(/ftp:\/\//i, ""));
842
+ }
843
+ };
844
+
845
+ checkAuth = function () {
846
+ if (jQuery("#bNeedAuth").attr('checked')) {
847
+ jQuery("#authLine").show();
848
+ } else {
849
+ jQuery("#authLine").hide();
850
+ }
851
+ };
852
+ checkAuth();
853
+
854
+ CallParentWindowFunction = function () {
855
+ window.opener.uploadFinish();
856
+ return false;
857
+ }
858
+ <?php if($bResult){ echo "CallParentWindowFunction();"; } ?>
859
+ </script>
860
+ <?php
861
+ }
862
+
863
+ static function managementMenu($action_url, $sPagination, $aOptions, $aVideos) {
864
+ ?>
865
+ <h2><?php _e("Gestionnaire de videos", 'vod_infomaniak'); ?></h2>
866
+
867
+ <div class="tablenav" style="padding-right: 20px;">
868
+ <div class='tablenav-pages'>
869
+ <?php echo $sPagination; ?>
870
+ </div>
871
  </div>
872
+
873
+ <div id="dialog-confirm-vod" title="<?php _e("Supprimer une video", 'vod_infomaniak'); ?>"
874
+ style="display:none;">
875
+ <form id="adminFormVodDelete" name="adminForm" action="<?php echo $action_url; ?>" method="POST">
876
+ <input type="hidden" name="submitted" value="1"/>
877
+ <input type="hidden" name="sAction" value="delete"/>
878
+ <input type="hidden" id="dialog-confirm-id" name="dialog-confirm-id" value=""/>
879
+
880
+ <p style="padding-left: 10px;">
881
+ <?php _e("Vous etes sur le point de supprimer la video", 'vod_infomaniak'); ?> '<span
882
+ id="dialog-confirm-title" style="font-weight: bold;"></span>'.<br/><br/>
883
+ <span style="color: darkRed; font-style:italic;">
884
+ <span style="font-weight: bold;"><?php _e("Attention", 'vod_infomaniak'); ?>:</span>
885
+ <?php _e("C'est une suppression definitive de la video, il n'y pas de corbeille ou de moyen de la recuperer une fois effacer.", 'vod_infomaniak'); ?>
886
+ </span><br/><br/>
887
+ <?php _e("Etes-vous sur de vouloir continuer ?", 'vod_infomaniak'); ?>
888
+ </p>
889
+ </form>
890
+ </div>
891
+
892
+ <div id="dialog-modal-vod" title="<?php _e("Previsualisation d'une video", 'vod_infomaniak'); ?>" style="display:none; padding: 5px; overflow: hidden;">
893
+ <h3 id="dialog-modal-title" style="text-align:center; margin: 5px">Titre</h3>
894
+ <center>
895
+ <iframe id="dialog-modal-video" frameborder="0" width="480" height="320" src="#"></iframe>
896
+ </center>
897
+ <div style="padding-left:5px">
898
+ <h3><?php _e("Informations", 'vod_infomaniak'); ?></h3>
899
+
900
+ <p>
901
+
902
+ <form name="adminForm" action="<?php echo $action_url; ?>" method="POST">
903
+ <input type="hidden" name="submitted" value="1"/>
904
+ <input type="hidden" name="sAction" value="rename"/>
905
+ <input type="hidden" id="dialog-modal-id" name="dialog-modal-id" value=""/>
906
+ <input class="button" type="submit" value="Modifier" style="float:right; margin-right:25px;"/>
907
+ <input id="dialog-modal-name" name="dialog-modal-name" text=""
908
+ style="float:right; width: 350px; border: 1px solid #CCCCCC; color: #444444; border-radius: 3px; padding: 4px"/>
909
+ </form>
910
+ <label><?php _e("Nom", 'vod_infomaniak'); ?>:</label>
911
+ </p>
912
+ <p id="dialog-modal-access-block" style="padding-top: 2px;">
913
+ <label><?php _e("Restriction d'acces", 'vod_infomaniak'); ?>:</label>
914
+ <span id="dialog-modal-access" style="font-weight: bold; padding-left: 45px;"></span>
915
+ </p>
916
+
917
+ <h3><?php _e("Integration", 'vod_infomaniak'); ?></h3>
918
+
919
+ <p>
920
+ <a id="dialog-modal-url-href" href="#" target="_blank">
921
+ <img src="<?php echo plugins_url('vod-infomaniak/img/ico-redo.png'); ?>"
922
+ style="float:right; margin-right:25px; vertical-align:bottom;"
923
+ alt="<?php _e("Visualiser la video", 'vod_infomaniak'); ?>"/>
924
  </a>
925
+ <input id="dialog-modal-url" text=""
926
+ style="float:right; width: 393px; margin-right: 5px; border 1px solid #CCC; border-radius: 3px; background-color: #FFF; margin-top:0; padding: 4px; border: 1px solid #CCCCCC; color: #444444;"
927
+ readonly="value" onfocus="this.select();"/>
928
+ <label><?php _e("Url de la video", 'vod_infomaniak'); ?>:</label>
929
+ </p>
930
+
931
+ <p>
932
+ <a id="dialog-modal-url-img-href" href="#" target="_blank">
933
+ <img src="<?php echo plugins_url('vod-infomaniak/img/ico-redo.png'); ?>"
934
+ style="float:right; margin-right:25px; vertical-align:bottom;"
935
+ alt="Visualiser l'image"/>
936
  </a>
937
+ <input id="dialog-modal-url-img" text=""
938
+ style="float:right; width: 393px; margin-right: 5px; border 1px solid #CCC; border-radius: 3px; background-color: #FFF; margin-top:0; padding: 4px; border: 1px solid #CCCCCC; color: #444444;"
939
+ readonly="value" onfocus="this.select();"/>
940
+ <label><?php _e("Url de l'image", 'vod_infomaniak'); ?>:</label>
941
+ </p>
942
+
943
+ <p>
944
+ <input id="dialog-modal-balise" text=""
945
+ style="float:right; margin-right:25px; width: 414px; border 1px solid #CCC; border-radius: 3px; background-color: #FFF; margin-top:0; padding: 4px; border: 1px solid #CCCCCC; color: #444444;"
946
+ readonly="value" onfocus="this.select();"/>
947
+ <label><?php _e("Code d'integration", 'vod_infomaniak'); ?>:</label>
948
+ </p>
949
+ </div>
950
+ <div style="text-align:center;padding-top:15px;">
951
+ <ul style="display:inline;">
952
+ <li style="display:inline">
953
+ <a id="dialog-modal-admin" href="#" target="_blank"
954
+ style="text-decoration: none; color:#444444; font-weight: bold;">
955
+ <img src="<?php echo plugins_url('vod-infomaniak/img/ico-video.png'); ?>"
956
+ alt="<?php _e("Administrer cette video", 'vod_infomaniak'); ?>"
957
+ style="vertical-align:bottom"/> <?php _e("Administrer cette video", 'vod_infomaniak'); ?>
958
+ </a>
959
+ </li>
960
+ <li style="display:inline; padding-left: 20px">
961
+ <a id="dialog-modal-admin2" href="#" target="_blank"
962
+ style="text-decoration: none; color:#444444; font-weight: bold;">
963
+ <img src="<?php echo plugins_url('vod-infomaniak/img/ico-statistics.png'); ?>"
964
+ alt="<?php _e("Voir les statistiques de cette video", 'vod_infomaniak'); ?>"
965
+ style="vertical-align:bottom"/> <?php _e("Voir les statistiques", 'vod_infomaniak'); ?>
966
+ </a>
967
+ </li>
968
+ <li style="display:inline; padding-left: 20px">
969
+ <form id="adminFormPost" name="adminFormPost" action="<?php echo $action_url; ?>"
970
+ method="POST" style="display:none">
971
+ <input type="hidden" name="submitted" value="1"/>
972
+ <input type="hidden" name="sAction" value="post"/>
973
+ <input type="hidden" id="dialog-post-id" name="dialog-post-id" value=""/>
974
+ </form>
975
+ <a id="dialog-modal-admin3" href="javascript:;" onclick="jQuery('#adminFormPost').submit();"
976
+ style="text-decoration: none; color:#444444; font-weight: bold;">
977
+ <img src="<?php echo plugins_url('vod-infomaniak/img/ico-edit.png'); ?>"
978
+ alt="<?php _e("Creer un article", 'vod_infomaniak'); ?>"
979
+ style="vertical-align:bottom"/> <?php _e("Creer un article", 'vod_infomaniak'); ?>
980
+ </a>
981
+ </li>
982
+ </ul>
983
+ </div>
984
  </div>
 
985
 
986
+ <table class="widefat" style="width: 99%">
987
+ <thead>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
988
  <tr>
989
+ <th width="50%"><?php _e("Video", 'vod_infomaniak'); ?></th>
990
+ <th><?php _e("Dossier", 'vod_infomaniak'); ?></th>
991
+ <th><?php _e("Date d'upload", 'vod_infomaniak'); ?></th>
992
+ <th width="80"><?php _e("Action", 'vod_infomaniak'); ?></th>
 
 
 
 
 
 
 
 
993
  </tr>
994
+ </thead>
995
+ <tbody>
996
  <?php
997
+ if (empty($aVideos)) {
998
+ echo "<option value='0'>" . __("Aucune video disponible", 'vod_infomaniak') . "</option>";
999
+ } else {
1000
+ foreach ($aVideos as $oVideo) {
1001
+ ?>
1002
+ <tr>
1003
+ <td>
1004
+ <?php if ($oVideo->sExtension == "M4A" || $oVideo->sExtension == "MP3") { ?>
1005
+ <img src="<?php echo plugins_url('vod-infomaniak/img/audiofile.png'); ?>"
1006
+ style="vertical-align:bottom"/>
1007
+ <?php } else { ?>
1008
+ <img src="<?php echo plugins_url('vod-infomaniak/img/videofile.png'); ?>"
1009
+ style="vertical-align:bottom"/>
1010
+ <?php } ?>
1011
+ <a href="javascript:; return false;"
1012
+ onclick="openVodPopup('<?php echo $oVideo->iVideo; ?>', '<?php echo addslashes(htmlspecialchars($oVideo->sName)); ?>','<?php echo $oVideo->sPath . $oVideo->sServerCode; ?>', '<?php echo strtolower($oVideo->sExtension); ?>', '<?php echo strtolower($oVideo->sAccess); ?>', '<?php echo $oVideo->sToken; ?>', '<?php echo $oVideo->iFolder; ?>'); return false;"><?php echo ucfirst(stripslashes($oVideo->sName)); ?></a>
1013
+ </td>
1014
+ <td><img
1015
+ src="<?php echo plugins_url('vod-infomaniak/img/ico-folder-open-16x16.png'); ?>"
1016
+ style="vertical-align:bottom"/> <?php echo $oVideo->sPath; ?></td>
1017
+ <td><?php echo $oVideo->dUpload; ?></td>
1018
+ <td>
1019
+ <a href="javascript:; return false;"
1020
+ onclick="openVodPopup('<?php echo $oVideo->iVideo; ?>', '<?php echo addslashes(htmlspecialchars($oVideo->sName)); ?>','<?php echo $oVideo->sPath . $oVideo->sServerCode . "', '" . strtolower($oVideo->sExtension); ?>', '<?php echo strtolower($oVideo->sAccess); ?>', '<?php echo $oVideo->sToken; ?>', '<?php echo $oVideo->iFolder; ?>'); return false;"><img
1021
+ src="<?php echo plugins_url('vod-infomaniak/img/ico-information.png'); ?>"
1022
+ alt="<?php _e("Information sur cette video", 'vod_infomaniak'); ?>"/></a>
1023
+ <a href="https://statslive.infomaniak.com/vod/videoDetail.php/g<?php echo $aOptions['vod_api_group']; ?>s7i<?php echo $aOptions['vod_api_icodeservice']; ?>?iFileCode=<?php echo $oVideo->iVideo; ?>"
1024
+ target="_blank"><img
1025
+ src="<?php echo plugins_url('vod-infomaniak/img/ico-video.png'); ?>"
1026
+ alt="<?php _e("Administrer cette video", 'vod_infomaniak'); ?>"/></a>
1027
+ <a href="https://statslive.infomaniak.com/vod/videoDetail.php/g<?php echo $aOptions['vod_api_group']; ?>s7i<?php echo $aOptions['vod_api_icodeservice']; ?>?iFileCode=<?php echo $oVideo->iVideo; ?>&tab=2"
1028
+ target="_blank"><img
1029
+ src="<?php echo plugins_url('vod-infomaniak/img/ico-statistics.png'); ?>"
1030
+ alt="<?php _e("Voir les statistiques de cette video", 'vod_infomaniak'); ?>"/></a>
1031
+ <a href="javascript:; return false;"
1032
+ onclick="confirmVodDelete('<?php echo $oVideo->iVideo; ?>', '<?php echo addslashes(htmlspecialchars($oVideo->sName)); ?>');"><img
1033
+ src="<?php echo plugins_url('vod-infomaniak/img/ico-delete.png'); ?>"
1034
+ alt="<?php _e("Supprimer cette video", 'vod_infomaniak'); ?>"/></a>
1035
+ </td>
1036
+ </tr>
1037
+ <?php
1038
  }
 
 
 
 
 
 
 
 
 
 
1039
  }
1040
+ ?>
1041
+ </tbody>
1042
+ <script>
1043
+ confirmVodDelete = function (iVideo, sTitle) {
1044
+ jQuery("#dialog-confirm-id").val(iVideo);
1045
+ jQuery("#dialog-confirm-title").text(sTitle);
1046
+ jQuery("#dialog-confirm-vod").dialog({
1047
+ resizable: false,
1048
+ width: 600,
1049
+ height: 210,
1050
+ modal: true,
1051
+ buttons: {
1052
+ "<?php _e("Supprimer definitivement la video",'vod_infomaniak'); ?>": function () {
1053
+ jQuery('#adminFormVodDelete').submit();
1054
+ },
1055
+ "<?php _e("Annuler",'vod_infomaniak'); ?>": function () {
1056
+ jQuery(this).dialog("close");
1057
+ }
1058
+ }
1059
+ });
 
 
 
 
 
 
1060
  }
1061
+ openVodPopup = function (iVideo, title, url, sExtension, sAccess, sToken, iFolder) {
1062
+ var urlComplete = "<?php echo $aOptions['vod_api_id'];?>" + url;
1063
+ var sParam = "";
1064
+ if (sToken != "") {
1065
+ sParam = "?sKey=" + sToken;
1066
+ sBalise = "vod tokenfolder='" + iFolder + "'";
1067
+ } else {
1068
+ sBalise = 'vod';
1069
+ }
1070
+ jQuery("#dialog-modal-id").val(iVideo);
1071
+ jQuery("#dialog-post-id").val(iVideo);
1072
+ jQuery("#dialog-modal-title").text(title);
1073
+ jQuery("#dialog-modal-name").val(title);
1074
+ jQuery("#dialog-modal-url").val("http://vod.infomaniak.com/redirect/" + urlComplete + "." + sExtension);
1075
+ jQuery("#dialog-modal-url-href").attr("href", "http://vod.infomaniak.com/redirect/" + urlComplete + "." + sExtension + sParam);
1076
+ jQuery("#dialog-modal-url-img").val("http://vod.infomaniak.com/redirect/" + urlComplete + ".jpg");
1077
+ jQuery("#dialog-modal-url-img-href").attr("href", "http://vod.infomaniak.com/redirect/" + urlComplete + ".jpg");
1078
+ jQuery("#dialog-modal-balise").val("[" + sBalise + "]" + url + "." + sExtension + "[/vod]");
1079
+ 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);
1080
+ 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");
1081
+ jQuery("#dialog-modal-video").attr("src", "http://vod.infomaniak.com/iframe.php?url=" + urlComplete + "." + sExtension + sParam + "&player=576&vod=214&preloadImage=" + urlComplete + ".jpg");
1082
+
1083
+ textAccess = "";
1084
+ if (sAccess != '' && sAccess != 'all') {
1085
+ textAccess += "<?php _e("Video Geolocalise",'vod_infomaniak'); ?>";
1086
+ }
1087
+ if (sToken != "") {
1088
+ if (textAccess != "") textAccess += ", ";
1089
+ textAccess += "<?php _e("Securise avec un token",'vod_infomaniak'); ?>";
1090
+ }
1091
+ if (textAccess != "") {
1092
+ jQuery("#dialog-modal-access").text(textAccess);
1093
+ jQuery("#dialog-modal-access-block").show();
1094
+ } else {
1095
+ jQuery("#dialog-modal-access-block").hide();
1096
  }
 
 
 
 
 
1097
 
1098
+ jQuery("#dialog-modal-vod").dialog({
1099
+ width: 620,
1100
+ height: 675,
1101
+ resizable: false,
1102
+ beforeClose: function (event, ui) {
1103
+ jQuery("#dialog-modal-video").attr("src", "#");
1104
+ }
1105
+ });
1106
+ return false;
1107
+ }
1108
+ </script>
1109
+ </table>
1110
+
1111
+ <div class="tablenav" style="padding-right: 20px;">
1112
+ <div class='tablenav-pages'>
1113
+ <?php echo $sPagination; ?>
1114
+ </div>
1115
  </div>
 
1116
  <?php
1117
+ }
1118
 
1119
+ static function playlistMenu($actionurl, $options, $aPlaylist) {
1120
+ ?>
1121
+ <h2><?php _e("Playlists", 'vod_infomaniak'); ?></h2>
1122
+ <p><?php printf(__("Si vous desirez ajouter ou modifier les playlist ci-dessous, veuillez vous rendre dans <a href='https://statslive.infomaniak.com/vod/playlists.php/g%ds7i%d' target='_blank'>la console d'administration</a>", 'vod_infomaniak'), $options['vod_api_group'], $options['vod_api_icodeservice']); ?></p>
1123
 
1124
+ <h2><?php _e("Precedents Envois", 'vod_infomaniak'); ?></h2>
1125
  <table class='widefat' style='width: 99%'>
1126
  <thead>
1127
+ <tr>
1128
+ <th width="20%"><?php _e("Nom", 'vod_infomaniak'); ?></th>
1129
+ <th width="30%"><?php _e("Description", 'vod_infomaniak'); ?></th>
1130
+ <th><?php _e("Nombre videos", 'vod_infomaniak'); ?></th>
1131
+ <th><?php _e("Duree", 'vod_infomaniak'); ?></th>
1132
+ <th><?php _e("Mode de lecture", 'vod_infomaniak'); ?></th>
1133
+ <th><?php _e("Date", 'vod_infomaniak'); ?></th>
1134
+ <th width="80px"><?php _e("Action", 'vod_infomaniak'); ?></th>
1135
+ </tr>
1136
  </thead>
1137
  <tbody>
1138
+ <?php
1139
+ if (empty($aPlaylist)) {
1140
+ echo "<h3>" . __("Aucune playlist disponible", 'vod_infomaniak') . "</h3>";
1141
  } else {
1142
 
1143
+ foreach ($aPlaylist as $oPlaylist) {
1144
+ ?>
1145
+ <tr>
1146
+ <td><img src="<?php echo plugins_url('vod-infomaniak/img/ico-display-list.png'); ?>"
1147
+ style="vertical-align:bottom; padding: 0px 5px;"/> <?php echo ucfirst($oPlaylist->sPlaylistName); ?>
1148
+ </td>
1149
+ <td><?php echo !empty($oPlaylist->sPlaylistDescription) ? ucfirst($oPlaylist->sPlaylistDescription): "&nbsp;"; ?> </td>
1150
+ <td><?php echo $oPlaylist->iTotal; ?></td>
1151
+ <?php
1152
+ $duration = intval($oPlaylist->iTotalDuration / 100);
1153
+ $hour = intval($duration / 3600);
1154
+ $min = intval($duration / 60) % 60;
1155
+ $sec = intval($duration) % 60;
1156
+
1157
+ $str = "";
1158
+ $str .= $hour > 0 ? $hour . "h. " : '';
1159
+ $str .= $min > 0 ? $min . "m. " : '';
1160
+ $str .= $sec > 0 ? $sec . "s." : '';
1161
+ ?>
1162
+ <td><?php echo !empty($str) ? $str : "&nbsp;"; ?> </td>
1163
+ <td><?php echo $oPlaylist->sMode; ?></td>
1164
+ <td><?php echo $oPlaylist->dCreated; ?></td>
1165
+ <td>
1166
+ <a href="https://statslive.infomaniak.com/vod/playlists.php/g<?php echo $aOptions['vod_api_group']; ?>s7i<?php echo $aOptions['vod_api_icodeservice']; ?>?sAction=showPlaylist&iPlaylistCode=<?php echo $oPlaylist->iPlaylistCode; ?>"
1167
+ target="_blank"><img
1168
+ src="<?php echo plugins_url('vod-infomaniak/img/ico-information.png'); ?>"
1169
+ alt="<?php _e("Administrer cette playlist", 'vod_infomaniak'); ?>"/></a>
1170
+
1171
+ <a href="<?=$actionurl?>&create=<?=$oPlaylist->iPlaylistCode;?>" title="<?php _e("Creer un article", 'vod_infomaniak'); ?>">
1172
+ <img src="<?php echo plugins_url('vod-infomaniak/img/ico-edit.png'); ?>"
1173
+ alt="<?php _e("Creer un article", 'vod_infomaniak'); ?>"/>
1174
+ </a>
1175
+ </td>
1176
+ </tr>
1177
+ <?php
1178
+ }
1179
+ }
1180
+ ?>
1181
  </tbody>
1182
  </table>
1183
  <?php
1184
+ }
1185
 
1186
+ static function implementationMenu($sActionUrl, $aOptions, $aPlayers) {
1187
+ ?>
1188
+ <h2><?php _e("Integration par defaut des videos", 'vod_infomaniak'); ?></h2>
1189
+ <form name="adminForm" action="<?php echo $sActionUrl; ?>" method="post">
1190
+ <input type="hidden" name="submitted" value="1"/>
1191
+ <table>
1192
+ <tr>
1193
+ <td style="vertical-align: top">
1194
+ <label><?php _e("Selection du player par defaut", 'vod_infomaniak'); ?>:</label><br/>
1195
+ <select id="selectPlayer" name="selectPlayer" onchange="PlayerInfo();"
1196
+ onkeyup="PlayerInfo();">
1197
+ <?php
1198
+ if (empty($aPlayers)) {
1199
+ echo "<option value='0'>" . __("Aucun player disponible", 'vod_infomaniak') . "</option>";
1200
+ } else {
1201
+ foreach ($aPlayers as $player) {
1202
+ $selected = "";
1203
+ if ($aOptions['player'] == $player->iPlayer) {
1204
+ $selected = 'selected="selected"';
1205
+ }
1206
+ echo "<option value='" . $player->iPlayer . "' $selected>" . ucfirst($player->sName) . "</option>";
1207
+ }
1208
+ }
1209
+ ?>
1210
+ </select> <input class="button" type="submit" name="Submit"
1211
+ value="<?php _e("Choisir ce player", 'vod_infomaniak'); ?>"/>
1212
+
1213
+ <p><?php _e("Informations sur ce Player", 'vod_infomaniak'); ?>:</p>
1214
+ <?php
1215
+ if (empty($aPlayers)) {
1216
+ echo "<h3>" . __("Aucun player disponible", 'vod_infomaniak') . "</h3>";
1217
+ } else {
1218
+ foreach ($aPlayers as $player) {
1219
+ ?>
1220
+ <div id="player-info-<?php echo $player->iPlayer; ?>" class="player-info"
1221
+ style="padding: 5px 15px; border: 1px solid #EEE; display:none; width: 500px;">
1222
+
1223
+ <ul>
1224
+ <li><b><?php _e("Nom", 'vod_infomaniak'); ?>
1225
+ :</b> <?php echo ucfirst($player->sName); ?></li>
1226
+ <li><b><?php _e("Date", 'vod_infomaniak'); ?>
1227
+ :</b> <?php echo date("d M Y H:i", strtotime($player->dEdit)); ?>
1228
+ </li>
1229
+ <li><b><?php _e("Resolution", 'vod_infomaniak'); ?>
1230
+ :</b> <?php echo $player->iWidth; ?>
1231
+ x<?php echo $player->iHeight; ?></li>
1232
+ <li><b><?php _e("Demarrage automatique", 'vod_infomaniak'); ?>
1233
+ :</b> <?php echo $player->bAutoPlay == 0 ? 'Non' : 'Oui'; ?>
1234
+ </li>
1235
+ <li><b><?php _e("Lecture en boucle", 'vod_infomaniak'); ?>
1236
+ :</b> <?php echo $player->bLoop == 0 ? 'Non' : 'Oui'; ?></li>
1237
+ <li><b><?php _e("Switch de qualite", 'vod_infomaniak'); ?>
1238
+ :</b> <?php echo $player->bSwitchQuality == 0 ? 'Non' : 'Oui'; ?>
1239
+ </li>
1240
+ </ul>
1241
+ <div style="text-align:center; width: 100%">
1242
+ <a id="dialog-modal-admin"
1243
+ href="https://statslive.infomaniak.com/vod/players/playerConfig.php/g<?php echo $aOptions['vod_api_group']; ?>s7i<?php echo $aOptions['vod_api_icodeservice']; ?>?iPlayerCode=<?php echo $player->iPlayer; ?>"
1244
+ target="_blank"
1245
+ style="text-decoration: none; color:#444444; font-weight: bold;"><img
1246
+ src="<?php echo plugins_url('vod-infomaniak/img/ico-edit.png'); ?>"
1247
+ alt="<?php _e("Modifier ce Player", 'vod_infomaniak'); ?>"
1248
+ style="vertical-align:bottom"/> <?php _e("Modifier ce Player", 'vod_infomaniak'); ?>
1249
+ </a>
1250
+ </div>
1251
+ </div>
1252
+ <?php
1253
  }
 
1254
  }
1255
+ ?>
1256
+ </td>
1257
+ <td style="vertical-align: top; padding-left: 25px;">
1258
+ <iframe id="player-demo-video" frameborder="0" width="480" height="360" src="#"></iframe>
1259
+ </td>
1260
+ </tr>
1261
+ </table>
1262
+ </form>
1263
+
1264
+ <h2><?php _e("Creation ou modification de players", 'vod_infomaniak'); ?></h2>
1265
+ <p><?php printf(__("Afin de modifier ou creer de nouveaux players flash, nous vous invitons a vous rendre dans votre administration vod: <a href='https://statslive.infomaniak.com/vod/player.php/g%ds7i%d' target='_blank'>Acceder a la configuration des players</a>", 'vod_infomaniak'), $aOptions['vod_api_group'], $aOptions['vod_api_icodeservice']); ?></p>
1266
+ <h2><?php _e("Plus d'options", 'vod_infomaniak'); ?></h2>
1267
+ <p>
1268
+ <?php _e("Il est possible de personnaliser votre player video afin qu'ils s'integre parfaitement a votre site. Voici quelques fonctionnalites avancees qu'il propose:", 'vod_infomaniak'); ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1269
  <ul style="margin-left: 15px; list-style: disc inside;">
1270
  <?php _e("<li>Fonction de seek permettant de se deplacer dans une video meme longue quasi instantanement.</li>
1271
  <li>Bouton permettant de changer a la vole entre les differentes qualites d'une video.</li>
1273
  <li>Player exportable afin de permettre aux visiteurs de recuperer le code d'integration.</li>
1274
  <li>Facilite de personnalisation du player via de rapides modifications (couleurs de la barre, taille de la barre, logo) ou l'utilisation d'une barre entierement personnaliser.</li>
1275
  <li>Compatibilite avec adswizz afin d'ajouter facilement des publicites avant ou apres les videos.</li>
1276
+ <li>Et encore d'autres options a decouvrir ...</li>", 'vod_infomaniak'); ?>
1277
  </ul>
1278
+ </p>
1279
+ <script>
1280
+ PlayerInfo = function () {
1281
+ jQuery('.player-info').hide();
1282
+ value = jQuery('#selectPlayer').val();
1283
+ console.log(value);
1284
+ jQuery('#player-info-' + value).show();
1285
+ 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
+ }
1287
+ PlayerInfo();
1288
+ </script>
1289
  <?php
1290
+ }
1291
+
1292
+ static function buildPagination($iCurrentPage, $iLimit, $iTotal) {
1293
+ $iTotalPage = $iTotal;
1294
+ $iPageTotal = floor(($iTotal - 1) / $iLimit) + 1;
1295
+ $page_list = "";
1296
 
1297
+ if (($iCurrentPage != 1) && ($iCurrentPage)) {
1298
+ $page_list .= " <a href=\" " . $_SERVER['PHP_SELF'] . "?page=vod-infomaniak/vod.class.php&p=1\" title=\"First Page\">«</a> ";
1299
+ }
1300
+
1301
+ if (($iCurrentPage - 1) > 0) {
1302
+ $page_list .= "<a href=\" " . $_SERVER['PHP_SELF'] . "?page=vod-infomaniak/vod.class.php&p=" . ($iCurrentPage - 1) . "\" title=\"Previous Page\"><</a> ";
1303
+ }
1304
+
1305
+ for ($i = 1; $i <= $iPageTotal; $i++) {
1306
+ if ($i <= 2 || $i > $iPageTotal - 2 || ($i >= $iCurrentPage - 2 && $i <= $iCurrentPage + 2)) {
1307
+ if ($i == $iCurrentPage) {
1308
+ $page_list .= "<b>" . $i . "</b>";
1309
+ } else {
1310
+ $page_list .= "<a href=\" " . $_SERVER['PHP_SELF'] . "?page=vod-infomaniak/vod.class.php&p=" . $i . "\" title=\"Page " . $i . "\">" . $i . "</a>";
1311
+ }
1312
+ $page_list .= " ";
 
1313
  } else {
1314
+ if ($i == 3 || $i == $iPageTotal - 2) {
1315
+ $page_list .= "... ";
1316
+ }
1317
+ }
1318
+ }
1319
+
1320
+ if (($iCurrentPage + 1) <= $iPageTotal) {
1321
+ $page_list .= "<a href=\"" . $_SERVER['PHP_SELF'] . "?page=vod-infomaniak/vod.class.php&p=" . ($iCurrentPage + 1) . "\" title=\"Next Page\">></a> ";
1322
  }
 
1323
 
1324
+ if (($iCurrentPage != $iPageTotal) && ($iPageTotal != 0)) {
1325
+ $page_list .= "<a href=\"" . $_SERVER['PHP_SELF'] . "?page=vod-infomaniak/vod.class.php&p=" . $iPageTotal . "\" title=\"Last Page\">»</a> ";
1326
+ }
1327
+ $page_list .= "</td>\n";
1328
 
1329
+ return $page_list;
 
1330
  }
 
 
 
1331
  }
1332
+
1333
  ?>
vod_callback.php CHANGED
@@ -1,58 +1,58 @@
1
  <?php
2
- /**
3
- * Fichier de callback utilisé comme interface du daemon VOD.
4
- * Cela permet d'avoir immediatement accès aux vidéos qui viennent d'etre envoyés sur l'espace VOD.
5
- * En cas de problemes ou de questions, veuillez contacter streaming@infomaniak.ch
6
- *
7
- * @author Destrem Kevin
8
- * @link http://statslive.infomaniak.ch/vod/api/
9
- * @version 1.0
10
- * @copyright infomaniak.ch
11
- *
12
- */
13
-
14
- $response = $_POST;
15
- $aOptions = get_option('vod_infomaniak');
16
-
17
- if( $aOptions['vod_api_callbackKey'] == $_REQUEST['key'] ){
18
- $db = new EasyVod_db();
19
-
20
- $iVideo = intval($response['iFileCode']);
21
- $iFolder = intval($response['iFolderCode']);
22
- $sFileName = $response['sFileName'];
23
- $sServerCode = $response['sFileServerCode'];
24
-
25
- if( empty($iVideo) || empty($iFolder) ){
26
- die(__("Probleme avec les parametres"));
27
- }
28
- $oFolder = $db->getFolder( $iFolder );
29
- if( empty( $oFolder ) || empty( $oFolder->sName) ){
30
- die(__("Dossier inconnu"));
31
- }
32
-
33
- $encodage = array_shift($response['files']);
34
- $path_tmp = explode('/redirect/'.$aOptions['vod_api_id']."/", $encodage['sFileUrl'] );
35
- $sPath = "/".dirname ($path_tmp[1])."/";
36
- $sExtension = strtoupper($encodage['sExtension']);
37
- $iDuration = intval($response['iDuration']);
38
- $dUpload = date("Y-m-d H:i:s", strtotime($response['dDateUpload']));
39
-
40
- $oldVideo = $db->get_videos_byCodes( $sServerCode, $iFolder );
41
- if( !empty($oldVideo) ){
42
- foreach($oldVideo as $video){
43
- $db->delete_video( $video->iVideo );
44
  }
45
- }
46
-
47
- $db->insert_video($iVideo, $iFolder, $sFileName, $sServerCode, $sPath, $sExtension, $iDuration, $dUpload );
48
-
49
- if ( !empty($response['sInfo']) ){
50
- $sParamInfo = $response['sInfo'];
51
- if ( strpos($sParamInfo, "wp_upload_post_") !== false ) {
52
- $sToken = str_replace("wp_upload_post_", "", $sParamInfo);
53
- $db->update_upload( $sToken, $iVideo );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
  }
55
  }
56
- }
57
- die();
58
  ?>
1
  <?php
2
+ /**
3
+ * Fichier de callback utilisé comme interface du daemon VOD.
4
+ * Cela permet d'avoir immediatement accès aux vidéos qui viennent d'etre envoyés sur l'espace VOD.
5
+ * En cas de problemes ou de questions, veuillez contacter support-vod-wordpress@infomaniak.ch
6
+ *
7
+ * @author Destrem Kevin
8
+ * @link http://statslive.infomaniak.ch/vod/api/
9
+ * @version 1.1.8
10
+ * @copyright infomaniak.ch
11
+ *
12
+ */
13
+
14
+ $response = $_POST;
15
+ $aOptions = get_option('vod_infomaniak');
16
+
17
+ if ($aOptions['vod_api_callbackKey'] == $_REQUEST['key']) {
18
+ $db = new EasyVod_db();
19
+
20
+ $iVideo = intval($response['iFileCode']);
21
+ $iFolder = intval($response['iFolderCode']);
22
+ $sFileName = $response['sFileName'];
23
+ $sServerCode = $response['sFileServerCode'];
24
+
25
+ if (empty($iVideo) || empty($iFolder)) {
26
+ die(__("Probleme avec les parametres"));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  }
28
+ $oFolder = $db->getFolder($iFolder);
29
+ if (empty($oFolder) || empty($oFolder->sName)) {
30
+ die(__("Dossier inconnu"));
31
+ }
32
+
33
+ $encodage = array_shift($response['files']);
34
+ $path_tmp = explode('/redirect/' . $aOptions['vod_api_id'] . "/", $encodage['sFileUrl']);
35
+ $sPath = "/" . dirname($path_tmp[1]) . "/";
36
+ $sExtension = strtoupper($encodage['sExtension']);
37
+ $iDuration = intval($response['iDuration']);
38
+ $dUpload = date("Y-m-d H:i:s", strtotime($response['dDateUpload']));
39
+
40
+ $oldVideo = $db->get_videos_byCodes($sServerCode, $iFolder);
41
+ if (!empty($oldVideo)) {
42
+ foreach ($oldVideo as $video) {
43
+ $db->delete_video($video->iVideo);
44
+ }
45
+ }
46
+
47
+ $db->insert_video($iVideo, $iFolder, $sFileName, $sServerCode, $sPath, $sExtension, $iDuration, $dUpload);
48
+
49
+ if (!empty($response['sInfo'])) {
50
+ $sParamInfo = $response['sInfo'];
51
+ if (strpos($sParamInfo, "wp_upload_post_") !== false) {
52
+ $sToken = str_replace("wp_upload_post_", "", $sParamInfo);
53
+ $db->update_upload($sToken, $iVideo);
54
+ }
55
  }
56
  }
57
+ die();
 
58
  ?>