Некоторые каталоги, которые транслируют наши радио, не отображают на своих веб-плеерах названия треков. Когда спрашиваешь у руководства, отвечают: "Плати, тогда и названия треков увидишь". Меня интересует сама технология (секрет) добавления этой опции. Если я правильно понимаю, на страницу трансляции добавляется скрипт (код). Но куда вписывается этот код, он сообщается мне и я его вставляю в настройках RadioBoss-a (или др. программы вещания) или это уже привелегия заправил самого сайта, добавляющие необходимые данные индивидуально в каждый поток?
Обратил внимание, что сроднившиеся радиокаталоги http://www.radionomy.com и http://shoutcast.com/ на своих веб-плеерах отображают только английские буквы. Другие языки вообще не поддерживаются. А иногда и английские названия песен не отображаются, выдавая такую ошибку плеера (см. ниже). О чем гласит эта ошибка и можно ли ее устранить самому?
{"type":"jPlayer_error","timeStamp":1485779983146,"jQuery110206558536141846497":true,"jPlayer":{"version":{"script":"2.9.2","needFlash":"2.9.0","flash":"n/a"},"options":{"size":{"width":"0px","height":"0px","cssClass":""},"sizeFull":{"width":"0px","height":"0px","cssClass":""},"swfPath":"/js/jQuery.jPlayer.2.9.2","solution":"html,flash","supplied":"mp3,m4a,M3UA,FLA,WEBMA,WAV,OGA","auroraFormats":"wav","preload":"none","volume":0.5,"muted":false,"remainingDuration":false,"toggleDuration":false,"captureDuration":true,"playbackRate":1,"defaultPlaybackRate":1,"minPlaybackRate":0.5,"maxPlaybackRate":4,"wmode":"window","backgroundColor":"#000000","cssSelectorAncestor":"#jp_container_1","cssSelector":{"videoPlay":".jp-video-play","play":".jp-play","pause":".jp-pause","stop":".jp-stop","seekBar":".jp-seek-bar","playBar":".jp-play-bar","mute":".jp-mute","unmute":".jp-unmute","volumeBar":".jp-volume-bar","volumeBarValue":".jp-volume-bar-value","volumeMax":".jp-volume-max","playbackRateBar":".jp-playback-rate-bar","playbackRateBarValue":".jp-playback-rate-bar-value","currentTime":".jp-current-time","duration":".jp-duration","title":".jp-title","fullScreen":".jp-full-screen","restoreScreen":".jp-restore-screen","repeat":".jp-repeat","repeatOff":".jp-repeat-off","gui":".jp-gui","noSolution":".jp-no-solution"},"stateClass":{"playing":"jp-state-playing","seeking":"jp-state-seeking","muted":"jp-state-muted","looped":"jp-state-looped","fullScreen":"jp-state-full-screen","noVolume":"jp-state-no-volume"},"useStateClassSkin":false,"autoBlur":true,"smoothPlayBar":false,"fullScreen":false,"fullWindow":false,"autohide":{"restored":false,"full":true,"fadeIn":200,"fadeOut":600,"hold":1000},"loop":false,"nativeVideoControls":{},"noFullWindow":{"msie":{},"ipad":{},"iphone":{},"ipod":{},"android_pad":{},"android_phone":{},"blackberry":{},"windows_ce":{},"iemobile":{},"webos":{}},"noVolume":{"ipad":{},"iphone":{},"ipod":{},"android_pad":{},"android_phone":{},"blackberry":{},"windows_ce":{},"iemobile":{},"webos":{},"playbook":{}},"timeFormat":{"showHour":false,"showMin":true,"showSec":true,"padHour":false,"padMin":true,"padSec":true,"sepHour":":","sepMin":":","sepSec":""},"keyEnabled":true,"audioFullScreen":false,"keyBindings":{"play":{"key":80},"fullScreen":{"key":70},"muted":{"key":77},"volumeUp":{"key":190},"volumeDown":{"key":188},"loop":{"key":76}},"verticalVolume":false,"verticalPlaybackRate":false,"globalVolume":false,"idPrefix":"jp","noConflict":"jQuery","emulateHtml":false,"consoleAlerts":true,"errorAlerts":false,"warningAlerts":false},"status":{"src":"http://listen.shoutcast.com/rakevet?icy=http","media":{"ID":99264456,"Name":"Rakevet","Format":"audio/mpeg","Bitrate":128,"Genre":"Top 40","CurrentTrack":"","Listeners":0,"IsRadionomy":false,"IceUrl":"","AACEnabled":0,"IsPlaying":false,"IsAACEnabled":false,"Index":0,"mp3":"http://listen.shoutcast.com/rakevet?icy=http","isPlaying":true},"paused":true,"format":{"mp3":true},"formatType":"mp3","waitForPlay":true,"waitForLoad":true,"srcSet":true,"video":false,"seekPercent":0,"currentPercentRelative":0,"currentPercentAbsolute":0,"currentTime":0,"duration":0,"remaining":0,"readyState":0,"networkState":0,"playbackRate":1,"ended":0,"width":"0px","height":"0px","cssClass":"","nativeVideoControls":false,"noFullWindow":false,"noVolume":false,"playbackRateEnabled":true,"videoWidth":0,"videoHeight":0},"html":{"audio":{"available":true,"gate":true},"video":{"available":false,"gate":false},"canPlay":{"mp3":true,"m4a":true,"m3ua":false,"fla":false,"webma":true,"wav":true,"oga":true},"desired":true,"support":{"mp3":true,"m4a":true,"m3ua":false,"fla":false,"webma":true,"wav":true,"oga":true},"used":true,"active":true},"aurora":{"formats":["wav"],"properties":[],"canPlay":{"mp3":false,"m4a":false,"m3ua":false,"fla":false,"webma":false,"wav":true,"oga":false},"desired":false,"support":{"mp3":false,"m4a":false,"m3ua":false,"fla":false,"webma":false,"wav":false,"oga":false},"used":false,"active":false,"gate":false},"flash":{"available":true,"canPlay":{"mp3":true,"m4a":true,"m3ua":false,"fla":true,"webma":false,"wav":false,"oga":false},"desired":false,"support":{"mp3":false,"m4a":false,"m3ua":false,"fla":false,"webma":false,"wav":false,"oga":false},"used":false,"active":false,"gate":false},"error":{"type":"e_url","context":"http://listen.shoutcast.com/rakevet?icy=http","message":"Media URL could not be loaded.","hint":"Check media URL is valid."}},"isTrigger":3,"namespace":"","namespace_re":null,"target":{"jQuery110206558536141846497":36},"delegateTarget":{"jQuery110206558536141846497":36},"currentTarget":{"jQuery110206558536141846497":36},"handleObj":{"type":"jPlayer_error","origType":"jPlayer_error","data":null,"guid":41,"namespace":"jPlayer"},"data":null}
Отредактировано Rodos (30-01-2017 17:06:12)