Гость
Покинул форум
Сообщений всего: 96
Дата рег-ции: Нояб. 2011
Помог: 0 раз(а)
|
Доброй ночи! Вот есть кусок сайта:
CODE ( javascript):
скопировать код в буфер обмена
<script type="text/javascript">$(document).ready(function(){if( typeof(targetId) === 'undefined' ) targetId = "fPlayer"; $('#'+targetId.replace(/^.*#/, '')).fPlayer(jQuery.extend({ "configId":"13", "companyName":"chc", "configName":"tour", "uiSizes":[ { "css":"vidPlayer540", "height":"540", "width":"960"}], "version":"2", "cfgN":"tour", "playlist":[ { "mediaId":"378", "qualities":[ { "mediaId":"5729", "variation":"7", "platform":"desktop,tablet,tv", "kbps":"2428", "src":"http://сайт/up/wqa_mt/trailers/00179_trailer_2428k_h264_hp.mp4", "width":"1280", "height":"720"}, { "mediaId":"5729", "variation":"4", "platform":"desktop,tablet,tv", "kbps":"1662", "src":"http://сайт2/up/wqa_mt/trailers/00179_trailer_1662k_h264_hp.mp4", "width":"960", "height":"540"}, { "mediaId":"5729", "variation":"6", "platform":"desktop,mobile,tablet", "kbps":"834", "src":"http://сайт3/up/wqa_mt/trailers/00179_trailer_834k_h264_mp.mp4", "width":"640", "height":"360"}], "desc":"", "icon":"", "title":"", "subTitle":"", "end":{}, "deepLinks":{}, "previewUrl":""}]},{})); });</script>
Мне нужно чтобы с помощью
Вытащить ссылку на видео, а именно самую первую:
Вот не могу составить само выражение для стаскивания ссылки. Помогите пожалуйста! С уважением.(Отредактировано автором: 25 Сентября, 2012 - 22:54:12)
|