การติดตั้งโค้ดวิทยุออนไลน์บนหน้าเว็บเพจ

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.

FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support3.03.5 (1.9.1) [1]9.010.53.1
autoplay attribute3.03.5 (1.9.1)9.010.53.1
buffered attribute?4.0 (2.0)???
controls attribute3.03.5 (1.9.1)9.010.53.1
loop attribute3.011.0 (11.0)9.010.53.1
muted attribute?11.0 (11.0)???
played property?15.0 (15.0)???
preload attribute3.04.0 (2.0)9.0(Yes) [2]3.1
src attribute3.03.5 (1.9.1)9.010.53.1
volume attribute
FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support?1.0 (1.0) [1]???
autoplay attribute?1.0 (1.0)???
buffered attribute?4.0 (2.0)???
controls attribute?1.0 (1.0)???
loop attribute?11.0 (11.0)???
muted attribute?11.0 (11.0)???
played property?15.0 (15.0)???
preload attribute?4.0 (2.0)???
src attribute?1.0 (1.0)???
volume attribute
============================================================

ส่วนของเราใช้โค้ดนี้ ในกล่อง Widget

<audio autoplay="true" controls="true" src="http://95.179.150.27:8000/;listen.pls?sid=1" volume="1.0"></audio>




ผลลัพธ์ ดังนี้ 


บทความใหม่กว่า
Previous
This is the last post.

ไม่มีความคิดเห็น:

แสดงความคิดเห็น