HTML audio tag

HTML audio tag

Hi,

I have written a simple html page to play audio file, I m using audio tag as shown below:

when I open the page using Chrome, it works fine(plays audio).

But when I put the same file in tomcat server and when I tried to open the file in chrome, it is not playing the audio.

pls anyone help me in solving this issue.?

View Answers









Related Tutorials/Questions & Answers:
HTML audio tag
HTML audio tag  Hi, I have written a simple html page to play audio file, I m using audio tag as shown below: Your browser does not support the audio tag. when I open the page using Chrome, it works fine(plays audio
HTML5  audio tag example, Use of audio tag  in HTML5.
HTML5  audio tag example, Use of audio tag  in HTML5. Introduction:In this section, you will see the use and implementation of audio tag in HTML5. The <audio> tag is used to add audio in web page or HTML page. When
Advertisements
HTML5 audio loop, Use of loop attribute of audio tag in  HTML5.
HTML5 audio loop, Use of loop attribute of audio tag in  HTML5... value either true or false. If it is available in audio tag, music file... Description loop Boolean If it is presented in audio tag. Music
HTML5 audio autoplay, Use of autoplay attribute in audio tag.
HTML5 audio autoplay, Use of autoplay attribute in audio tag. Introduction:The autoplay is an audio tag attribute. It is only supported by HTML5. When it is present in audio tag, the music file will begin itself. or After loading
HTML5 audio autobuffer, Use of autobuffer attribute in audio tag.
HTML5 audio autobuffer, Use of autobuffer attribute in audio tag. Introduction:The autobuffer attribute has Boolean value. It is available in audio tag... in audio tag file; music will start buffering automatically . Declaration
HTML5 audio controls, Discuss the controls attribute of audio tag.
HTML5 audio controls, Discuss the controls attribute of audio tag... on browser. It supports only Boolean value. If it is present in audio tag... in audio tag file; music controls will be display on screen. Declaration
meta tag in HTML
meta tag in HTML  Explain meta tag in HTML
anchor tag in HTML
anchor tag in HTML  Explain anchor tag in HTML
formatting tag in HTML
formatting tag in HTML  What are the various text formatting tag in HTML
HTML text tag
HTML text tag   How to wrap text in HTML code without changing the text format
text formatting tag in HTML
text formatting tag in HTML  What are the various text formatting tag in HTML
HTML marquee tag
HTML marquee tag  What is Marquee Tag in HTML?  Marquee Tag in html rolls the text horizontally or vertically based on the parameters. A simple syntax to use marquee is as follows: <marquee>Hello World<
HTML - base tag example.
HTML - base tag example. Description : The base tag is a HTML tag...;title>HTML is a markup language</title> </head> <body> <h1>HTML -- base tag. </h1> &nbsp;<a href="
HTML - Image tag.
HTML - Image tag. Description : HTML supports two type tags. 1-Singular tag... and end tag. The img tags is used for embedding image in HTML page...;h1>Example of HTML image tag.</h1> <img src="RI
HTML - Q (quotation) tag.
HTML - Q (quotation) tag. Description : It generates a quotation over the text. Code : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0...;/head> <body> <h1>HTML -- q&nbsp; tag.</h1> <
HTML - menu tag example
HTML - menu tag example Description : The <menu> is a tag of HTML...>HTML -- menu tag.</h1> <p>Creates a menu list... html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  "
struts html tag - Struts
struts html tag  Hi, the company I work for use an "id" tag on their tag like this: How can I do this with struts? I tried and they don't work
HTML -- form tag.
HTML -- form tag. Description : HTML provides a form tag. It takes user... within form tag. Code : <!DOCTYPE html PUBLIC "-//W3C//DTD... language</title> </head> <body> <h1>HTML form tag
HTML font tag.
HTML font tag. Description : It is a HTML tag, which is used for changing... : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...;html xmlns="http://www.w3.org/1999/xhtml"> <head> <
HTML - textarea tag example.
HTML - textarea tag example. Description : It is a input tag. You can enter...; <head> <title>HTML is a markup language</title> </head> <body> <h1>HTML -- textarea tag Example. </h1>
HTML - I tag example.
HTML - I tag example. Description : It is a text formatting tag. It display...>HTML -- I tag Example. </h1> <p> Roseindia Technology Pvt...;head> <base href="http://roseindia.net"> <title>HTML
HTML - bold tag.
HTML - bold tag. Description : The bold tag is also a font tag. Which... within bold tag will be display as bold. Code : <!DOCTYPE html...; <h1>Example of HTML image tag.</h1> <span style="font
working of a div tag in html
working of a div tag in html   !DOCTYPE html PUBLIC "-//W3C//DTD....dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
HTML div tag
HTML div tag  I have created a webpage using the div tag. The webpage has the header and the footer. the middle area is divided into left and right parts. The left side has a list of link. The right side part basically shows
HTML div tag
HTML div tag  I have created a webpage using the div tag. The webpage has the header and the footer. the middle area is divided into left and right parts. The left side has a list of link. The right side part basically shows
HTML div tag
HTML div tag  I have created a webpage using the div tag. The webpage has the header and the footer. the middle area is divided into left and right parts. The left side has a list of link. The right side part basically shows
HTML div tag
HTML div tag  I have created a webpage using the div tag. The webpage has the header and the footer. the middle area is divided into left and right parts. The left side has a list of link. The right side part basically shows
img tag of HTML
img tag of HTML  How to pass a variable as a source(src) in img tag? I'm using <% %> to call variables of servlet on a JSP page. And want to pass one of the variables called as a src for img tag. How can This be done
Applet Tag Parameters,Applet Tag in HTML
to applets are: First, add the PARAM tag (with values) to the HTML source file... <APPLET> Tag Parameters: The <PARAM> Tag... the applet's operation. APPLET parameters stored in the PARAM tag actually have little
HTML line break tag
HTML line break tag. The HTML Line break tag <br> is used to add a line... web page. Its very easy you just have to write <br> tag in your html page... <br> tag. This tag is used to add a line break in HTML page
Img Tag<html:img>:
Img Tag<html:img>:       html:img Tag : Renders an HTML <img> element with the image... Example Illustrating the use of the Rewrite<html:img> tag
Textarea Tag<html:textarea>:
Textarea Tag<html:textarea>: Information on Textarea Tag       html:textarea Tag -is use to create ...:textarea> tag. Here you will learn to use the Struts Html<html
Tag Inside Table in HTML
Tag Inside Table in HTML     ... in HTML.In this code we define a HTML page and show you to create a tag inside a Table in HTML. The following tags used in code to create tag inside table in HTML
Checkbox Tag <html:checkbox>:
Checkbox Tag <html:checkbox>:       html: checkbox Tag -  is used to create a  Checkbox Input Field. This tag creates an HTML <input> element of type checkbox
Radio Tag <html:radio>:
Radio Tag <html:radio>:       html:radio Tag - This Tag renders an HTML <input> element of type radio... of the Radio<html:radio> tag. Here you will learn to use the Struts Html
Rewrite Tag<html:rewrite>:
; html:rewrite Tag - This tag renders a request URI  based on exactly the same... Example Illustrating the use of the Rewrite<html:rewrite> tag. Here you will learn to use the Struts Html<html:rewrite> tag
Hidden Tag <html:hidden>:
Hidden Tag <html:hidden>:       This tag facilitate  an HTML <input> element of type hidden... the use of the Hidden<html:hidden> tag. Here you will learn to use
PHP Escaping HTML Tag
PHP Escaping Html Tag: During the parsing of a file by PHP, it looks... the time, unless you need to embed html or any other scripting tag.... The parser ignores the coding outside of the tag. In general we use <?php ?>
Html tag inside out implicit object
Html tag inside out implicit object   ... a html tag inside a out object. out object is used to display the content on the browser. To make this program run use out object inside which define some html
Store image from html img tag into mysql db using java
Store image from html img tag into mysql db using java  Hi. How to get the image displayed in the < img > tag of HTML and store it in the mysql database using java? Thanks in advance
we want to send requiest to server by html select tag - JSP-Servlet
we want to send requiest to server by html select tag  how we can send requiest to server using html select tag. and pass the value also  Hi Request Information In JSP Request Method
dynamic generation of html:select tag from textbox value
dynamic generation of html:select tag from textbox value  Hi, I am a newbie to java and struts. In my application, I have a requirement like when i give some input in a textbox and click on a add link. It should be added
dynamic generation of html:select tag from textbox value
dynamic generation of html:select tag from textbox value  Hi, I am a newbie to java and struts. In my application, I have a requirement like when i give some input in a textbox and click on a add link. It should be added
how to call servlet from html page at anchor tag ?
how to call servlet from html page at anchor tag ?  I have a very different problem as i am using netbeans ide 6.9 ml to make a website in java... buttons image and for referrence i use anchor tag {for ex: ()} to go
JSF HTML Tag Reference
JSF HTML Tag Reference     ... HTML tags are used for design the page by using server side code. This tag... of the prefix attribute of the taglib directive. When you declare any html tag
HTML
HTML  What is a tag? How can we use MARQUEE in HTML
how to retrieve image from mysql database using java and show it in HTML img tag ?
how to retrieve image from mysql database using java and show it in HTML img tag ?  how to retrieve image from mysql database using java and show it in HTML img tag
html
or the End Tag is defined as </> . The whole HTML document is enclosed...html  For what is used HTML?   Using HTML we can create a Web Page which can be viewed through a Web Browser over Internet. HTML describes
HTML tags, Definition of applet tag in HTML5.
HTML tags, Definition of applet <applet> tag in HTML5. In this section, we will define applet tag. HTML5 does not support applet tag. Applet tag... program that can be embedded into HTML pages. Java applets runs on the java
Tomahawk documentBody tag
is equivalent to HTML <body> tag."/> </h:form> </t...-urlencoded"> The documentBody tag is equivalent to HTML &lt;body&gt...Tomahawk documentBody tag   

Ads