Module: lyria/audio

lyria/audio

new require("lyria/audio")(options)

Parameters:
Name Type Description
options Object
Properties
Name Type Description
id String
paths String[]
volume Number

Volume between 0..1

Source:
Source:

Requires

  • module:root
  • module:jquery

Methods

attr(prop, value)

Sets or gets properties of the audio object

Parameters:
Name Type Description
prop Object
value Object

(optional)

Source:

play(loop)

Parameters:
Name Type Description
loop String

amount of loops this song should be played (-1 if unlimited)

Source:
DocStrap Copyright © 2012-2013 The contributors to the JSDoc3 and DocStrap projects.
Documentation generated by JSDoc 3.2.2 on Sun Jan 26 2014 20:12:45 GMT+0100 (MEZ) using the DocStrap template.