Horje

How to Set the "autoplay" parameter to "true", so the sound will start playing as soon as the page loads

Param Example.
index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<h1>The param element</h1>

<object data="https://download.samplelib.com/wav/sample-3s.wav">
<param name="autoplay" value="true">
</object>

</body>
</html>

Output should be:

How to Set the "autoplay" parameter to "true", so the sound will start playing as soon as the page loads




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Attribute
Uploaded by:
Admin