to the list of all news SEE ALSO NOTES | ‘ + ‘‘ + ‘ | |||||||||||||
example: http://www.youtube.com/watch?v= or j8YcLyzJOEg www.mysite.com/video/my_video.mp4 | ||||||||||||||
‘+’ ‘+’ x ‘+’ ‘+’ |
‘ ; return {title: “Embed”, innerHTML: str, width: 480, OnLoad: function () {pObj.pPath = BX (pObj.pLEditor.id + “lhed_forum_video_path”); pObj.pWidth = BX (pObj.pLEditor.id + “lhed_forum_video_width”); pObj.pHeight = BX (pObj.pLEditor.id + “lhed_forum_video_height”); pObj.pLEditor.focus (pObj.pPath); }, OnSave: function () {pLEditor = window.oLHE; var src = BX.util.trim (pObj.pPath.value), w = parseInt (pObj.pWidth.value) || 400, h = parseInt (pObj.pHeight.value) || 300; if (src == “”) return; if (pLEditor.sEditorMode == ‘code’ & amp; & amp; pLEditor.bBBCode) // BB Codes {pLEditor.WrapWith (“”, “”, “[VIDEO WIDTH =" + w + "HEIGHT =" + h + " ] “+ src +” [/VIDEO] “); } Else if (pLEditor.sEditorMode == ‘html’) // WYSIWYG {pLEditor.InsertHTML (‘‘);}}};};} catch (e) {alert (‘Errors in customization scripts!’ + E);} if (false || JCLightHTMLEditor .items ['REVIEW_TEXT'] == undefined) {top.oLHE = window.oLHE = new window.JCLightHTMLEditor({‘id’:’REVIEW_TEXT’,’content’:”,’bBBCode’:true,’bUseFileDialogs’:false,’bUseMedialib’:false,’arSmiles’:[],’arFonts’:['Arial','Verdana','Times New Roman','Courier','Tahoma','Georgia','Optima','Impact','Geneva','Helvetica'],’arFontSizes’:{’1′:’xx-small’,’2′:’x-small’,’3′:’small’,’4′:’medium’,’5′:’large’,’6′:’x-large’,’7′:’xx-large’},’inputName’:’REVIEW_TEXT’,’inputId’:”,’videoSettings’:{‘maxWidth’:’640′,’maxHeight’:’480′,’WMode’:’transparent’,’windowless’:true,’bufferLength’:’20′,’skin’:’/bitrix/components/bitrix/player/mediaplayer/skins/bitrix.swf’,’logo’:”},’bSaveOnBlur’:true,’bResizable’:true,’autoResizeSaveSize’:true,’bManualResize’:true,’bAutoResize’:true,’bReplaceTabToNbsp’: true,’bSetDefaultCodeView’:false,’bBBParseImageSize’:true,’smileCountInToolbar’:’3′,’bQuoteFromSelection’:true,’bConvertContentFromBBCodes’:false,’oneGif’:’/bitrix/images/1.gif’,’imagePath’:’/bitrix/images/fileman/light_htmledit/’,’width’:’100%’,’height’:’100px’,’toolbarConfig’:['Bold','Italic','Underline','Strike','Quote','RemoveFormat','Translit','Source'],’bParceBBImageSize’:true,’ctrlEnterHandler’:’reviewsCtrlEnterHandler’}); BX.onCustomEvent (window, ‘LHE_ConstructorInited’, [window.oLHE]);}} if (! Window.JCLightHTMLEditor) { BX.loadCSS(“//www.innov.ru.css.1c-bitrix-cdn.ru/bitrix/js/fileman/light_editor/light_editor.css?1433891527″); LHE_MESS = window.LHE_MESS = “{‘Image’: ‘image’, ‘Video’: ‘Video’, ‘ImageSizing’: ‘Dimensions (W x H)’}”; (window.BX || top.BX). message ({‘CreateLink’: ‘Link’, ‘EditLink’: ‘Edit ссылку’,’DialogSave’:’Сохранить’,’DialogCancel’:’Отменить’,’DialogClose’:’Закрыть’,’Width’:’Ширина’,’Height’:’Высота’,’Source’:’Режим HTML-code ‘,’ BBSource ‘:’ Mode BB-Code’,’On’:’включено’,’Off’:’выключено’,’Anchor’:’Якорь’,’DeleteLink’:’Удалить link ‘,’ Image ‘:’ image ‘,’ EditImage ‘:’ Edit Image ‘,’ SpecialChar ‘:’ Paste спецсимвол’,’Bold’:’Жирный’,’Italic’:’Курсив’,’Underline’:’Подчеркнутый’,’Strike’:’Зачеркнутый’,’RemoveFormat’:’Удалить Formatting ‘,’ InsertHr ‘:’ Insert a horizontal line ‘,’ JustifyLeft ‘:’ Align Left ‘,’ JustifyCenter ‘:’ Centered ‘,’ JustifyRight ‘:’ Align Right ‘,’ JustifyFull ‘:’ Justified ‘ , ‘Outdent’: ‘Decrease Indent’, ‘Indent’: ‘Increase Indent’, ‘OrderedList’: ‘Numbered lists’,’ UnorderedList ‘:’ to the list маркерами’,’InsertTable’:’Таблица’,’SmileList’:’Смайлы’,’HeaderList’:’Формат’,’FontList’:’Шрифт’,’FontSizeList’:’Размер font ‘,’ BackColor ‘:’ Background Color ‘,’ ForeColor ‘:’ Font Color ‘,’ Video ‘:’ Video ‘,’ InsertVideo ‘:’ Embed ‘,’ EditVideo ‘:’ Edit Video ‘,’ VideoProps’ ‘Video settings’, ‘VideoPath’: ‘The path to the video file’, ‘VideoPreviewPath’: ‘The path to the picture preview’, ‘VideoAutoplay’: ‘Automatically start playing’, ‘VideoVolume’: ‘Volume’, ‘LinkProps’: ‘Settings link’, ‘LinkText’: ‘Text Link’, ‘LinkHref’: ‘URL’, ‘LinkTitle’: ‘tooltip’, ‘LinkTarget’: ‘Open link in’, ‘LinkTarget_def’: ‘- not to specify – ‘,’ LinkTarget_blank ‘:’ new window ‘,’ LinkTarget_parent ‘:’ the parent window ‘,’ LinkTarget_self ‘:’ the window ‘,’ LinkTarget_top ‘:’ outermost ‘,’ AnchorProps ‘:’ Options anchors ‘,’ AnchorName ” The name of the anchor ‘,’ ImageProps ‘:’ Image Settings ‘,’ ImageSrc ‘:’ The path to the image ‘,’ ImageTitle ‘:’ tooltip ‘,’ ImgAlign ‘:’ Alignment ‘,’ ImgAlignTop ‘:’ at the top border ‘,’ ImgAlignRight ‘:’ Right ‘,’ ImgAlignBottom ‘:’ at the lower end ‘,’ ImgAlignLeft ‘:’ Left ‘,’ ImgAlignMiddle ‘:’ in the middle ‘,’ ImageSizing ‘:’ Dimensions (W x H) ‘ , ‘ImageSaveProp’: ‘Save пропорции’,’ImagePreview’:’Предпросмотр’,’Normal’:’Обычный’,’Heading’:’Заголовок’,’Preformatted’:’Преформатирован’,’DefaultColor’:’По Default ‘,’ DragFloatingToolbar ‘:’ toolbar ‘,’ Quote ‘:’ Making the text in the form of quotes’, ‘InsertCode’: ‘Making the text in the form of a code’, ‘InsertCut’: ‘Making the text preview’, ‘Translit’: “Recoding transliteration / Latin ‘,’ CutTitle ‘:’ Limitation text предпросмотра’,’TableRows’:’Строк’,’TableCols’:’Столбцов’,’TableModel’:’Макет’,’ListItems’:’Элементы the list ‘,’ AddLI ‘:’ Add item ‘,’ AddLITitle ‘:’ Add an item to the list (Enter) ‘,’ DelListItem ‘:’ Delete point from the list ‘,’ ResizerTitle ‘:’ Resize ‘,’ CodeDel ‘: ‘Press (Shift + Del) to remove any piece of code’, ‘OnPasteProcessing’: ‘being processed pasted text …’}); BX.loadScript (["/ bitrix / js / fileman / light_editor / le_dialogs.js? 1433891527 "," /bitrix/js/fileman/light_editor/le_controls.js?1433891527 "," /bitrix/js/fileman/light_editor/le_toolbarbuttons.js?1433891527 "," /bitrix/js/fileman/light_editor/le_core.js? 1433891527 "], _lheScriptloaded);} else {_lheScriptloaded ();}} BX.ready (function () {LoadLHE_REVIEW_TEXT ();});
->
->
archive: 2013 2012 2011 1999-2011 IT News Portal 2013 Guest topic of the week in 2013 greetings
No comments:
Post a Comment