Project

General

Profile

« Previous | Next » 

Revision 1199

Added by Dietmar almost 15 years ago

Update FCKeditor Version 2.6.5 to Modulversion 2.9.3

View differences:

branches/2.8.x/CHANGELOG
12 12

  
13 13
------------------------------------- 2.8.1 -------------------------------------
14 14
28-Nov-2009 Dietmar Woellbrink (Luisehahne)
15
!	Update FCKeditor Version 2.6.5 to Modulversion 2.9.3
16
28-Nov-2009 Dietmar Woellbrink (Luisehahne)
15 17
!	updated theme.css in wb_theme
16 18
28-Nov-2009 Dietmar Woellbrink (Luisehahne)
17 19
!	Ticket #886 fix validation email, check tld between 2-4 letters
branches/2.8.x/wb/modules/fckeditor/info.php
26 26
  Authors: P. Widlund, S. Braunewell, M. Gallas (ruebenwurzel), Wouldlouper, C. Sommer (doc)
27 27
	Started to track applied changes in info.php from 27.03.2007 onwards (cs)
28 28
 -----------------------------------------------------------------------------------------------------------
29
	v2.9.3 (Luishahne Oct 21, 2009)
30
		+	add linkfeature to mediabrowser
31
        +   update flvplayer plugin
32
	v2.9.2 (Luishahne Sep 28, 2009)
33
		+	add linkfeature to imagebrowser
34
        +   add flvplayer plugin
29 35
	v2.9.1 (Luishahne Sep 28, 2009)
30 36
		+	change to new FCKeditor version 2.6.5
31 37
	v2.89 (Aldus, Luishahne Sep 16, 2009)
......
127 133
$module_directory		= 'fckeditor';
128 134
$module_name			= 'FCKeditor 2.6.5 WB Version 2.9.1';
129 135
$module_function		= 'WYSIWYG';
130
$module_version			= '2.9.1';
136
$module_version			= '2.9.3';
137
$module_guid            = 'ED3B82C1-DB1E-447A-A0FD-E952AFC5F3B9';
138
$module_status          = 'Beta';
131 139
$module_platform		= '2.7';
140
$module_requirements    = 'PHP 4.3.11 or higher, WB 2.7 or higher';
132 141
$module_author 			= 'Christian Sommer, P. Widlund, S. Braunewell, M. Gallas, Wouldlouper, Aldus, Luisehahne';
133 142
$module_license 		= 'GNU General Public License';
134 143
$module_description 	= 'This module allows you to edit the contents of a page using <a href="http://www.fckeditor.net/" target="_blank">FCKeditor v2.6.5</a>.';
branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/dialog/fck_link.html
264 264
						<span fckLang="DlgGenContRel">Advisory Relation</span><br />
265 265
						<select id="cmbAttContentRel"  style="width: 100%">
266 266
							<option value="" fckLang="DlgGenNotSet" selected>&lt;not set&gt;</option>
267
							<option value="fancybox" fckLang="Fancybox">Fancybox</option>
268
							<option value="prettyPhoto" fckLang="PrettyPhoto">PrettyPhoto</option>
269
				  <!--			<option value="prettyPhoto[gallery]" fckLang="PrettyPhoto Image Gallery">PrettyPhoto Image Gallery</option>
270
							<option value="prettyPhoto[flash]" fckLang="PrettyPhoto Flash">PrettyPhoto Flash</option>
271
							<option value="prettyPhoto[iframes]" fckLang="PrettyPhoto IFrames">PrettyPhoto IFrames</option>
272
							<option value="prettyPhoto[movies]" fckLang="PrettyPhoto Movies">PrettyPhoto Movies</option>
273
							<option value="prettyPopin" fckLang="PrettyPopin">Pretty Popin</option>
274
							<option value="prettyGallery" fckLang="PrettyGallery">Pretty Gallery</option>   -->
267 275
							<option value="alternate" fckLang="Alternate">Alternate</option>
268 276
							<option value="copyright" fckLang="copyright">Copyright</option>
269 277
							<option value="designates" fckLang="designates">Designates</option>
branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/dialog/fck_about.html
118 118
            <tr>
119 119
                <td align="center" valign="middle">
120 120
					<span fcklang="DlgAboutModule" style="font-size: 12px" dir="ltr">
121
                    Modified for Website Baker Version 2.8<br />
122
                    Modulversion 2.9.1
121
                    Modified for Website Baker Version 2.8.x<br />Modulversion 2.9.3
123 122
                    </span>
124 123
                </td>
125 124
                <td>&nbsp;</td>
branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/dialog/fck_image/fck_image.js
191 191

  
192 192
		GetE('txtLnkUrl').value		= sLinkUrl ;
193 193
		GetE('cmbLnkTarget').value	= oLink.target ;
194
		GetE('cmbAttContentRel').value	= oLink.rel ;
195
		GetE('txtAttTitle').value		= oLink.title ;
196
		GetE('txtAttId').value			= oLink.id ;
197
	var sClass ;
198
	if ( oEditor.FCKBrowserInfo.IsIE )
199
	{
200
		sClass	= oLink.getAttribute('className',2) || '' ;
201
		// Clean up temporary classes for internal use:
202
		sClass = sClass.replace( FCKRegexLib.FCK_Class, '' ) ;
203

  
204
		GetE('txtAttStyle').value	= oLink.style.cssText ;
194 205
	}
206
	else
207
	{
208
		sClass	= oLink.getAttribute('class',2) || '' ;
209
		GetE('txtAttStyle').value	= oLink.getAttribute('style',2) || '' ;
210
	}
211
	GetE('txtAttClasses').value	= sClass ;
195 212

  
213
		}
214

  
196 215
	UpdatePreview() ;
197 216
}
198 217

  
......
263 282
		}
264 283

  
265 284
		SetAttribute( oLink, '_fcksavedurl', sLnkUrl ) ;
266
		SetAttribute( oLink, 'target', GetE('cmbLnkTarget').value ) ;
285
		SetAttribute( oLink, 'target', 	GetE('cmbLnkTarget').value ) ;
286
		SetAttribute( oLink, 'rel', 	GetE('cmbAttContentRel').value ) ;
287
		SetAttribute( oLink, 'id', 		GetE('txtAttId').value ) ;
288
		SetAttribute( oLink, 'title', 	GetE('txtAttTitle').value ) ;
289

  
290
		if ( oEditor.FCKBrowserInfo.IsIE )
291
		{
292
			var sClass = GetE('txtAttClasses').value ;
293
			// If it's also an anchor add an internal class
294
			if ( GetE('txtAttName').value.length != 0 )
295
				sClass += ' FCK__AnchorC' ;
296
			SetAttribute( oLink, 'className', sClass ) ;
297

  
298
			oLink.style.cssText = GetE('txtAttStyle').value ;
299
		}
300
		else
301
		{
302
			SetAttribute( oLink, 'class', GetE('txtAttClasses').value ) ;
303
			SetAttribute( oLink, 'style', GetE('txtAttStyle').value ) ;
304
		}
305
		
267 306
	}
268 307

  
269 308
	return true ;
branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/dialog/fck_image.html
190 190
							<option value="_parent" fcklang="DlgLnkTargetParent">Parent Window (_parent)</option>
191 191
						</select>
192 192
					</div>
193
					<div>
194
						<span fckLang="DlgGenContRel">Advisory Relation</span><br />
195
						<select id="cmbAttContentRel">
196
							<option value="" fckLang="DlgGenNotSet" selected>&lt;not set&gt;</option>
197
							<option value="fancybox" fckLang="Fancybox">Fancybox</option>
198
							<option value="prettyPhoto" fckLang="PrettyPhoto">PrettyPhoto</option>
199
<!--							<option value="prettyPhoto[gallery]" fckLang="PrettyPhoto Image Gallery">PrettyPhoto Image Gallery</option>
200
							<option value="prettyPhoto[flash]" fckLang="PrettyPhoto Flash">PrettyPhoto Flash</option>
201
							<option value="prettyPhoto[iframes]" fckLang="PrettyPhoto IFrames">PrettyPhoto IFrames</option>
202
							<option value="prettyPhoto[movies]" fckLang="PrettyPhoto Movies">PrettyPhoto Movies</option>
203
							<option value="prettyPopin" fckLang="PrettyPopin">Pretty Popin</option>
204
							<option value="prettyGallery" fckLang="PrettyGallery">Pretty Gallery</option>   -->
205
							<option value="alternate" fckLang="Alternate">Alternate</option>
206
							<option value="copyright" fckLang="copyright">Copyright</option>
207
							<option value="designates" fckLang="designates">Designates</option>
208
							<option value="nofollow" fckLang="nofollow">Nofollow</option>
209
							<option value="lightbox" fckLang="Lightbox">Lightbox</option>
210
							<option value="stylesheet" fckLang="stylesheet">Stylesheet</option>
211
							<option value="thumbnail" fckLang="Thumbnail">Thumbnail</option>
212
						</select>
213
					</div>
214

  
193 215
				</td>
194 216
			</tr>
195
		</table>
217

  
218
				<tr>
219
					<td valign="top">
220
						<span fckLang="DlgGenClass">Stylesheet Classes</span><br />
221
						<input id="txtAttClasses" style="WIDTH: 100%" type="text" />
222
					</td>
223
					<td></td>
224
					<td valign="top" width="50%">
225
						<span fckLang="DlgGenId">Id</span><br />
226
						<input id="txtAttId" style="WIDTH: 100%" type="text" />
227
					</td>
228
				</tr>
229
			</table>
230
			<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
231
				<tr>
232
					<td>
233
						<span fckLang="DlgGenStyle">Style</span><br />
234
						<input id="txtAttStyle" style="WIDTH: 100%" type="text" />
235
					</td>
236
				</tr>
237
				<tr>
238
					<td valign="top" width="100%">
239
						<span fckLang="DlgGenTitle">Advisory Title</span><br />
240
						<input id="txtAttTitle" style="WIDTH: 100%" type="text" />
241
					</td>
242
				</tr>
243
			</table>
196 244
	</div>
197 245
	<div id="divAdvanced" style="display: none">
198 246
		<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/lang/en.js
