Handling Browsers that do not Support Embedding
Sometimes, when a multimedia object is embedded on a Web page, the object is not displayed, which means that browser does not provide support to the object. Therefore, to overcome this problem, HTML provides the <noembed> tag for browsers that do not support the <embed> tag. Inside the <noembed> tag, specify a message that you want to display in the browser. Note that the message inside the <noembed> tag appears only when the browser does not support the <embed> tag.
Let’s do the following steps to handle browsers that do not support embedding:
<!DOCTYPE html>
<html>
<head>
<title> Embedding Multimedia</title>
</head>
<body>
<center>
<h1>Embedding Video Example</h1>
<h2>Playing Video File</h2>
<embed src=”myvideo.mov” type=”video/quicktime” width=”350” height=”250” >
<noembed>Sorry ! Your browser does not support embedding multimedia </noembed>
</center>
</body>
</html>
Save the file with name NoEmbed.html and open on browser.
If your browser supports embedding, then the multimedia file runs successfully. However, if your browser does not support embedding, then it displays the message, “sorry ! Your browser does not support embedding multimedia) .