Welcome, guest Sign In

yml:audio

Description

Creates an audio media player that plays MP3 files. The contents of the tag may define a playlist in an XML format.

Attributes

Name Type Required/Optional Description
src string required Full URL path to the MP3 file.
autostart boolean optional Sets the player to auto start on load. Default is "false". Autostart is not available in a small view.
mute boolean optional Sets the volume to mute. Default is "false".
volume string optional Defines the volume level. Default is "0.7".
loop boolean optional Allows the audio track to loop. Default is "false".
artist string optional Defines the artist name. Default is "Unknown Artist".
title string optional Defines the track name. Default is "Unknown Track".

Examples

Table of Contents

Copyright © 2009 Yahoo! Inc. All rights reserved. Copyright | Privacy Policy

Help us continue to improve the Yahoo! Developer Network: Send Your Suggestions