Changeset 1020233
- Timestamp:
- 11/05/2014 12:57:43 PM (11 years ago)
- Location:
- radio-vera/trunk
- Files:
-
- 5 edited
-
playlist.php (modified) (1 diff)
-
radio-Vera.php (modified) (2 diffs)
-
radio.html (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
version.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
radio-vera/trunk/playlist.php
r1020206 r1020233 1 1 <?php 2 2 header('Content-type: application/xml'); 3 function download_file_from_www($url , $connect_timeout=1, $timeout=1)3 function download_file_from_www($url) 4 4 { 5 $ch = curl_init(); 6 curl_setopt($ch,CURLOPT_URL,$url); 7 curl_setopt($ch,CURLOPT_RETURNTRANSFER,1); 8 curl_setopt($ch,CURLOPT_TIMEOUT, $timeout); 9 curl_setopt($ch,CURLOPT_CONNECTTIMEOUT, $connect_timeout); 10 $data = curl_exec($ch); 11 curl_close($ch); 5 $ch = curl_init(); 6 @curl_setopt($ch,CURLOPT_URL,$url); 7 @curl_setopt($ch,CURLOPT_RETURNTRANSFER,true); 8 //curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4 ); 9 //передаем данные по методу post 10 //curl_setopt($ch, CURLOPT_POST, 1); 11 // задает время за которое мы должны загрузить указанный url 12 @curl_setopt($ch,CURLOPT_TIMEOUT, 2); 13 //задает время на соединение с сервером 14 @curl_setopt($ch,CURLOPT_CONNECTTIMEOUT, 2); 15 //я не скрипт, я браузер опера 16 @curl_setopt($ch, CURLOPT_USERAGENT, 'Opera 10.00'); 17 //curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); 18 @curl_setopt( $ch, CURLOPT_SSL_VERIFYHOST, false ); 19 @curl_setopt( $ch, CURLOPT_SSL_VERIFYPEER, false ); 20 $data = curl_exec($ch); 21 @curl_close($ch); 12 22 return $data; 13 23 } -
radio-vera/trunk/radio-Vera.php
r1020206 r1020233 5 5 Description: Виджет православного радио «Вера» 6 6 Author: ORTOX 7 Version: 2. 17 Version: 2.2 8 8 Author URI: http://prihod.ru 9 9 */ … … 74 74 <script type="text/javascript"> 75 75 //<![CDATA[ 76 // 77 // http://radiovera.hostingradio.ru:8007/radiovera_128 78 // 76 79 var myCirclePlayer; 77 80 jQuery(document).ready(function(){ 78 81 myCirclePlayer = new CirclePlayer("#jquery_jplayer_radiovera", 79 82 { 80 mp3: "http://radiovera.hostingradio.ru:8007/radiovera_128" 81 }, { 83 mp3: "http://radiovera<?php echo $bitrate; ?>.streamr.ru"}, { 82 84 cssSelectorAncestor: "#cp_container_1", 83 85 swfPath: "<?php echo plugin_dir_url(__FILE__); ?>js", -
radio-vera/trunk/radio.html
r986318 r1020233 28 28 myCirclePlayerOut = new CirclePlayer("#jquery_jplayer_radiovera", 29 29 { 30 mp3: "http://radiovera .hostingradio.ru:8007/radiovera_128"30 mp3: "http://radiovera128.streamr.ru" 31 31 }, { 32 32 cssSelectorAncestor: "#cp_container_1", -
radio-vera/trunk/readme.txt
r1020206 r1020233 40 40 == Changelog == 41 41 42 = 2.2 = 43 44 1. Изменен адрес потока вещания 42 45 43 46 = 2.1 = -
radio-vera/trunk/version.txt
r1020206 r1020233 1 2. 11 2.2
Note: See TracChangeset
for help on using the changeset viewer.