Module: alfresco/preview/Audio

alfresco/preview/Audio

This plugin will render the HTML5 audio element to preview the content of an audio node.
Author:
  • Dave Draper
License:
Source:

Members

cssRequirements :object[]

An array of the CSS files to use with this widget.
Type:
  • object[]
Default Value:
  • [{cssFile:"./css/Audio.css"}]
Source:

Methods

constructor(args)

Parameters:
Name Type Description
args object[]
Source:

display()

Display the node.
Source:

report() → {String}

Tests if the plugin can be used in the users browser.
Source:
Returns:
Returns nothing if the plugin may be used, otherwise returns a message containing the reason it cant be used as a string.
Type
String