-
Notifications
You must be signed in to change notification settings - Fork 25
Audio
Scott Cummings edited this page Oct 31, 2013
·
1 revision
##Book Config Property audio Sound in the storybook is supported via one audio sprite. The audio property of book configuration object defines the location of the audio sprite.
###Properties
- enabled [Boolean] - turns audio of the storybook on or off. [Default value: false]
- path [String] - sets the url path of the audio file (does not include the filename).
- name [String] - the filename of the storybook's audio sprite without the extension. The extension is added programmatically because no one extension is supported by all browsers.
###JSON Example audio: { enabled: true, path: "http://www.williammalone.com/public/", name: "book-audio-sprite" }