Click here to Skip to main content
15,885,216 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: Java Script Question Pin
Hakan Bulut12-Mar-13 23:40
Hakan Bulut12-Mar-13 23:40 
GeneralRe: Java Script Question Pin
dusty_dex13-Mar-13 5:08
dusty_dex13-Mar-13 5:08 
GeneralRe: Java Script Question Pin
Hakan Bulut13-Mar-13 6:52
Hakan Bulut13-Mar-13 6:52 
GeneralRe: Java Script Question Pin
dusty_dex13-Mar-13 7:33
dusty_dex13-Mar-13 7:33 
AnswerRe: Java Script Question Pin
Marco Bertschi14-Mar-13 5:47
protectorMarco Bertschi14-Mar-13 5:47 
GeneralRe: Java Script Question Pin
Hakan Bulut15-Mar-13 0:02
Hakan Bulut15-Mar-13 0:02 
GeneralRe: Java Script Question Pin
Marco Bertschi15-Mar-13 0:17
protectorMarco Bertschi15-Mar-13 0:17 
QuestionJavaScript Based Radio Player Pin
ASPnoob4-Mar-13 19:08
ASPnoob4-Mar-13 19:08 
Hi All, the most common radio players on websites are Flash based and they work great on desktop or laptop versions of of most websites. This is acceptable for many site owners but for some owners who want to be able to reach listeners on mobile devices it is problematic. Flash based players are not supported by mobile devices. One could say why don't you register your site with such websites as tunein.com or itune so that your listeners can listen to you with their mobile devices. The reasons for that vary from owner to owner. So having said all that, is it possible to create a player with JavaScript that will handle streams? I have created an interface for a radio player as follows but it does not work.
HTML
 <button onClick="document.getElementById('audio').play();document.getElementByID('audio').volume=1;">Play</button>
<button onClick="document.getElementById('audio').pause()">Pause</button>

Then I tried to use the Source attribute of HTML5 Audio element to hand the radio stream as follows:
HTML
  <audio id="audio">
<source src="http://Put your hosting company url here:Put your port number here/"/>
</audio>

Unfortunately the HTML5 Audio Element does not handle streams, it only handles files. I would like to create a JavaScript radio player code that I can place on any website to allow listeners on mobile devices to listen to online radio stations of their choice. Please point me in the right direction, thanks in advance.

modified 5-Mar-13 1:15am.

AnswerRe: JavaScript Based Radio Player Pin
jkirkerx5-Mar-13 13:44
professionaljkirkerx5-Mar-13 13:44 
AnswerRe: JavaScript Based Radio Player Pin
twseitex8-Mar-13 8:55
twseitex8-Mar-13 8:55 
Questionhow to get currently running application names using JAVA Script Pin
ajitdstar4u4-Mar-13 0:30
ajitdstar4u4-Mar-13 0:30 
AnswerRe: how to get currently running application names using JAVA Script PinPopular
Richard MacCutchan4-Mar-13 1:21
mveRichard MacCutchan4-Mar-13 1:21 
AnswerRe: how to get currently running application names using JAVA Script Pin
jkirkerx4-Mar-13 12:54
professionaljkirkerx4-Mar-13 12:54 
AnswerRe: how to get currently running application names using JAVA Script Pin
twseitex8-Mar-13 8:57
twseitex8-Mar-13 8:57 
Questionloader in js Pin
saibansal3-Mar-13 22:24
saibansal3-Mar-13 22:24 
AnswerRe: loader in js Pin
Joezer BH4-Mar-13 1:28
professionalJoezer BH4-Mar-13 1:28 
GeneralRe: loader in js Pin
saibansal4-Mar-13 18:01
saibansal4-Mar-13 18:01 
AnswerRe: loader in js Pin
Hakan Bulut12-Mar-13 0:29
Hakan Bulut12-Mar-13 0:29 
QuestionLooking for a candian that has regex down for canadian postal codes Pin
jkirkerx3-Mar-13 12:54
professionaljkirkerx3-Mar-13 12:54 
AnswerRe: Looking for a candian that has regex down for canadian postal codes Pin
Peter_in_27803-Mar-13 13:26
professionalPeter_in_27803-Mar-13 13:26 
GeneralRe: Looking for a candian that has regex down for canadian postal codes Pin
jkirkerx3-Mar-13 13:44
professionaljkirkerx3-Mar-13 13:44 
QuestionGetting child json elements Pin
jkirkerx3-Mar-13 9:09
professionaljkirkerx3-Mar-13 9:09 
AnswerRe: Getting child json elements Pin
Graham Breach3-Mar-13 10:01
Graham Breach3-Mar-13 10:01 
GeneralRe: Getting child json elements Pin
Garth J Lancaster3-Mar-13 10:26
professionalGarth J Lancaster3-Mar-13 10:26 
GeneralRe: Getting child json elements Pin
jkirkerx3-Mar-13 10:50
professionaljkirkerx3-Mar-13 10:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.