Язык: Русский
' +'
' +'' + jsPublicTVCollector.tv[0]['Sections'][i]['Items'][j]['Name'] + '' //name +jsPublicTVCollector.tv[0]['Sections'][i]['Items'][j]['Description'] //description +'
' +'
' +'' + jsPublicTVCollector.tv[0].LanguagePhrases.download + '' + (jsPublicTVCollector.tv[0]['Sections'][i]['Items'][j]['Size'].length >0 ?' ('+jsPublicTVCollector.tv[0]['Sections'][i]['Items'][j]['Size']+jsPublicTVCollector.tv[0].LanguagePhrases.size_mb+')' :'') +'
' +(jsPublicTVCollector.tv[0]['Sections'][i]['Items'][j]['Duration'].length >0 ?'
' +'
' +''+jsPublicTVCollector.tv[0]['Sections'][i]['Items'][j]['Duration'] +'' +'
' :'') //duration + '
' +'' +(jsPublicTVCollector.tv[0]['Sections'][i]['Items'][j]['Action'].length >0 ? '
' + '' :'') //edit action +'
' +'
' +'
' +'
' +'
' +'
'; return txt; } ); jsPublicTVCollector.tv[0].AddPlayerListener( 'BEFORE_PLAY_FILE', function(i, j, old_i, old_j) { jsPublicTVCollector.add[0].SelectListItem(old_i, old_j); } ); //init&run if(jsPublicTVCollector.tv[0]) { jsPublicTVCollector.tv[0].Init( jsPublicTVCollector.list[0], 'tv_list_0', 'tv_description_0', { block_id: { wmv: 'bitrix_tv_wmv_cont_0', flv: 'bitrix_tv_flv_cont_0' }, obj_id: { wmv: 'bitrix_tv_wmv_0', flv: 'bitrix_tv_flv_0_div' }, logo: '/bitrix/templates/gos_bitrix_s2_new/components/bitrix/iblock.tv/.default/images/logo.png', height: '324', width: '400' } ); jsPublicTVCollector.tv[0].BuildTree(false, 0); SetItem = jsPublicTVCollector.tv[0].SeekByRealParams(false, 1542); if(false!==SetItem.section && false!==SetItem.element) jsPublicTVCollector.tv[0].PlayFile(SetItem.section, SetItem.element, false, true); if(jsPublicTVCollector.tv[0].PlayOrder != 'section') jsPublicTVCollector.add[0].PlayOrder('section'); //set selected item jsPublicTVCollector.add[0].SelectListItem(); } /*$(document).ready(function(){ var i = jsPublicTVCollector.tv[0].CurrentItem.Section; var j = jsPublicTVCollector.tv[0].CurrentItem.Item; if(i!=0 && j!=0) jsPublicTVCollector.tv[0].PlayFile(0,0,true,true); });*/