Друзья, не работает плеер, музыку загружает но звука нет. Вот код
<script type="text/javascript">
$(document).ready(function(){
music.jPlayerInc();
$(window).scroll(function(){
if($(window).scrollTop() > 45){
$('.player_container').css('position', 'fixed').css('margin-top', '-48px').css('width', '774px');
$('.player_shadow').show();
} else {
$('.player_container').css('position', 'static').css('margin-top', '-14px').css('width', '774px');
$('.player_shadow').hide();
}
if($(document).height() - $(window).height() <= $(window).scrollTop()+($(document).height()/2)){
audio.page();
}
});
});
</script>
<div class="autowr" style="margin-bottom: 50px;">
<div style="margin-top:20px;"></div>
<div id="my_sub_menu" style="width: 954px;">
<a href="/audio{uid}" onClick="Page.Go(this.href); return false;">Все аудиозаписи</a>
[admin-add][owner]<a href="/audio{uid}" onClick="audio.addBox(); return false;">Добавить аудиозапись</a>[/owner][/admin-add]
<a href="/u{uid}" onClick="Page.Go(this.href); return false;">[not-owner]К странице {name}[/not-owner][owner]К моей странице[/owner]</a>
</div>
<div class="margin_top_10" style="margin-top:15px"></div>
<div style="height:60px">
<div id="jquery_jplayer"></div>
<div class="player_container" id="player_container">
<div class="player_ic fl_l" onClick="music.prev()">
<div class="player_ic_prev"></div>
</div>
<div class="player_ic fl_l" id="player_play" onClick="music.nullPlay()">
<div class="player_ic_play"></div>
</div>
<div class="player_ic fl_l" id="player_pause" onClick="music.nullPause()">
<div class="player_ic_pause"></div>
</div>
<div class="player_ic fl_l" onClick="music.next()">
<div class="player_ic_next"></div>
</div>
<div class="player_track_name fl_l" id="teck_track_name"> </div>
<div class="player_time_text fl_l"><span id="play_time">00:00</span></div><div> </div>
<div class="player_progreebar fl_l">
<div id="player_progress_load_bar">
<div id="player_progress_play_bar"></div>
</div>
</div>
<div class="player_del_volume fl_l cursor_pointer" onClick="music.volumeOff()" onMouseOver="myhtml.title('1', 'Отключить звук', 'volOff_', -1)" id="volOff_1"></div>
<div class="player_progreebar fl_l cursor_pointer" style="width:50px" id="player_volume_bar" onClick="music.volume()">
<div id="player_volume_bar_value" onClick="music.volume()"></div>
</div>
<div class="player_max_volume fl_l cursor_pointer" onClick="music.volumeMax()" onMouseOver="myhtml.title('1', 'Громкость на 100%', 'volMax_', -3)" id="volMax_1"></div>
<div class="player_refresh fl_l cursor_pointer" onClick="music.refresh()" onMouseOver="myhtml.title('1', 'Повторять эту песню', 'volrefresh_', -1)" id="volrefresh_1"></div>
<div class="player_rand fl_l cursor_pointer" onClick="music.randOn()" onMouseOver="myhtml.title('1', 'Случайный порядок', 'rand_', -1)" id="rand_1"></div>
<div class="clear"></div>
</div>
<input type="hidden" id="teck_id" value="1" />
<input type="hidden" id="refresh" value="0" />
<input type="hidden" id="rand" value="0" />
<input type="hidden" id="page_cnt" value="1" />
<input type="hidden" id="uid" value="{uid}" />
<input type="hidden" id="teck_prefix" value="" />
</div>
<div class="public_wall_photos_shadow fixed player_shadow no_display"></div>
<div class="audio_onetrack">
<div class="audio_playic cursor_pointer fl_l" onClick="music.newStartPlay('{jid}')" id="icPlay_{jid}"></div>
<span id="music_{jid}" data="{url}">
<a href="/?go=search&query={artist}&type=5&n=1" onClick="Page.Go(this.href); return false"><b><span id="artis{aid}">{artist}</span></b></a> – <span id="name{aid}">{name}</span>
</span>
[owner]<div class="audio_deletic cursor_pointer fl_r" onClick="audio.del('{aid}');location.reload();" onMouseOver="myhtml.title('{aid}', 'Удалить песню', 'dtrack_', 4)" id="dtrack_{aid}"></div>
<div class="audio_edittic cursor_pointer fl_r" onClick="audio.edit('{aid}')" onMouseOver="myhtml.title('{aid}', 'Редактировать песню', 'etrack_', 4)" id="etrack_{aid}"></div>[/owner][not-owner]<div class="audio_addmylistic cursor_pointer fl_r" onClick="audio.addMyList('{aid}')" onMouseOver="myhtml.title('{aid}', 'Добавить в мои аудиозаписи', 'atrack_', 3)" id="atrack_{aid}"></div><div class="audio_addmylisticOk no_display fl_r" id="atrackAddOk{aid}"></div>[/not-owner]
</div>
<div class="audio_onetrack" style="margin-left:0px;margin-top:-10px;margin-bottom:10px">
<div class="audio_playic cursor_pointer fl_l" onClick="music.newStartPlay('{jid}')" id="icPlay_{jid}"></div>
<span id="music_{jid}" data="{url}">
<a href="/?go=search&query={artist}&type=5&n=1" onClick="Page.Go(this.href); return false"><b><span id="artis{aid}">{artist}</span></b></a> – <span id="name{aid}">{name}</span>
</span>
<a href="/" class="fl_r" onClick="wall.attach_insert('audio', '{aid}', '{aid}'); return false">Добавить аудиозапись</a>
<div id="play_time{jid}" class="color777 fl_r no_display" style="margin-right:5px"></div>
<div class="clear"></div>
<div class="player_mini_mbar fl_l no_display" id="ppbarPro{jid}" style="width:585px"></div>
</div>
<div class="audio_onetrack"><div class="audio_playic cursor_pointer fl_l" onClick="Page.Go('/audio{uid}?#{jid}')"></div><a href="/?go=search&query={artist}&type=5&n=1" onClick="Page.Go(this.href); return false"><b>{artist}</b></a> – {name}</div>
Виртуальный выделенный сервер (VDS) становится отличным выбором
я при скроле страницы в windowlocation
скажите в чем проблема, не работает в safari щелчек на пустую область и закрытия окнаВ google chrome все ок
Я не могу понять, почему в WPF нет нативной возможности добавления иконки в трей