Languages

Menu
Sites
Language
Can't play stream audio with HTML-5 <audio> tag on ref device

Hi, all!

I'm tryin to play stream audio with following code:

<!DOCTYPE html>

<html>
<body>
<audio src="http://icecast.timlradio.co.uk/vc160.ogg" autoplay type="audio/ogg"></audio> 
</body>
</html>
 
Simulator playing that good, but real device don't do it. 
Can someone tell me, how to play sound with <audio> tag?
Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

9 Replies
Lakshmi Grandhi
Hi, Did you added access to the above url in config file
Mik Thompson
Yes, config file contains string
Mik Thompson
access origin="*" subdomains="true"
Mik Thompson
Yes, i found my error. I just needed to add privilegies.
Denis Miroshnikov

HI,

what is from previlegies you add for play stream audio?

Denis Miroshnikov

+1 same problem with try to play stream MP3  with <audio> ....   how 2 resolve :(  ?

 

Denis Miroshnikov

tag <Audio>  is played mp3 stream but can't hear sound ...  silnence that all  , but play / pause button is work

    why no sound?   on Gear S - real device .

Hai Phan

Privilege to add is "internet"

Denis Miroshnikov

Yes exactly !   I think is the bug for this tag