526 526
DlgAboutLicenseTab	: "License",
527 527
DlgAboutVersion		: "version",
528 528
DlgAboutInfo		: "For further information go to",
529
DlgAboutModule		: "Developed for Website Baker<br />modul version 2.9.3",
529 530

  
530 531
// Div Dialog
531 532
DlgDivGeneralTab	: "General",
branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/lang/de.js
526 526
DlgAboutLicenseTab	: "Lizenz",
527 527
DlgAboutVersion		: "Version",
528 528
DlgAboutInfo		: "Für weitere Informationen siehe",
529
DlgAboutModule		: "Anpassung für Website Baker<br />Modul Version 2.9.1",
529
DlgAboutModule		: "Anpassung für Website Baker<br />Modul Version 2.9.3",
530 530

  
531 531
// Div Dialog
532 532
DlgDivGeneralTab	: "Allgemein",
branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/flvPlayer.js
1
var oEditor = window.parent.InnerDialogLoaded() ;
2
var FCK		= oEditor.FCK ;
3

  
4
// Set the language direction.
5
window.document.dir = oEditor.FCKLang.Dir ;
6

  
7
// Set the Skin CSS.
8
document.write( '<link href="' + oEditor.FCKConfig.SkinPath + 'fck_dialog.css" type="text/css" rel="stylesheet">' ) ;
9

  
10
var sAgent = navigator.userAgent.toLowerCase() ;
11

  
12
var is_ie = (sAgent.indexOf("msie") != -1); // FCKBrowserInfo.IsIE
13
var is_gecko = !is_ie; // FCKBrowserInfo.IsGecko
14

  
15
var oMedia = null;
16
var is_new_flvplayer = true;
17

  
18
function window_onload()
19
{
20
	// Translate the dialog box texts.
21
	oEditor.FCKLanguageManager.TranslatePage(document) ;
22

  
23
	// Load the selected element information (if any).
24
	LoadSelection() ;
25

  
26
	// Show/Hide the "Browse Server" button.
27
	GetE('tdBrowse').style.display = oEditor.FCKConfig.FlashBrowser ? '' : 'none' ;
28

  
29
	// Activate the "OK" button.
30
	window.parent.SetOkButton( true ) ;
31
}
32

  
33

  
34
function getSelectedMovie(){
35
	var oSel = null;
36
	oMedia = new Media();
37
	oSel = FCK.Selection.GetParentElement();
38
	// If in "Get the Flash Player" a href, do it again
39
	if (oSel.id != null && !oSel.id.match(/^player[0-9]*$/)) {
40
		oSel = oSel.parentNode;
41
	}
42
	if (oSel.id != null && oSel.id.match(/^player[0-9]*$/)) {
43
		for (var i = 0; i < oSel.childNodes.length; i++) {
44
			if (oSel.childNodes.item(i).nodeName=="DIV") {
45
				var oC=oSel.childNodes.item(i).innerHTML.split(' ');
46
				for (var o = 0; o < oC.length ; o++) {
47
					var tmp=oC[o].split('=');
48
					oMedia.setAttribute(tmp[0],tmp[1]);
49
				}
50
				is_new_flvplayer = false;
51
			}
52
		}
53
	}
54
	return oMedia;
55
}
56

  
57
function updatePlaylistOption () {
58
	if (GetE('selDispPlaylist').value == "right" || GetE('selDispPlaylist').value == "below") {
59
		GetE('chkPLThumbs').disabled=false;
60
		GetE('chkPLThumbs').checked=true;
61
		GetE('txtPLDim').disabled=false;
62
		GetE('txtPLDim').style.background='#ffffff';
63
		GetE('spanDimText').style.display='none';
64
		if (GetE('selDispPlaylist').value == "right") {
65
			GetE('spanDimWText').style.display='';
66
			GetE('spanDimHText').style.display='none';
67
		} else if (GetE('selDispPlaylist').value == "below") {
68
			GetE('spanDimWText').style.display='none';
69
			GetE('spanDimHText').style.display='';
70
		}
71
	} else {
72
		GetE('chkPLThumbs').disabled=true;
73
		GetE('chkPLThumbs').checked=false;
74
		GetE('txtPLDim').value = "";
75
		GetE('txtPLDim').disabled=true;
76
		GetE('txtPLDim').style.background='transparent';
77
		GetE('spanDimText').style.display='';
78
		GetE('spanDimWText').style.display='none';
79
		GetE('spanDimHText').style.display='none';
80
	}
81
}
82

  
83

  
84
function LoadSelection()
85
{
86
	oMedia = new Media();
87
	oMedia = getSelectedMovie();
88
	//alert('test');
89
/*	
90
	alert (
91
		"id: " + oMedia.id +
92
		"\nUrl: " + oMedia.url + 
93
		"\nWidth: " + oMedia.width +
94
		"\nHeight: " + oMedia.height +
95
		"\nQuality: " + oMedia.quality +
96
		"\nScale: " + oMedia.scale +
97
		"\nVSpace: " + oMedia.vspace +
98
		"\nHSpace: " + oMedia.hspace +
99
		"\nAlign: " + oMedia.align +
100
		"\nBgcolor: " + oMedia.bgcolor +
101
		"\nLoop: " + oMedia.loop +
102
		"\nPlay: " + oMedia.play
103
	);
104
*/
105
	GetE('rbFileType').value	= oMedia.fileType;
106
	GetE('txtURL').value    	= oMedia.url;
107
	GetE('txtPlaylist').value   = oMedia.purl;
108
	GetE('txtImgURL').value    	= oMedia.iurl;
109
	GetE('txtWMURL').value    	= oMedia.wmurl;
110
	GetE('txtWidth').value		= oMedia.width;
111
	GetE('txtHeight').value		= oMedia.height;
112
	GetE('chkLoop').checked		= oMedia.loop;
113
	GetE('chkAutoplay').checked	= oMedia.play;
114
	GetE('chkDownload').checked 	= oMedia.downloadable;
115
	GetE('chkFullscreen').checked	= oMedia.fullscreen;
116
	GetE('txtBgColor').value	= oMedia.bgcolor;
117
	GetE('txtToolbarColor').value	= oMedia.toolcolor;
118
	GetE('txtToolbarTxtColor').value	= oMedia.tooltcolor;
119
	GetE('txtToolbarTxtRColor').value	= oMedia.tooltrcolor;
120
	GetE('chkShowNavigation').checked	= oMedia.displayNavigation;
121
	GetE('chkShowDigits').checked	= oMedia.displayDigits;
122
	GetE('selAlign').value		= oMedia.align;
123
	GetE('selDispPlaylist').value = oMedia.dispPlaylist;
124
	GetE('txtRURL').value = oMedia.rurl;
125
	GetE('txtPLDim').value = oMedia.playlistDim;
126
	GetE('chkPLThumbs').checked = oMedia.playlistThumbs;
127

  
128
	//updatePreview();
129
}
130

  
131
//#### The OK button was hit.
132
function Ok()
133
{
134
	var rbFileTypeVal = "single";
135
	if (GetE('rbFileType').checked == false) {
136
		rbFileTypeVal = "list";
137
	}
138

  
139
	if ( rbFileTypeVal == "single") {
140
		if ( GetE('txtURL').value.length == 0 )
141
		{
142
			GetE('txtURL').focus() ;	
143

  
144
			alert( oEditor.FCKLang.DlgFLVPlayerAlertUrl ) ;
145
			return false ;
146
		}
147
	}
148

  
149
	if (rbFileTypeVal == "list") {
150
		if ( GetE('txtPlaylist').value.length == 0 )
151
		{
152
			GetE('txtPlaylist').focus() ;	
153

  
154
			alert( oEditor.FCKLang.DlgFLVPlayerAlertPlaylist ) ;
155
			return false ;
156
		}
157
	}
158

  
159

  
160
	if ( GetE('txtWidth').value.length == 0 )
161
	{
162
		GetE('txtWidth').focus() ;	
163

  
164
		alert( oEditor.FCKLang.DlgFLVPlayerAlertWidth ) ;
165
		return false ;
166
	}
167

  
168
	if ( GetE('txtHeight').value.length == 0 )
169
	{
170
		GetE('txtHeight').focus() ;	
171

  
172
		alert( oEditor.FCKLang.DlgFLVPlayerAlertHeight ) ;
173
		return false ;
174
	}
175

  
176

  
177
	var e = (oMedia || new Media()) ;
178

  
179
	updateMovie(e) ;
180

  
181
	// Replace or insert?
182
	if (!is_new_flvplayer) {
183
		// Find parent..
184
	        oSel = FCK.Selection.GetParentElement();
185
		while (oSel != null && !oSel.id.match(/^player[0-9]*-parent$/)) {
186
			oSel=oSel.parentNode;
187
		}
188
		// Found - So replace
189
		if (oSel != null) {
190
			oSel.parentNode.removeChild(oSel);
191
			FCK.InsertHtml(e.getInnerHTML());
192
		}
193
	} else {
194
		FCK.InsertHtml(e.getInnerHTML());
195
	}
196

  
197
	return true ;
198
}
199

  
200

  
201
function updateMovie(e){
202
	e.fileType = GetE('rbFileType').value;
203
	e.url = GetE('txtURL').value;
204
	e.purl = GetE('txtPlaylist').value;
205
	e.iurl = GetE('txtImgURL').value;
206
	e.wmurl = GetE('txtWMURL').value;
207
	e.bgcolor = GetE('txtBgColor').value;
208
	e.toolcolor = GetE('txtToolbarColor').value;
209
	e.tooltcolor = GetE('txtToolbarTxtColor').value;
210
	e.tooltrcolor = GetE('txtToolbarTxtRColor').value;
211
	e.width = (isNaN(GetE('txtWidth').value)) ? 0 : parseInt(GetE('txtWidth').value);
212
	e.height = (isNaN(GetE('txtHeight').value)) ? 0 : parseInt(GetE('txtHeight').value);
213
	e.loop = (GetE('chkLoop').checked) ? 'true' : 'false';
214
	e.play = (GetE('chkAutoplay').checked) ? 'true' : 'false';
215
	e.downloadable = (GetE('chkDownload').checked) ? 'true' : 'false';
216
	e.fullscreen = (GetE('chkFullscreen').checked) ? 'true' : 'false';
217
	e.displayNavigation = (GetE('chkShowNavigation').checked) ? 'true' : 'false';
218
	e.displayDigits = (GetE('chkShowDigits').checked) ? 'true' : 'false';
219
	e.align =	GetE('selAlign').value;
220
	e.dispPlaylist =	GetE('selDispPlaylist').value;
221
	e.rurl = GetE('txtRURL').value;
222
	e.playlistDim = GetE('txtPLDim').value;
223
	e.playlistThumbs = (GetE('chkPLThumbs').checked) ? 'true' : 'false';
224
}
225

  
226

  
227
function BrowseServer()
228
{
229
	OpenServerBrowser(
230
		'flv',
231
		oEditor.FCKConfig.MediaBrowserURL,
232
		oEditor.FCKConfig.MediaBrowserWindowWidth,
233
		oEditor.FCKConfig.MediaBrowserWindowHeight ) ;
234
}
235

  
236

  
237
function LnkBrowseServer()
238
{
239
	OpenServerBrowser(
240
		'link',
241
		oEditor.FCKConfig.LinkBrowserURL,
242
		oEditor.FCKConfig.LinkBrowserWindowWidth,
243
		oEditor.FCKConfig.LinkBrowserWindowHeight ) ;
244
}
245

  
246
function Lnk2BrowseServer()
247
{
248
	OpenServerBrowser(
249
		'link2',
250
		oEditor.FCKConfig.LinkBrowserURL,
251
		oEditor.FCKConfig.LinkBrowserWindowWidth,
252
		oEditor.FCKConfig.LinkBrowserWindowHeight ) ;
253
}
254

  
255
function img1BrowseServer()
256
{
257
	OpenServerBrowser(
258
		'img1',
259
		oEditor.FCKConfig.ImageBrowserURL,
260
		oEditor.FCKConfig.ImageBrowserWindowWidth,
261
		oEditor.FCKConfig.ImageBrowserWindowHeight ) ;
262
}
263

  
264
function img2BrowseServer()
265
{
266
	OpenServerBrowser(
267
		'img2',
268
		oEditor.FCKConfig.ImageBrowserURL,
269
		oEditor.FCKConfig.ImageBrowserWindowWidth,
270
		oEditor.FCKConfig.ImageBrowserWindowHeight ) ;
271
}
272

  
273

  
274
function OpenServerBrowser( type, url, width, height )
275
{
276
	sActualBrowser = type ;
277
	OpenFileBrowser( url, width, height ) ;
278
}
279

  
280
var sActualBrowser ;
281

  
282

  
283
function SetUrl( url ) {
284
	if ( sActualBrowser == 'flv' ) {
285
		document.getElementById('txtURL').value = url ;
286
		GetE('txtHeight').value = GetE('txtWidth').value = '' ;
287
	} else if ( sActualBrowser == 'link' ) {
288
		document.getElementById('txtPlaylist').value = url ;
289
	} else if ( sActualBrowser == 'link2' ) {
290
		document.getElementById('txtRURL').value = url ;
291
	} else if ( sActualBrowser == 'img1' ) {
292
		document.getElementById('txtImgURL').value = url ;
293
	} else if ( sActualBrowser == 'img2' ) {
294
		document.getElementById('txtWMURL').value = url ;
295
	}
296
}
297

  
298

  
299

  
300

  
301
var Media = function (o){
302
	this.fileType = '';
303
	this.url = '';
304
	this.purl = '';
305
	this.iurl = '';
306
	this.wmurl = '';
307
	this.width = '';
308
	this.height = '';
309
	this.loop = '';
310
	this.play = '';
311
	this.downloadable = '';
312
	this.fullscreen = true;
313
	this.bgcolor = '';
314
	this.toolcolor = '';
315
	this.tooltcolor = '';
316
	this.tooltrcolor = '';
317
	this.displayNavigation = true;
318
	this.displayDigits = true;
319
	this.align = '';
320
	this.dispPlaylist = '';
321
	this.rurl = '';
322
	this.playlistDim = '';
323
	this.playlistThumbs = '';
324

  
325
	if (o) 
326
		this.setObjectElement(o);
327
};
328

  
329
Media.prototype.setObjectElement = function (e){
330
	if (!e) return ;
331
	this.width = GetAttribute( e, 'width', this.width );
332
	this.height = GetAttribute( e, 'height', this.height );
333
};
334

  
335
Media.prototype.setAttribute = function(attr, val) {
336
	if (val=="true") {
337
		this[attr]=true;
338
	} else if (val=="false") {
339
		this[attr]=false;
340
	} else {
341
		this[attr]=val;
342
	}
343
};
344

  
345
Media.prototype.getInnerHTML = function (objectId){
346
	var randomnumber = Math.floor(Math.random()*1000001);
347
	var thisWidth = this.width;
348
	var thisHeight = this.height;
349

  
350
	var thisMediaType = "single";
351
	if (GetE('rbFileType').checked == false) {
352
		thisMediaType = "mpl";
353
	}
354

  
355
	// Align
356
	var cssalign='';
357
	var cssfloat='';
358
	if (this.align=="center") {
359
		cssalign='margin-left: auto;margin-right: auto;';
360
	} else if (this.align=="right") {
361
		cssfloat='float: right;';
362
	} else if (this.align=="left") {
363
		cssfloat='float: left;';
364
	}
365

  
366
	var s = "";
367
	//s+= '<p>\n';
368
	s+= '<div id="player' + randomnumber + '-parent" style="text-align: center;' + cssfloat + '">\n';
369
	s+= '<div style="border-style: none; height: ' + thisHeight + 'px; width: ' + thisWidth + 'px; overflow: hidden; background-color: rgb(220, 220, 220); background-image: url(' + oEditor.FCKConfig.PluginsPath + 'flvPlayer/flvPlayer.gif); background-repeat:no-repeat; background-position:center;' + cssalign + '">';
370
	s+= '<script src="' + oEditor.FCKConfig.PluginsPath + 'flvPlayer/swfobject.js" type="text/javascript"></script>\n';
371
	s+= '<div id="player' + randomnumber + '">';
372
	s+= '<a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.';
373
	// Moved after info - Added width,height,overflow for MSIE7
374
	s+= '<div id="player' + randomnumber + '-config" style="display: none;visibility: hidden;width: 0px;height:0px;overflow: hidden;">';
375
	// Save settings
376
	for (var i in this) {
377
		if (!i || !this[i]) continue;
378
	        if (!i.match(/(set|get)/)) {
379
        	        s+=i+"="+this[i]+" ";
380
        	}
381
	}
382
	s+= '</div>';
383
	s+= '</div>';
384
	s+= '<script type="text/javascript">\n';
385
	//s+= '	//NOTE: FOR LIST OF POSSIBLE SETTINGS GOTO http://www.jeroenwijering.com/extras/readme.html\n';
386
	s+= '	var s1 = new SWFObject("' + oEditor.FCKConfig.PluginsPath + 'flvPlayer/mediaplayer.swf","' + thisMediaType + '","' + thisWidth + '","' + thisHeight + '","7");\n';
387
	s+= '	s1.addVariable("width","' + thisWidth + '");\n';
388
	s+= '	s1.addVariable("height","' + thisHeight + '");\n';
389
	s+= '	s1.addVariable("autostart","' + this.play + '");\n';
390

  
391
	if (thisMediaType == 'mpl') {
392
		s+= '	s1.addVariable("file","' + this.purl + '");\n';
393
		s+= '	s1.addVariable("autoscroll","true");\n';
394
		s+= '	s1.addParam("allowscriptaccess","always");\n';
395

  
396
		var dispWidth = thisWidth
397
		var dispHeight = thisHeight
398
		var dispThumbs = false
399

  
400
		if (this.dispPlaylist != "none") {
401
			if (this.dispPlaylist == "right") {
402

  
403
				if (this.playlistDim.length > 0) {
404
					dispWidth = thisWidth - this.playlistDim
405
					if (this.playlistDim < 100) {
406
						dispThumbs = false
407
					} else {
408
						dispThumbs = true
409
					}
410
				} else {
411
					if (thisWidth >= 550) {
412
						dispWidth = thisWidth - 200
413
						dispThumbs = true
414
					} else if (thisWidth >= 450) {
415
						dispWidth = thisWidth - 100
416
						dispThumbs = false
417
					} else if (thisWidth >= 350) {
418
						dispWidth = thisWidth - 50
419
						dispThumbs = false
420
					}
421
				}
422

  
423
				s+= '	s1.addVariable("displaywidth","' + dispWidth + '");\n';
424
			} else if (this.dispPlaylist == "below") {
425
				dispThumbs = true
426
				
427
				if (this.playlistDim.length > 0) {
428
					dispHeight = thisWidth - this.playlistDim
429
				} else {
430
					if (thisHeight >= 550) {
431
						dispHeight = thisWidth - 200
432
					} else if (thisHeight >= 450) {
433
						dispHeight = thisHeight - 150
434
					} else if (thisHeight >= 350) {
435
						dispHeight = thisHeight - 100
436
					}
437
				}
438

  
439
				s+= '	s1.addVariable("displayheight","' + dispHeight + '");\n';
440
			}
441

  
442
			if (this.playlistThumbs == "false") {
443
				dispThumbs = false;
444
			}
445
				
446
			s+= '	s1.addVariable("thumbsinplaylist","' + dispThumbs + '");\n';
447
		}
448

  
449
		s+= '	s1.addVariable("shuffle","false");\n';
450
		if (this.loop == true) {
451
			s+= '	s1.addVariable("repeat","list");\n';
452
		} else {
453
			s+= '	s1.addVariable("repeat","' + this.loop + '");\n';
454
		}
455
		s+= '	//s1.addVariable("transition","bgfade");\n';
456
	} else {
457
		s+= '	s1.addVariable("file","' + this.url + '");\n';
458
		s+= '	s1.addVariable("repeat","' + this.loop + '");\n';
459
		s+= '	s1.addVariable("image","' + this.iurl + '");\n';
460
	}
461

  
462
	s+= '	s1.addVariable("showdownload","' + this.downloadable + '");\n';
463
	s+= '	s1.addVariable("link","' + this.url + '");\n';
464
	s+= '	s1.addParam("allowfullscreen","' + this.fullscreen + '");\n';
465
	s+= '	s1.addVariable("showdigits","' + this.displayDigits + '");\n';
466
	s+= '	s1.addVariable("shownavigation","' + this.displayNavigation + '");\n';
467

  
468
	// SET THE COLOR OF THE TOOLBAR
469
	var colorChoice1 = this.toolcolor
470
	if (colorChoice1.length > 0) {
471
		colorChoice1 = colorChoice1.replace("#","0x")
472
		s+= '	s1.addVariable("backcolor","' + colorChoice1 + '");\n';
473
	}
474
	// SET THE COLOR OF THE TOOLBARS TEXT AND BUTTONS
475
	var colorChoice2 = this.tooltcolor
476
	if (colorChoice2.length > 0) {
477
		colorChoice2 = colorChoice2.replace("#","0x")
478
		s+= '	s1.addVariable("frontcolor","' + colorChoice2 + '");\n';
479
	}
480
	//SET COLOR OF ROLLOVER TEXT AND BUTTONS
481
	var colorChoice3 = this.tooltrcolor
482
	if (colorChoice3.length > 0) {
483
		colorChoice3 = colorChoice3.replace("#","0x")
484
		s+= '	s1.addVariable("lightcolor","' + colorChoice3 + '");\n';
485
	}
486
	//SET COLOR OF BACKGROUND
487
	var colorChoice4 = this.bgcolor
488
	if (colorChoice4.length > 0) {
489
		colorChoice4 = colorChoice4.replace("#","0x")
490
		s+= '	s1.addVariable("screencolor","' + colorChoice4 + '");\n';
491
	}
492

  
493
	s+= '	s1.addVariable("logo","' + this.wmurl + '");\n';
494
	if (this.rurl.length > 0) {
495
		s+= '	s1.addVariable("recommendations","' + this.rurl + '");\n';
496
	}
497

  
498
	//s+= '	//s1.addVariable("largecontrols","true");\n';
499
	//s+= '	//s1.addVariable("bufferlength","3");\n';
500
	//s+= '	//s1.addVariable("audio","http://www.jeroenwijering.com/extras/readme.html");\n';
501

  
502
	s+= '	s1.write("player' + randomnumber + '");\n';
503
	s+= '</script>\n';
504
	s+= '</div>\n';
505
	s+= '</div>\n';
506
	//s+= '</p>\n';
507

  
508
	return s;
509
};
510

  
511

  
512

  
513

  
514

  
515

  
516

  
517

  
518

  
519

  
520

  
521

  
522

  
523

  
524

  
525
function SelectColor1()
526
{
527
	oEditor.FCKDialog.OpenDialog( 'FCKDialog_Color', oEditor.FCKLang.DlgColorTitle, 'dialog/fck_colorselector.html', 400, 330, SelectBackColor, window ) ;
528
}
529

  
530
function SelectColor2()
531
{
532
	oEditor.FCKDialog.OpenDialog( 'FCKDialog_Color', oEditor.FCKLang.DlgColorTitle, 'dialog/fck_colorselector.html', 400, 330, SelectToolColor, window ) ;
533
}
534

  
535
function SelectColor3()
536
{
537
	oEditor.FCKDialog.OpenDialog( 'FCKDialog_Color', oEditor.FCKLang.DlgColorTitle, 'dialog/fck_colorselector.html', 400, 330, SelectToolTextColor, window ) ;
538
}
539

  
540
function SelectColor4()
541
{
542
	oEditor.FCKDialog.OpenDialog( 'FCKDialog_Color', oEditor.FCKLang.DlgColorTitle, 'dialog/fck_colorselector.html', 400, 330, SelectToolTextRColor, window ) ;
543
}
544

  
545
function SelectBackColor( color )
546
{
547
	if ( color && color.length > 0 ) {
548
		GetE('txtBgColor').value = color ;
549
		//updatePreview()
550
	}
551
}
552

  
553
function SelectToolColor( color )
554
{
555
	if ( color && color.length > 0 ) {
556
		GetE('txtToolbarColor').value = color ;
557
		//updatePreview()
558
	}
559
}
560

  
561
function SelectToolTextColor( color )
562
{
563
	if ( color && color.length > 0 ) {
564
		GetE('txtToolbarTxtColor').value = color ;
565
		//updatePreview()
566
	}
567
}
568

  
569
function SelectToolTextRColor( color )
570
{
571
	if ( color && color.length > 0 ) {
572
		GetE('txtToolbarTxtRColor').value = color ;
573
		//updatePreview()
574
	}
575
}
branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/mediaplayer.html
1
<html>
2
<head>
3
<style type="text/css">
4
	body { background-color: #fff; padding: 0 50px; color:#000; font: 13px/18px Arial, sans-serif; }
5
	a { color: #069; }
6
	h3 { padding-top: 50px; }
7
	ol { margin:5px 0 15px 16px; padding:0; list-style-type:square; }
8
</style>
9
</head>
10
<body>
11

  
12

  
13
<h3>Example</h3>
14
<p>Here's a simple example of the mediaplayer embedded in a page. Copy-paste the code to get started.</p>
15

  
16

  
17

  
18
<div id="container"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</div>
19
<script type="text/javascript" src="swfobject.js"></script>
20
<script type="text/javascript">
21
	var s1 = new SWFObject("mediaplayer.swf","mediaplayer","300","170","7");
22
	s1.addParam("allowfullscreen","true");
23
	s1.addVariable("width","300");
24
	s1.addVariable("height","170");
25
	s1.addVariable("file","video.flv");
26
	s1.addVariable("image","video.jpg");
27
	s1.write("container");
28
</script>
29

  
30

  
31

  
32
<h3 id="documentation">Documentation</h3>
33
<p>The easiest way to get going with the mediaplayer is <a href="http://www.jeroenwijering.com/?page=wizard" title="the flv mp3 media player wizard">by using the setup wizard</a>. Select an example, set the file or playlist you want to play and copy-paste the embed code to your site! If you want to learn more, here's the complete documentation:</p>
34
<ol>
35
<li>All <a href="http://www.jeroenwijering.com/?item=Supported_Flashvars" title="All Flashvars supported by the FLV Media Player">supported flashvars</a> (variables) you can set to customize the mediaplayer.</li>
36
<li>All <a href="http://www.jeroenwijering.com/?item=Supported_Playlists" title="All playlist formats by the FLV Media Player">supported playlist formats</a> you can use, plus some implementation info.</li>
37
<li>A large list <a href="http://www.jeroenwijering.com/?item=Third_Party_Plugins" title="WordPress, Joomla, Drupal, CMS Plugins">of all third-party plugins</a> for the mediaplayer.<br/>&nbsp;</li>
38
<li>A tutorial on <a href="http://www.jeroenwijering.com/?item=Embedding_Flash" title="embedding Flash"> embedding the mediaplayer</a> in your site.</li>
39
<li>A tutorial with <a href="http://www.jeroenwijering.com/?item=Javascript_interaction" title="Javascript interaction">all functions of the javascript API</a>.</li>
40
<li>A tutorial on <a href="http://www.jeroenwijering.com/?item=Making_Video_Accessible" title="W3C video Accessibility and the player">adding captions and an audiodescription</a> (accessibility).</li>
41
</ol>
42

  
43

  
44

  
45
</body>
46
</html>
branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/readme.html
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml">
3
<head>
4
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
5
<title>Untitled Document</title>
6
<style type="text/css">
7
<!--
8
.style1 {color: #FF6600}
9
.style3 {color: #333399}
10
body {
11
	font-family: Verdana, Arial, Helvetica, sans-serif;
12
	font-size: 12px;
13
}
14
-->
15
</style>
16
</head>
17

  
18
<body>
19
<h1>flvPlayer - A plugin for FCKeditor</h1>
20
<h3>Overview</h3>
21
<blockquote>
22
  <p>The flvPlayer plugin allows you to add and configure a small media player that playes flv and mp3's.</p>
23
</blockquote>
24
<h3>Installation and Configuration </h3>
25
<ol>
26
  <li>Unzip the files into the plugins folder.</li>
27
  <li>Configure the editor to see the plugin. In your editor configuration file, add the line below:<br />
28
    <br />
29
    <span class="style1">FCKConfig.Plugins.Add( 'flvPlayer','en') ;</span><br />
30
  <br />
31
  </li>
32
  <li>Add the toolbar button to your preferred menu.<br />
33
    <br />
34
    <span class="style1">FCKConfig.ToolbarSets[    &quot;Default&quot;] = [<br />
35
    ['Source','DocProps','-','Save','NewPage','Preview','-','Templates',<span class="style3">'flvPlayer'</span>],</span><br />
36
    <br />
37
  </li>
38
  <li>Save and upload your configuration file. If all goes well, you should see the flvPlayer icon <img src="flvPlayer.gif" alt="flvPlayer" width="16" height="16" />on your toolbar. </li>
39
</ol>
40
<p>&nbsp; </p>
41
</body>
42
</html>
branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/ru.js
1
// FLV Player Dialog
2
FCKLang["DlgFLVPlayerTitle"]          = "FLV Media Player";
3
FCKLang["DlgFLVPlayerURL"]            = "Movie/Media File" ;
4
FCKLang["DlgFLVPlayerBtnBrowse"]      = "Browse..." ;
5
FCKLang["DlgFLVPlayerImgURL"]         = "Preview Image" ;
6
FCKLang["DlgFLVPlayerWidth"]          = "Player Width (px)" ;
7
FCKLang["DlgFLVPlayerHeight"]         = "Player Height (px)" ;
8
FCKLang["DlgFLVPlayerAlign"]          = "Player Alignment" ;
9
FCKLang["DlgFLVPlayerAlignLeft"]      = "Left" ;
10
FCKLang["DlgFLVPlayerAlignRight"]     = "Right" ;
11
FCKLang["DlgFLVPlayerAlignCenter"]    = "Center" ;
12
FCKLang["DlgFLVPlayerHSpace"]         = "HSpace" ;
13
FCKLang["DlgFLVPlayerVSpace"]         = "VSpace" ;
14
FCKLang["DlgFLVPlayerBgColor"]        = "Background Color"
15
FCKLang["DlgFLVPlayerTBColor"]        = "Toolbar Color"
16
FCKLang["DlgFLVPlayerTBTColor"]       = "Text Color"
17
FCKLang["DlgFLVPlayerTBTRColor"]      = "Rollover Text Color"
18
FCKLang["DlgFLVPlayerBtnSelect"]      = "Select..."
19
FCKLang["DlgFLVPlayerAutoplay"]       = "Autoplay" ;
20
FCKLang["DlgFLVPlayerLoop"]           = "Loop" ;
21
FCKLang["DlgFLVPlayerDownload"]       = "Downloadable" ;
22
FCKLang["DlgFLVPlayerFullscreen"]     = "Allow Fullscreen" ;
23
FCKLang["DlgFLVPlayerAlertUrl"]       = "Please input the URL"
24
FCKLang["DlgFLVPlayerAlertPlaylist"]  = "Please input the Playlist URL"
25
FCKLang["DlgFLVPlayerAlertWidth"]     = "Please input the Width"
26
FCKLang["DlgFLVPlayerAlertHeight"]    = "Please input the Height"
27
FCKLang["DlgFLVPlayerPlayerAttrs"]    = "Player Attributes"
28
FCKLang["DlgFLVPlayerMovieAttrs"]     = "Media Attributes"
29
FCKLang["DlgFLVPlayerShowNavigation"] = "Display Navigation"
30
FCKLang["DlgFLVPlayerShowDigits"]     = "Display Time"
31
FCKLang["DlgFLVPlayerWatermarkURL"]   = "Watermark Image"
32
FCKLang["DlgFLVPlayerFileType"]		  = "File Type"
33
FCKLang["DlgFLVPlayerSingleFile"]     = "Single Media File"
34
FCKLang["DlgFLVPlayerPlaylistFile"]   = "Media Playlist"
35
FCKLang["DlgFLVPlayerPlaylistURL"]    = "Playlist URL"
36
FCKLang["DlgFLVPlayerDispPlaylist"]   = "Display Playlist"
37
FCKLang["DlgFLVPlayerDispPLNone"]     = "Do Not Display"
38
FCKLang["DlgFLVPlayerDispPLRight"]    = "Display On Right"
39
FCKLang["DlgFLVPlayerDispPLBelow"]    = "Display Below"
40
FCKLang["DlgFLVPlayerRecommendURL"]   = "Recommendations List"
41
FCKLang["DlgFLVPlaylistWidth"]        = "Playlist Width (px)"
42
FCKLang["DlgFLVPlaylistHeight"]       = "Playlist Height (px)"
43
FCKLang["DlgFLVPlaylistDimText"]      = "Playlist Dimension"
44
FCKLang["DlgFLVPlayerPLThumbs"]       = "Display Thumbnails in Playlist"
45

  
branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/fr.js
1
// FLV Player Dialog
2
FCKLang["DlgFLVPlayerTitle"]          = "FLV Media Player";
3
FCKLang["DlgFLVPlayerURL"]            = "Movie/Media File" ;
4
FCKLang["DlgFLVPlayerBtnBrowse"]      = "Browse..." ;
5
FCKLang["DlgFLVPlayerImgURL"]         = "Preview Image" ;
6
FCKLang["DlgFLVPlayerWidth"]          = "Player Width (px)" ;
7
FCKLang["DlgFLVPlayerHeight"]         = "Player Height (px)" ;
8
FCKLang["DlgFLVPlayerAlign"]          = "Player Alignment" ;
9
FCKLang["DlgFLVPlayerAlignLeft"]      = "Left" ;
10
FCKLang["DlgFLVPlayerAlignRight"]     = "Right" ;
11
FCKLang["DlgFLVPlayerAlignCenter"]    = "Center" ;
12
FCKLang["DlgFLVPlayerHSpace"]         = "HSpace" ;
13
FCKLang["DlgFLVPlayerVSpace"]         = "VSpace" ;
14
FCKLang["DlgFLVPlayerBgColor"]        = "Background Color"
15
FCKLang["DlgFLVPlayerTBColor"]        = "Toolbar Color"
16
FCKLang["DlgFLVPlayerTBTColor"]       = "Text Color"
17
FCKLang["DlgFLVPlayerTBTRColor"]      = "Rollover Text Color"
18
FCKLang["DlgFLVPlayerBtnSelect"]      = "Select..."
19
FCKLang["DlgFLVPlayerAutoplay"]       = "Autoplay" ;
20
FCKLang["DlgFLVPlayerLoop"]           = "Loop" ;
21
FCKLang["DlgFLVPlayerDownload"]       = "Downloadable" ;
22
FCKLang["DlgFLVPlayerFullscreen"]     = "Allow Fullscreen" ;
23
FCKLang["DlgFLVPlayerAlertUrl"]       = "Please input the URL"
24
FCKLang["DlgFLVPlayerAlertPlaylist"]  = "Please input the Playlist URL"
25
FCKLang["DlgFLVPlayerAlertWidth"]     = "Please input the Width"
26
FCKLang["DlgFLVPlayerAlertHeight"]    = "Please input the Height"
27
FCKLang["DlgFLVPlayerPlayerAttrs"]    = "Player Attributes"
28
FCKLang["DlgFLVPlayerMovieAttrs"]     = "Media Attributes"
29
FCKLang["DlgFLVPlayerShowNavigation"] = "Display Navigation"
30
FCKLang["DlgFLVPlayerShowDigits"]     = "Display Time"
31
FCKLang["DlgFLVPlayerWatermarkURL"]   = "Watermark Image"
32
FCKLang["DlgFLVPlayerFileType"]		  = "File Type"
33
FCKLang["DlgFLVPlayerSingleFile"]     = "Single Media File"
34
FCKLang["DlgFLVPlayerPlaylistFile"]   = "Media Playlist"
35
FCKLang["DlgFLVPlayerPlaylistURL"]    = "Playlist URL"
36
FCKLang["DlgFLVPlayerDispPlaylist"]   = "Display Playlist"
37
FCKLang["DlgFLVPlayerDispPLNone"]     = "Do Not Display"
38
FCKLang["DlgFLVPlayerDispPLRight"]    = "Display On Right"
39
FCKLang["DlgFLVPlayerDispPLBelow"]    = "Display Below"
40
FCKLang["DlgFLVPlayerRecommendURL"]   = "Recommendations List"
41
FCKLang["DlgFLVPlaylistWidth"]        = "Playlist Width (px)"
42
FCKLang["DlgFLVPlaylistHeight"]       = "Playlist Height (px)"
43
FCKLang["DlgFLVPlaylistDimText"]      = "Playlist Dimension"
44
FCKLang["DlgFLVPlayerPLThumbs"]       = "Display Thumbnails in Playlist"
45

  
branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/de.js
1
// FLV Player Dialog
2
FCKLang["DlgFLVPlayerTitle"]          = "FLV Media Player";
3
FCKLang["DlgFLVPlayerURL"]            = "Movie/Media File" ;
4
FCKLang["DlgFLVPlayerBtnBrowse"]      = "Browse..." ;
5
FCKLang["DlgFLVPlayerImgURL"]         = "Preview Image" ;
6
FCKLang["DlgFLVPlayerWidth"]          = "Player Width (px)" ;
7
FCKLang["DlgFLVPlayerHeight"]         = "Player Height (px)" ;
8
FCKLang["DlgFLVPlayerAlign"]          = "Player Alignment" ;
9
FCKLang["DlgFLVPlayerAlignLeft"]      = "Left" ;
10
FCKLang["DlgFLVPlayerAlignRight"]     = "Right" ;
11
FCKLang["DlgFLVPlayerAlignCenter"]    = "Center" ;
12
FCKLang["DlgFLVPlayerHSpace"]         = "HSpace" ;
13
FCKLang["DlgFLVPlayerVSpace"]         = "VSpace" ;
14
FCKLang["DlgFLVPlayerBgColor"]        = "Background Color"
15
FCKLang["DlgFLVPlayerTBColor"]        = "Toolbar Color"
16
FCKLang["DlgFLVPlayerTBTColor"]       = "Text Color"
17
FCKLang["DlgFLVPlayerTBTRColor"]      = "Rollover Text Color"
18
FCKLang["DlgFLVPlayerBtnSelect"]      = "Select..."
19
FCKLang["DlgFLVPlayerAutoplay"]       = "Autoplay" ;
20
FCKLang["DlgFLVPlayerLoop"]           = "Loop" ;
21
FCKLang["DlgFLVPlayerDownload"]       = "Downloadable" ;
22
FCKLang["DlgFLVPlayerFullscreen"]     = "Allow Fullscreen" ;
23
FCKLang["DlgFLVPlayerAlertUrl"]       = "Please input the URL"
24
FCKLang["DlgFLVPlayerAlertPlaylist"]  = "Please input the Playlist URL"
25
FCKLang["DlgFLVPlayerAlertWidth"]     = "Please input the Width"
26
FCKLang["DlgFLVPlayerAlertHeight"]    = "Please input the Height"
27
FCKLang["DlgFLVPlayerPlayerAttrs"]    = "Player Attributes"
28
FCKLang["DlgFLVPlayerMovieAttrs"]     = "Media Attributes"
29
FCKLang["DlgFLVPlayerShowNavigation"] = "Display Navigation"
30
FCKLang["DlgFLVPlayerShowDigits"]     = "Display Time"
31
FCKLang["DlgFLVPlayerWatermarkURL"]   = "Watermark Image"
32
FCKLang["DlgFLVPlayerFileType"]		  = "File Type"
33
FCKLang["DlgFLVPlayerSingleFile"]     = "Single Media File"
34
FCKLang["DlgFLVPlayerPlaylistFile"]   = "Media Playlist"
35
FCKLang["DlgFLVPlayerPlaylistURL"]    = "Playlist URL"
36
FCKLang["DlgFLVPlayerDispPlaylist"]   = "Display Playlist"
37
FCKLang["DlgFLVPlayerDispPLNone"]     = "Do Not Display"
38
FCKLang["DlgFLVPlayerDispPLRight"]    = "Display On Right"
39
FCKLang["DlgFLVPlayerDispPLBelow"]    = "Display Below"
40
FCKLang["DlgFLVPlayerRecommendURL"]   = "Recommendations List"
41
FCKLang["DlgFLVPlaylistWidth"]        = "Playlist Width (px)"
42
FCKLang["DlgFLVPlaylistHeight"]       = "Playlist Height (px)"
43
FCKLang["DlgFLVPlaylistDimText"]      = "Playlist Dimension"
44
FCKLang["DlgFLVPlayerPLThumbs"]       = "Display Thumbnails in Playlist"
45

  
branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/sv.js
1
// FLV Player Dialog
2
FCKLang["DlgFLVPlayerTitle"]          = "FLV Media Player";
3
FCKLang["DlgFLVPlayerURL"]            = "Movie/Media File" ;
4
FCKLang["DlgFLVPlayerBtnBrowse"]      = "Browse..." ;
5
FCKLang["DlgFLVPlayerImgURL"]         = "Preview Image" ;
6
FCKLang["DlgFLVPlayerWidth"]          = "Player Width (px)" ;
7
FCKLang["DlgFLVPlayerHeight"]         = "Player Height (px)" ;
8
FCKLang["DlgFLVPlayerAlign"]          = "Player Alignment" ;
9
FCKLang["DlgFLVPlayerAlignLeft"]      = "Left" ;
10
FCKLang["DlgFLVPlayerAlignRight"]     = "Right" ;
11
FCKLang["DlgFLVPlayerAlignCenter"]    = "Center" ;
12
FCKLang["DlgFLVPlayerHSpace"]         = "HSpace" ;
13
FCKLang["DlgFLVPlayerVSpace"]         = "VSpace" ;
14
FCKLang["DlgFLVPlayerBgColor"]        = "Background Color"
15
FCKLang["DlgFLVPlayerTBColor"]        = "Toolbar Color"
16
FCKLang["DlgFLVPlayerTBTColor"]       = "Text Color"
17
FCKLang["DlgFLVPlayerTBTRColor"]      = "Rollover Text Color"
18
FCKLang["DlgFLVPlayerBtnSelect"]      = "Select..."
19
FCKLang["DlgFLVPlayerAutoplay"]       = "Autoplay" ;
20
FCKLang["DlgFLVPlayerLoop"]           = "Loop" ;
21
FCKLang["DlgFLVPlayerDownload"]       = "Downloadable" ;
22
FCKLang["DlgFLVPlayerFullscreen"]     = "Allow Fullscreen" ;
23
FCKLang["DlgFLVPlayerAlertUrl"]       = "Please input the URL"
24
FCKLang["DlgFLVPlayerAlertPlaylist"]  = "Please input the Playlist URL"
25
FCKLang["DlgFLVPlayerAlertWidth"]     = "Please input the Width"
26
FCKLang["DlgFLVPlayerAlertHeight"]    = "Please input the Height"
27
FCKLang["DlgFLVPlayerPlayerAttrs"]    = "Player Attributes"
28
FCKLang["DlgFLVPlayerMovieAttrs"]     = "Media Attributes"
29
FCKLang["DlgFLVPlayerShowNavigation"] = "Display Navigation"
30
FCKLang["DlgFLVPlayerShowDigits"]     = "Display Time"
31
FCKLang["DlgFLVPlayerWatermarkURL"]   = "Watermark Image"
32
FCKLang["DlgFLVPlayerFileType"]		  = "File Type"
33
FCKLang["DlgFLVPlayerSingleFile"]     = "Single Media File"
34
FCKLang["DlgFLVPlayerPlaylistFile"]   = "Media Playlist"
35
FCKLang["DlgFLVPlayerPlaylistURL"]    = "Playlist URL"
36
FCKLang["DlgFLVPlayerDispPlaylist"]   = "Display Playlist"
37
FCKLang["DlgFLVPlayerDispPLNone"]     = "Do Not Display"
38
FCKLang["DlgFLVPlayerDispPLRight"]    = "Display On Right"
39
FCKLang["DlgFLVPlayerDispPLBelow"]    = "Display Below"
40
FCKLang["DlgFLVPlayerRecommendURL"]   = "Recommendations List"
41
FCKLang["DlgFLVPlaylistWidth"]        = "Playlist Width (px)"
42
FCKLang["DlgFLVPlaylistHeight"]       = "Playlist Height (px)"
43
FCKLang["DlgFLVPlaylistDimText"]      = "Playlist Dimension"
44
FCKLang["DlgFLVPlayerPLThumbs"]       = "Display Thumbnails in Playlist"
45

  
branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/ee.js
1
// FLV Player Dialog
2
FCKLang["DlgFLVPlayerTitle"]          = "FLV Media Player";
3
FCKLang["DlgFLVPlayerURL"]            = "Movie/Media File" ;
4
FCKLang["DlgFLVPlayerBtnBrowse"]      = "Browse..." ;
5
FCKLang["DlgFLVPlayerImgURL"]         = "Preview Image" ;
6
FCKLang["DlgFLVPlayerWidth"]          = "Player Width (px)" ;
7
FCKLang["DlgFLVPlayerHeight"]         = "Player Height (px)" ;
8
FCKLang["DlgFLVPlayerAlign"]          = "Player Alignment" ;
9
FCKLang["DlgFLVPlayerAlignLeft"]      = "Left" ;
10
FCKLang["DlgFLVPlayerAlignRight"]     = "Right" ;
11
FCKLang["DlgFLVPlayerAlignCenter"]    = "Center" ;
12
FCKLang["DlgFLVPlayerHSpace"]         = "HSpace" ;
13
FCKLang["DlgFLVPlayerVSpace"]         = "VSpace" ;
14
FCKLang["DlgFLVPlayerBgColor"]        = "Background Color"
15
FCKLang["DlgFLVPlayerTBColor"]        = "Toolbar Color"
16
FCKLang["DlgFLVPlayerTBTColor"]       = "Text Color"
17
FCKLang["DlgFLVPlayerTBTRColor"]      = "Rollover Text Color"
18
FCKLang["DlgFLVPlayerBtnSelect"]      = "Select..."
19
FCKLang["DlgFLVPlayerAutoplay"]       = "Autoplay" ;
20
FCKLang["DlgFLVPlayerLoop"]           = "Loop" ;
21
FCKLang["DlgFLVPlayerDownload"]       = "Downloadable" ;
22
FCKLang["DlgFLVPlayerFullscreen"]     = "Allow Fullscreen" ;
23
FCKLang["DlgFLVPlayerAlertUrl"]       = "Please input the URL"
24
FCKLang["DlgFLVPlayerAlertPlaylist"]  = "Please input the Playlist URL"
25
FCKLang["DlgFLVPlayerAlertWidth"]     = "Please input the Width"
26
FCKLang["DlgFLVPlayerAlertHeight"]    = "Please input the Height"
27
FCKLang["DlgFLVPlayerPlayerAttrs"]    = "Player Attributes"
28
FCKLang["DlgFLVPlayerMovieAttrs"]     = "Media Attributes"
29
FCKLang["DlgFLVPlayerShowNavigation"] = "Display Navigation"
30
FCKLang["DlgFLVPlayerShowDigits"]     = "Display Time"
31
FCKLang["DlgFLVPlayerWatermarkURL"]   = "Watermark Image"
32
FCKLang["DlgFLVPlayerFileType"]		  = "File Type"
33
FCKLang["DlgFLVPlayerSingleFile"]     = "Single Media File"
34
FCKLang["DlgFLVPlayerPlaylistFile"]   = "Media Playlist"
35
FCKLang["DlgFLVPlayerPlaylistURL"]    = "Playlist URL"
36
FCKLang["DlgFLVPlayerDispPlaylist"]   = "Display Playlist"
37
FCKLang["DlgFLVPlayerDispPLNone"]     = "Do Not Display"
38
FCKLang["DlgFLVPlayerDispPLRight"]    = "Display On Right"
39
FCKLang["DlgFLVPlayerDispPLBelow"]    = "Display Below"
40
FCKLang["DlgFLVPlayerRecommendURL"]   = "Recommendations List"
41
FCKLang["DlgFLVPlaylistWidth"]        = "Playlist Width (px)"
42
FCKLang["DlgFLVPlaylistHeight"]       = "Playlist Height (px)"
43
FCKLang["DlgFLVPlaylistDimText"]      = "Playlist Dimension"
44
FCKLang["DlgFLVPlayerPLThumbs"]       = "Display Thumbnails in Playlist"
45

  
branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/nl.js
1
// FLV Player Dialog
2
FCKLang["DlgFLVPlayerTitle"]          = "FLV Media Player";
3
FCKLang["DlgFLVPlayerURL"]            = "Movie/Media File" ;
4
FCKLang["DlgFLVPlayerBtnBrowse"]      = "Browse..." ;
5
FCKLang["DlgFLVPlayerImgURL"]         = "Preview Image" ;
6
FCKLang["DlgFLVPlayerWidth"]          = "Player Width (px)" ;
7
FCKLang["DlgFLVPlayerHeight"]         = "Player Height (px)" ;
8
FCKLang["DlgFLVPlayerAlign"]          = "Player Alignment" ;
9
FCKLang["DlgFLVPlayerAlignLeft"]      = "Left" ;
10
FCKLang["DlgFLVPlayerAlignRight"]     = "Right" ;
11
FCKLang["DlgFLVPlayerAlignCenter"]    = "Center" ;
12
FCKLang["DlgFLVPlayerHSpace"]         = "HSpace" ;
13
FCKLang["DlgFLVPlayerVSpace"]         = "VSpace" ;
14
FCKLang["DlgFLVPlayerBgColor"]        = "Background Color"
15
FCKLang["DlgFLVPlayerTBColor"]        = "Toolbar Color"
16
FCKLang["DlgFLVPlayerTBTColor"]       = "Text Color"
17
FCKLang["DlgFLVPlayerTBTRColor"]      = "Rollover Text Color"
18
FCKLang["DlgFLVPlayerBtnSelect"]      = "Select..."
19
FCKLang["DlgFLVPlayerAutoplay"]       = "Autoplay" ;
20
FCKLang["DlgFLVPlayerLoop"]           = "Loop" ;
21
FCKLang["DlgFLVPlayerDownload"]       = "Downloadable" ;
22
FCKLang["DlgFLVPlayerFullscreen"]     = "Allow Fullscreen" ;
23
FCKLang["DlgFLVPlayerAlertUrl"]       = "Please input the URL"
24
FCKLang["DlgFLVPlayerAlertPlaylist"]  = "Please input the Playlist URL"
25
FCKLang["DlgFLVPlayerAlertWidth"]     = "Please input the Width"
26
FCKLang["DlgFLVPlayerAlertHeight"]    = "Please input the Height"
27
FCKLang["DlgFLVPlayerPlayerAttrs"]    = "Player Attributes"
28
FCKLang["DlgFLVPlayerMovieAttrs"]     = "Media Attributes"
29
FCKLang["DlgFLVPlayerShowNavigation"] = "Display Navigation"
30
FCKLang["DlgFLVPlayerShowDigits"]     = "Display Time"
31
FCKLang["DlgFLVPlayerWatermarkURL"]   = "Watermark Image"
32
FCKLang["DlgFLVPlayerFileType"]		  = "File Type"
33
FCKLang["DlgFLVPlayerSingleFile"]     = "Single Media File"
34
FCKLang["DlgFLVPlayerPlaylistFile"]   = "Media Playlist"
35
FCKLang["DlgFLVPlayerPlaylistURL"]    = "Playlist URL"
36
FCKLang["DlgFLVPlayerDispPlaylist"]   = "Display Playlist"
37
FCKLang["DlgFLVPlayerDispPLNone"]     = "Do Not Display"
38
FCKLang["DlgFLVPlayerDispPLRight"]    = "Display On Right"
39
FCKLang["DlgFLVPlayerDispPLBelow"]    = "Display Below"
40
FCKLang["DlgFLVPlayerRecommendURL"]   = "Recommendations List"
41
FCKLang["DlgFLVPlaylistWidth"]        = "Playlist Width (px)"
42
FCKLang["DlgFLVPlaylistHeight"]       = "Playlist Height (px)"
43
FCKLang["DlgFLVPlaylistDimText"]      = "Playlist Dimension"
44
FCKLang["DlgFLVPlayerPLThumbs"]       = "Display Thumbnails in Playlist"
45

  
branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/fi.js
1
// FLV Player Dialog
2
FCKLang["DlgFLVPlayerTitle"]          = "FLV Mediasoitin";
3
FCKLang["DlgFLVPlayerURL"]            = "Video/Media tiedosto" ;
4
FCKLang["DlgFLVPlayerBtnBrowse"]      = "Selaa..." ;
5
FCKLang["DlgFLVPlayerImgURL"]         = "Esikatselu kuva" ;
6
FCKLang["DlgFLVPlayerWidth"]          = "Soittimen leveys (px)" ;
7
FCKLang["DlgFLVPlayerHeight"]         = "Soittimen korkeus (px)" ;
8
FCKLang["DlgFLVPlayerAlign"]          = "Soittimen kohdistus" ;
9
FCKLang["DlgFLVPlayerAlignLeft"]      = "Vasen" ;
10
FCKLang["DlgFLVPlayerAlignRight"]     = "Oikea" ;
11
FCKLang["DlgFLVPlayerAlignCenter"]    = "Keskitetty" ;
12
FCKLang["DlgFLVPlayerHSpace"]         = "Vaakatila" ;
13
FCKLang["DlgFLVPlayerVSpace"]         = "Pystytila" ;
14
FCKLang["DlgFLVPlayerBgColor"]        = "Taustaväri"
15
FCKLang["DlgFLVPlayerTBColor"]        = "Toolbar Color"
16
FCKLang["DlgFLVPlayerTBTColor"]       = "Tekstin väri"
17
FCKLang["DlgFLVPlayerTBTRColor"]      = "Rollover Text Color"
18
FCKLang["DlgFLVPlayerBtnSelect"]      = "Valitse..."
19
FCKLang["DlgFLVPlayerAutoplay"]       = "Automaattinen toisto" ;
20
FCKLang["DlgFLVPlayerLoop"]           = "Jatkuva" ;
21
FCKLang["DlgFLVPlayerDownload"]       = "Ladattavissa" ;
22
FCKLang["DlgFLVPlayerFullscreen"]     = "Salli koko näyttötila" ;
23
FCKLang["DlgFLVPlayerAlertUrl"]       = "Anna osoite (URL)"
24
FCKLang["DlgFLVPlayerAlertPlaylist"]  = "Anna soittolistan osoite (URL)"
25
FCKLang["DlgFLVPlayerAlertWidth"]     = "Anna leveys"
26
FCKLang["DlgFLVPlayerAlertHeight"]    = "Anna korkeus"
27
FCKLang["DlgFLVPlayerPlayerAttrs"]    = "Soittimen asetukset"
28
FCKLang["DlgFLVPlayerMovieAttrs"]     = "Media asetukset"
29
FCKLang["DlgFLVPlayerShowNavigation"] = "Näytä navigaatio"
30
FCKLang["DlgFLVPlayerShowDigits"]     = "Näytä aika"
31
FCKLang["DlgFLVPlayerWatermarkURL"]   = "Vesileiman kuva"
32
FCKLang["DlgFLVPlayerFileType"]	      = "Tiedostotyyppi"
33
FCKLang["DlgFLVPlayerSingleFile"]     = "Yksittäinen media tiedosto"
34
FCKLang["DlgFLVPlayerPlaylistFile"]   = "Media soittolista"
35
FCKLang["DlgFLVPlayerPlaylistURL"]    = "Soittolistan osoite (URL)"
36
FCKLang["DlgFLVPlayerDispPlaylist"]   = "Näytä soittolista"
37
FCKLang["DlgFLVPlayerDispPLNone"]     = "Älä näytä"
38
FCKLang["DlgFLVPlayerDispPLRight"]    = "Näytä oikella"
39
FCKLang["DlgFLVPlayerDispPLBelow"]    = "Näytä alla"
40
FCKLang["DlgFLVPlayerRecommendURL"]   = "Suosituslista"
41
FCKLang["DlgFLVPlaylistWidth"]        = "Soittolistan leveys (px)"
42
FCKLang["DlgFLVPlaylistHeight"]       = "Soittolistan korkeus (px)"
43
FCKLang["DlgFLVPlaylistDimText"]      = "Soittolistan koko"
44
FCKLang["DlgFLVPlayerPLThumbs"]       = "Näytä esikatselukuva soittolistassa"
45

  
branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/en.js
1
// FLV Player Dialog
2
FCKLang["DlgFLVPlayerTitle"]          = "FLV Media Player";
3
FCKLang["DlgFLVPlayerURL"]            = "Movie/Media File" ;
4
FCKLang["DlgFLVPlayerBtnBrowse"]      = "Browse..." ;
5
FCKLang["DlgFLVPlayerImgURL"]         = "Preview Image" ;
6
FCKLang["DlgFLVPlayerWidth"]          = "Player Width (px)" ;
7
FCKLang["DlgFLVPlayerHeight"]         = "Player Height (px)" ;
8
FCKLang["DlgFLVPlayerAlign"]          = "Player Alignment" ;
9
FCKLang["DlgFLVPlayerAlignLeft"]      = "Left" ;
10
FCKLang["DlgFLVPlayerAlignRight"]     = "Right" ;
11
FCKLang["DlgFLVPlayerAlignCenter"]    = "Center" ;
12
FCKLang["DlgFLVPlayerHSpace"]         = "HSpace" ;
13
FCKLang["DlgFLVPlayerVSpace"]         = "VSpace" ;
14
FCKLang["DlgFLVPlayerBgColor"]        = "Background Color"
15
FCKLang["DlgFLVPlayerTBColor"]        = "Toolbar Color"
16
FCKLang["DlgFLVPlayerTBTColor"]       = "Text Color"
17
FCKLang["DlgFLVPlayerTBTRColor"]      = "Rollover Text Color"
18
FCKLang["DlgFLVPlayerBtnSelect"]      = "Select..."
19
FCKLang["DlgFLVPlayerAutoplay"]       = "Autoplay" ;
20
FCKLang["DlgFLVPlayerLoop"]           = "Loop" ;
21
FCKLang["DlgFLVPlayerDownload"]       = "Downloadable" ;
22
FCKLang["DlgFLVPlayerFullscreen"]     = "Allow Fullscreen" ;
23
FCKLang["DlgFLVPlayerAlertUrl"]       = "Please input the URL"
24
FCKLang["DlgFLVPlayerAlertPlaylist"]  = "Please input the Playlist URL"
25
FCKLang["DlgFLVPlayerAlertWidth"]     = "Please input the Width"
26
FCKLang["DlgFLVPlayerAlertHeight"]    = "Please input the Height"
27
FCKLang["DlgFLVPlayerPlayerAttrs"]    = "Player Attributes"
28
FCKLang["DlgFLVPlayerMovieAttrs"]     = "Media Attributes"
29
FCKLang["DlgFLVPlayerShowNavigation"] = "Display Navigation"
30
FCKLang["DlgFLVPlayerShowDigits"]     = "Display Time"
31
FCKLang["DlgFLVPlayerWatermarkURL"]   = "Watermark Image"
32
FCKLang["DlgFLVPlayerFileType"]		  = "File Type"
33
FCKLang["DlgFLVPlayerSingleFile"]     = "Single Media File"
34
FCKLang["DlgFLVPlayerPlaylistFile"]   = "Media Playlist"
35
FCKLang["DlgFLVPlayerPlaylistURL"]    = "Playlist URL"
36
FCKLang["DlgFLVPlayerDispPlaylist"]   = "Display Playlist"
37
FCKLang["DlgFLVPlayerDispPLNone"]     = "Do Not Display"
38
FCKLang["DlgFLVPlayerDispPLRight"]    = "Display On Right"
39
FCKLang["DlgFLVPlayerDispPLBelow"]    = "Display Below"
40
FCKLang["DlgFLVPlayerRecommendURL"]   = "Recommendations List"
41
FCKLang["DlgFLVPlaylistWidth"]        = "Playlist Width (px)"
42
FCKLang["DlgFLVPlaylistHeight"]       = "Playlist Height (px)"
43
FCKLang["DlgFLVPlaylistDimText"]      = "Playlist Dimension"
44
FCKLang["DlgFLVPlayerPLThumbs"]       = "Display Thumbnails in Playlist"
45

  
branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/index.php
1
<?php
2

  
3
// $Id: index.php 1161 2009-10-11 16:45:19Z Luisehahne $
4

  
5
/*
6

  
7
 Website Baker Project <http://www.websitebaker.org/>
8
 Copyright (C) 2004-2009, Ryan Djurovich
9

  
10
 Website Baker is free software; you can redistribute it and/or modify
11
 it under the terms of the GNU General Public License as published by
12
 the Free Software Foundation; either version 2 of the License, or
13
 (at your option) any later version.
14

  
15
 Website Baker is distributed in the hope that it will be useful,
16
 but WITHOUT ANY WARRANTY; without even the implied warranty of
17
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
 GNU General Public License for more details.
19

  
20
 You should have received a copy of the GNU General Public License
21
 along with Website Baker; if not, write to the Free Software
22
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23

  
24
*/
25

  
26
header('Location: ../index.php');
27

  
28
?>
branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/br.js
1
// FLV Player Dialog
2
FCKLang["DlgFLVPlayerTitle"]          = "FLV Media Player";
3
FCKLang["DlgFLVPlayerURL"]            = "Movie/Media File" ;
4
FCKLang["DlgFLVPlayerBtnBrowse"]      = "Browse..." ;
5
FCKLang["DlgFLVPlayerImgURL"]         = "Preview Image" ;
6
FCKLang["DlgFLVPlayerWidth"]          = "Player Width (px)" ;
7
FCKLang["DlgFLVPlayerHeight"]         = "Player Height (px)" ;
8
FCKLang["DlgFLVPlayerAlign"]          = "Player Alignment" ;
9
FCKLang["DlgFLVPlayerAlignLeft"]      = "Left" ;
10
FCKLang["DlgFLVPlayerAlignRight"]     = "Right" ;
11
FCKLang["DlgFLVPlayerAlignCenter"]    = "Center" ;
12
FCKLang["DlgFLVPlayerHSpace"]         = "HSpace" ;
13
FCKLang["DlgFLVPlayerVSpace"]         = "VSpace" ;
14
FCKLang["DlgFLVPlayerBgColor"]        = "Background Color"
15
FCKLang["DlgFLVPlayerTBColor"]        = "Toolbar Color"
16
FCKLang["DlgFLVPlayerTBTColor"]       = "Text Color"
17
FCKLang["DlgFLVPlayerTBTRColor"]      = "Rollover Text Color"
18
FCKLang["DlgFLVPlayerBtnSelect"]      = "Select..."
19
FCKLang["DlgFLVPlayerAutoplay"]       = "Autoplay" ;
20
FCKLang["DlgFLVPlayerLoop"]           = "Loop" ;
21
FCKLang["DlgFLVPlayerDownload"]       = "Downloadable" ;
22
FCKLang["DlgFLVPlayerFullscreen"]     = "Allow Fullscreen" ;
23
FCKLang["DlgFLVPlayerAlertUrl"]       = "Please input the URL"
24
FCKLang["DlgFLVPlayerAlertPlaylist"]  = "Please input the Playlist URL"
25
FCKLang["DlgFLVPlayerAlertWidth"]     = "Please input the Width"
26
FCKLang["DlgFLVPlayerAlertHeight"]    = "Please input the Height"
27
FCKLang["DlgFLVPlayerPlayerAttrs"]    = "Player Attributes"
28
FCKLang["DlgFLVPlayerMovieAttrs"]     = "Media Attributes"
29
FCKLang["DlgFLVPlayerShowNavigation"] = "Display Navigation"
30
FCKLang["DlgFLVPlayerShowDigits"]     = "Display Time"
31
FCKLang["DlgFLVPlayerWatermarkURL"]   = "Watermark Image"
32
FCKLang["DlgFLVPlayerFileType"]		  = "File Type"
33
FCKLang["DlgFLVPlayerSingleFile"]     = "Single Media File"
34
FCKLang["DlgFLVPlayerPlaylistFile"]   = "Media Playlist"
35
FCKLang["DlgFLVPlayerPlaylistURL"]    = "Playlist URL"
36
FCKLang["DlgFLVPlayerDispPlaylist"]   = "Display Playlist"
37
FCKLang["DlgFLVPlayerDispPLNone"]     = "Do Not Display"
38
FCKLang["DlgFLVPlayerDispPLRight"]    = "Display On Right"
39
FCKLang["DlgFLVPlayerDispPLBelow"]    = "Display Below"
40
FCKLang["DlgFLVPlayerRecommendURL"]   = "Recommendations List"
41
FCKLang["DlgFLVPlaylistWidth"]        = "Playlist Width (px)"
42
FCKLang["DlgFLVPlaylistHeight"]       = "Playlist Height (px)"
43
FCKLang["DlgFLVPlaylistDimText"]      = "Playlist Dimension"
44
FCKLang["DlgFLVPlayerPLThumbs"]       = "Display Thumbnails in Playlist"
45

  
branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/swfobject.js
1
/**
2
 * SWFObject v1.5: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
3
 *
4
 * SWFObject is (c) 2007 Geoff Stearns and is released under the MIT License:
5
 * http://www.opensource.org/licenses/mit-license.php
6
 *
7
 */
8
if(typeof deconcept=="undefined"){var deconcept=new Object();}if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a){if(!document.getElementById){return;}this.DETECT_KEY=_a?_a:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(_1){this.setAttribute("swf",_1);}if(id){this.setAttribute("id",id);}if(w){this.setAttribute("width",w);}if(h){this.setAttribute("height",h);}if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true;}if(c){this.addParam("bgcolor",c);}var q=_7?_7:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var _c=(_8)?_8:window.location;this.setAttribute("xiRedirectUrl",_c);this.setAttribute("redirectUrl","");if(_9){this.setAttribute("redirectUrl",_9);}};deconcept.SWFObject.prototype={useExpressInstall:function(_d){this.xiSWFPath=!_d?"expressinstall.swf":_d;this.setAttribute("useExpressInstall",true);},setAttribute:function(_e,_f){this.attributes[_e]=_f;},getAttribute:function(_10){return this.attributes[_10];},addParam:function(_11,_12){this.params[_11]=_12;},getParams:function(){return this.params;},addVariable:function(_13,_14){this.variables[_13]=_14;},getVariable:function(_15){return this.variables[_15];},getVariables:function(){return this.variables;},getVariablePairs:function(){var _16=new Array();var key;var _18=this.getVariables();for(key in _18){_16[_16.length]=key+"="+_18[key];}return _16;},getSWFHTML:function(){var _19="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath);}_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\"";_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var _1a=this.getParams();for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}var _1c=this.getVariablePairs().join("&");if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath);}_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\">";_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var _1d=this.getParams();for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}var _1f=this.getVariablePairs().join("&");if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}return _19;},write:function(_20){if(this.getAttribute("useExpressInstall")){var _21=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title);}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var n=(typeof _20=="string")?document.getElementById(_20):_20;n.innerHTML=this.getSWFHTML();return true;}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}return false;}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var _23=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var axo=1;var _26=3;while(axo){try{_26++;axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_26);_23=new deconcept.PlayerVersion([_26,0,0]);}catch(e){axo=null;}}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}}return _23;};deconcept.PlayerVersion=function(_29){this.major=_29[0]!=null?parseInt(_29[0]):0;this.minor=_29[1]!=null?parseInt(_29[1]):0;this.rev=_29[2]!=null?parseInt(_29[2]):0;};deconcept.PlayerVersion.prototype.versionIsValid=function(fv){if(this.major<fv.major){return false;}if(this.major>fv.major){return true;}if(this.minor<fv.minor){return false;}if(this.minor>fv.minor){return true;}if(this.rev<fv.rev){return false;}return true;};deconcept.util={getRequestParameter:function(_2b){var q=document.location.search||document.location.hash;if(_2b==null){return q;}if(q){var _2d=q.substring(1).split("&");for(var i=0;i<_2d.length;i++){if(_2d[i].substring(0,_2d[i].indexOf("="))==_2b){return _2d[i].substring((_2d[i].indexOf("=")+1));}}}return "";}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var _2f=document.getElementsByTagName("OBJECT");for(var i=_2f.length-1;i>=0;i--){_2f[i].style.display="none";for(var x in _2f[i]){if(typeof _2f[i][x]=="function"){_2f[i][x]=function(){};}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs);};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true;}}if(!document.getElementById&&document.all){document.getElementById=function(id){return document.all[id];};}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;
branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/JW_FLV_MEDIA_PLAYER_README.HTML
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
<html xmlns="http://www.w3.org/1999/xhtml">
3
<head>
4

  
5
	<title>JW FLV Media Player</title>
