Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
New Developer
Posts: 65
Registered: ‎08-07-2013
My Device: Blackberry Torch 9800
My Carrier: Mobile App Development

Html Audio File not appear in Web application on Blackberry Torch 9800

Hi All,

 

I have developed the simple web application. it consists of one audio file..Audio File works properly in Ripple Emulator..But It doesn't appear in Blackberry Torch 9800...Here i have attached my html coding..please help me to play the audio in my device....Thanks in Advance..

 

index.html

 

<!DOCTYPE html> 
<html> 
    <head> 
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
        <title>Test Video</title> 
		
    </head> 
    <body> 
        <h3>Testing the Video..!</h3> 		
				
		<video autoplay name='media' controls preload='automatic' autobuffer>
		<source src='http://url/track.mp3' type='audio/mpeg' Autoplay='true'>
		<embed height='100%' width='100%'>
		</video>						
    </body> 
</html>

 With Regards,

 

Marimuthu_P

Highlighted
Retired
Posts: 165
Registered: ‎09-24-2012
My Device: Passport
My Carrier: Bell

Re: Html Audio File not appear in Web application on Blackberry Torch 9800

Does it work if you are using the <audio> tag? (also you don't need embed in there)

 

<!DOCTYPE html> 
<html> 
    <head> 
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
        <title>Test Video</title> 
		
    </head> 
    <body> 
        <h3>Testing the Video..!</h3> 		
	<audio src='http://url/track.mp3' autoplay/>
    </body> 
</html>