|
|
|||||
Регистрация: Feb 2014
Сообщений: 3
|
Помогите подкорректировать плеер...
Здравствуйте, помогите мне пожалуйста подкорректировать и перестроить плеер "podfm" так что бы воспроизведение *.mp3 было с личного хостинга, сейчас немного в каком-то моменте не получается!
Да сам плеер загружается без проблем с нашего хостинга http://www.test.nemogy.ru/player/test/#, а вот воспроизвести музыку так же с хостинга не получается... Наверное проблемой является его постоянная ссылка на файл *.xml ... Сам код html страницы указан ниже: <!doctype html> <html> <head> <meta charset="utf-8"> <script type="text/javascript" charset="UTF-8" src="http://test.nemogy.ru/player/test/js/jquery-1.9.1.min.js"></script> <script type="text/javascript" charset="UTF-8" src="http://test.nemogy.ru/player/test/js/jquery-migrate-1.1.1.min.js"></script> <script type="text/javascript" charset="UTF-8" src="http://test.nemogy.ru/player/test/js/jquery.tools-1.2.7-all.min.js"></script> <script type="text/javascript" charset="UTF-8" src="http://test.nemogy.ru/player/test/js/jquery.cookie-1.3.1.js"></script> <script type="text/javascript" charset="UTF-8" src="http://test.nemogy.ru/player/test/js/jquery.bind-first-0.2.0.min.js"></script> <script type="text/javascript" charset="UTF-8" src="http://test.nemogy.ru/player/test/js/jplayer-2.2.0/jquery.jplayer.min.js"></script> <script type="text/javascript" charset="UTF-8" src="http://test.nemogy.ru/player/test/js/player/single-player-v7.js"></script> <link rel="stylesheet" type="text/css" href="http://test.nemogy.ru/player/test/css/player_export.css" /> <title>Тест плеера...</title> </head> <body> <div class="podcast"> <div class="jp-jplayer" id="jquery_jplayer_single_53318acc8 681a" style="width: 0px; height: 0px;"><img id="jp_poster_0" style="width: 0px; height: 0px; display: none;"><object width="1" height="1" id="jp_flash_0" data="http://test.nemogy.ru/player/test/js/jplayer-2.2.0/Jplayer.swf" type="application/x-shockwave-flash" style="width: 0px; height: 0px;" dmmmid="music_1"><param name="flashvars" value="jQuery=jQuery&id=jquery_ jplayer_single_53318acc8681a&vo l=0.5&muted=false"><param name="allowscriptaccess" value="always"><param name="bgcolor" value="#000000"><param name="wmode" value="window"></object></div> <div> <div class="jp-container" id="jp_container_single_53318acc868 1a" style="width: 450px;"> <div class="jp-type-single"> <div class="jp-gui jp-interface"> <div class="jp-progress" title=""> <div class="jp-seek-bar jp-seek-gray-color" style="width: 100%;"> <div class="jp-play-bar jp-slider-bar" style="width: 8.12797%;"></div> <div class="jp-seek-bar-html jp-slider-bar jp-seek-gray-color"></div> </div> </div> <div class="jp-ui-list"> <div class="jp-ui-list-item"> <ul class="jp-controls"> <li><a class="jp-play" href="#" style="display: block;">play</a></li> <li><a class="jp-pause" href="#" style="display: none;">pause</a></li> </ul> </div> <div style="min-width: 22px;" class="jp-ui-list-item"> <span class="jp-volume-icon-indicator" style="background-position: 0px 58%;"></span> <span class="jp-volume-icon"></span> <div class="jp-volume-bar-container" style="display: none;"> <div class="jp-volume-bar"> <div class="jp-volume-bar-value jp-slider-bar" style="width: 50%;"></div> </div> </div> </div> <div class="jp-ui-list-item-devfree jp-ui-list-item-text"> <div class="jp-time-holder"> <div class="jp-current-time"></div> <div class="jp-time-divider">/</div> <div class="jp-duration"></div> </div> </div> </div> <a title="Портал Не могу.ру" target="_blank" href="http://test.nemogy.ru" class="jp-logo"></a> </div> </div> </div> </div> <script> var id = "53318acc8681a"; var playerContainer = $("#jp_container_single_"+id); var playerInstance = $("#jquery_jplayer_single_"+id); $(function() { var settings = { rssUrl: "http:\/\/hamsterman.podfm.ru\/my\/4\/rss.xml", timeOut: 0, downloadUrl: "#", listenUrl: "#", fileTimeLength: "00:00", advertUrl: 'http://test.nemogy.ru/uf/audio/interviews_with_businessmen.mp3', noDownload: true ,channel: "podfm", }; $.pfInitSinglePlayer(id, settings, 'http://test.nemogy.ru/player/test/js/jplayer-2.2.0/', "test.nemogy.ru"); }); </script> <!--end div podcast--> </div> </body> </html> <?xml version="1.0" encoding="UTF-8"?> <rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:podfm="http://podfm.ru/RSS/extension" version="2.0"> <channel> <atom:link href="http://hamsterman.podfm.ru/my/4/rss.xml" type="application/rss+xml" rel="self"> </atom:link> <itunes:owner> <itunes:email>info@podfm.ru</itunes:email> </itunes:owner> <language>ru-ru</language> <itunes:explicit>no</itunes:explicit> <image> <url>http://files.podfm.ru/img/empty_l_b.png</url> <title>Личная лента</title> <link>http://hamsterman.podfm.ru/my/</link> </image> <itunes:image href="http://files.podfm.ru/img/empty_l_b.png"> <itunes:url>http://files.podfm.ru/img/empty_l_b.png</itunes:url> <itunes:link>http://hamsterman.podfm.ru/my/</itunes:link> </itunes:image> <link>http://hamsterman.podfm.ru/my/</link> <title>Личная лента</title> <description> </description> <itunes:summary> </itunes:summary> <itunes:author>Hamsterman</itunes:author> <category>Дневники</category> <lastBuildDate>Tue, 25 Mar 2014 18:50:31 +0400</lastBuildDate> <item> <title>Как создавался Instalook.ru (4) </title> <link>http://hamsterman.podfm.ru/my/4/</link> <guid>http://hamsterman.podfm.ru/my/4/</guid> <pubDate>Sat, 02 Mar 2013 13:28:00 +0400</pubDate> <description><table width="100%"><tr><td><div style="float:left;width:235px;"><table cellpadding=0 cellspacing=0><tr><td style="border-bottom:0px;"><img src="http://file2.podfm.ru/6/64/641/6415/images/pod_4.jpg?2" ></td></tr></table></div>Макеты сайта будут выложены позже</td></tr></table></description> <enclosure url="http://hamsterman.podfm.ru/my/4/file/podfm_hamsterman_my_4.mp3?channel=rss" length="14066572" type="audio/mpeg"/> <itunes:author>Hamsterman</itunes:author> <itunes:summary>Макеты сайта будут выложены позже</itunes:summary> <itunes:duration>879</itunes:duration> <itunes:explicit>no</itunes:explicit> <itunes:image href="http://file2.podfm.ru/6/64/641/6415/images/pod_4_or.jpg"> </itunes:image> <podfm:nodownload>no</podfm:nodownload> <podfm:downloadCount>19</podfm:downloadCount> </item> </channel> </rss> Еще как заметил в скрипте есть такая строка: и этот номер ID часто используется, может это является причиной!? Можно ли от нее как-то избавиться!? Подскажите пожалуйста, можно как-нибудь его перестроить, чтобы воспроизводил музыку с личного хостинга!? Возможно это будет зависеть от скрипта, файлов JS или от самого файла *.xml ... Ниже я вставил flash плеер, пробовал его изменять но бесполезно не получается! Помогите мне поправить тот или тот плеер, чтобы была возможность воспроизводить с личного хостинга! Спасибо! |
|
|||||
Если нет исходников, то есть 3 варианта:
1) Обратиться к тому, кто создавал этот плеер с данной просьбой 2) Создать свой плеер самому 3) Заказать себе плеер, оплатить, и вам сделают Подредактировать готовый нельзя |
|
|||||
Регистрация: Feb 2014
Сообщений: 3
|
А где можно заказать!?
|
|
|||||
|
Часовой пояс GMT +4, время: 12:39. |
|
« Предыдущая тема | Следующая тема » |
|
|