THE CODE YOU NEED TO MAKE IT WORK.
<audio data-src="http://www.partyviberadio.com:8000/;listen.pls?sid=1" autoplay="true" controls="true"></audio>
AVAILABLE OPTIONS.
autoplay: Whether the radio player should start streaming audio immediately or wait for play to be pressed, available options include autoplay=”true” and autoplay=”false”.controls: Whether controls buttons should be available or not on the radio player UI, available options include controls=”true” and controls=”false”.muted: Whether audio playback should be muted at launch or not, available options include muted=”true” and muted=”false”.volume: The volume at which playback should begin at launch in the range 0.0 (silent) to 1.0 (loudest), for example volume=”1.0″.CHANGE THE FOLLOWING PORT NUMBERS ACCORDING TO THE RADIO CHANNEL YOU WANT THE HTML RADIO PLAYER TO USE.
For our reggae music channel use port 8000. For our ambient music channel use port 8056. For our psychedelic trance music channel use port 8010. For our drum and bass music channel use port 8004. For our breakbeat music channel use port 8032. For our dubstep music channel use port 8040. For our rap music channel use port 8016. For our techno music channel use port 8046. For our pop music channel use port 8024. For our rock music channel use port 8020.HTML RADIO PLAYER WEB BROWSER SUPPORT.
============================================================
ส่วนของเราใช้โค้ดนี้ ในกล่อง Widget
<audio autoplay="true" controls="true" src="http://95.179.150.27:8000/;listen.pls?sid=1" volume="1.0"></audio>
ผลลัพธ์ ดังนี้
ไม่มีความคิดเห็น:
แสดงความคิดเห็น