6

  
7
	<style type="text/css">
8
		body { background-color: #fff; padding: 0 25px; color:#000; font: 13px/18px Arial, sans-serif; }
9
		a { color: #360; }
10
		h3 { padding-top: 50px; }
11
		ol { margin:5px 0 15px 16px; padding:0; list-style-type:square; }
12
	</style>
13

  
14
</head>
15
<body>
16

  
17
	<h3>Example</h3>
18
	<p>Here's a simple example of the <a href="http://www.jeroenwijering.com/?item=JW_FLV_Media_Player">JW FLV Media Player</a> embedded in a page. Copy-paste the source code and put the files on your site to get started.</p>
19

  
20

  
21

  
22

  
23
	<div id="container"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</div>
24
	<script type="text/javascript" src="swfobject.js"></script>
25
	<script type="text/javascript">
26
		var s1 = new SWFObject("mediaplayer.swf","mediaplayer","300","185","8");
27
		s1.addParam("allowfullscreen","true");
28
		s1.addVariable("width","300");
29
		s1.addVariable("height","185");
30
		s1.addVariable("file","video.flv");
31
		s1.write("container");
32
	</script>
33

  
34

  
35

  
36
	<h3>Quickstart</h3>
37
	<p>The easiest way to get going with the mediaplayer is <a href="http://www.jeroenwijering.com/?page=wizard">by using the setup wizard</a>. Select an example, set the file or playlist you want to play and copy-paste the embed code to your site!</p>
38

  
39
	<h3>Licensing</h3>
40
	<p>The FLV Media Player is licensed under a <a href="http://creativecommons.org/licenses/by-nc-sa/2.0/">Creative Commons License</a>. It allows you to use, modify and redistribute the script for free for noncommercial purposes. For corporate use, <a href="http://www.jeroenwijering.com/?page=order" title="Order commercial licenses">please apply for a 20 euros commercial license</a>!</p>
41

  
42
	<h3>Documentation</h3>
43
	<ol>
44
	<li>All <a href="http://www.jeroenwijering.com/?item=Supported_Flashvars">supported flashvars</a> (variables) you can set to customize the mediaplayer.</li>
45
	<li>All <a href="http://www.jeroenwijering.com/?item=Supported_Playlists">supported playlist formats</a> you can use, plus some implementation info.</li>
46
	<li>A large list <a href="http://www.jeroenwijering.com/?item=Third_Party_Plugins">of all third-party plugins</a> for the mediaplayer.</li>
47
	<li>A tutorial on <a href="http://www.jeroenwijering.com/?item=Embedding_Flash"> embedding the mediaplayer</a> in your site.</li>
48
	<li>A tutorial with <a href="http://www.jeroenwijering.com/?item=Javascript_interaction">all functions of the javascript API</a>.</li>
49
	<li>A tutorial on <a href="http://www.jeroenwijering.com/?item=Making_Video_Accessible">adding captions and an audiodescription</a> (accessibility).</li>
50
	</ol>
51

  
52
</body>
53
</html>
branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/flvPlayer_xspf_sample.xml
1
<playlist version="1" xmlns="http://xspf.org/ns/0/">
2
	<title>XSPF Example Playlist</title>
3
	<info>http:/xspf.org/xspf-v1.html</info>
4
	<trackList>
5

  
6
		<track>
7
			<title>Afraid of the Dark</title>
8
			<location>http://www.jeroenwijering.com/upload/afraid.flv</location>
9
		</track>
10

  
11
		<track>
12
			<title>Sunshine up Ahead</title>
13
			<creator>Peter Jones</creator>
14
			<location>http://www.jeroenwijering.com/upload/peterjones_sunshine_lofi.mp3</location>
15
			<info>http://www.peterjonesmusic.net/</info>
16
			<image>http://www.jeroenwijering.com/upload/peterjones.jpg</image>
17
		</track>
18

  
19
		<track>
20
			<title>Aggressive Wallpaper</title>
21
			<creator>Jeroen Wijering</creator>
22
			<annotation>
23
				This is an aggressive wallpaper for public spaces where you don't want 
24
				people to linger around (eg. subway tunnels or parking lots). People 
25
				feel offended by the aggressive wallpaper and make sure they get out 
26
				of these places as soon as their business is done there.
27
			</annotation>
28
			<location>http://www.jeroenwijering.com/upload/behang.jpg</location>
29
			<info>http://www.jeroenwijering.com/?item=Aggressive_Wallpaper</info>
30
			<meta rel="duration">12.5</meta>
31
		</track>
32

  
33

  
34
		<track>
35
			<title>ITV's Coronation Street</title>
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff