summaryrefslogtreecommitdiff
path: root/ext/mixed/js/display-audio.js
Commit message (Collapse)AuthorAge
* Multiple custom audio sources (#1303)toasted-nutbread2021-01-23
| | | | | | | | | | | | | | | * Fix label * Fix icon size being flexible * Add schema * Add customSourceType option * Update settings * Pass customSourceType to the audio downloader * Implement custom audio JSON mode
* Audio button menu (#1302)toasted-nutbread2021-01-23
| | | | | | | | | * Fix popup menus not stoping events * Ensure non-stale use of buttons * Enable popup menus on the popup/search pages * Add audio menu
* Audio play button status badge (#1300)toasted-nutbread2021-01-23
| | | | | | | | | | | | | | | * Add plus-thick.svg * Add success-color variable * Fix icon display * Add badge * Add missing audioResolved * Update audio badge * Expose attribute
* Add missing audio field (#1296)toasted-nutbread2021-01-23
|
* More display audio refactoring (#1293)toasted-nutbread2021-01-23
| | | | | | | | | | | | | | | * Add _getExpressionAndReading utility * Add _getExpressionReadingKey utility * Add _getAudioOptions * Separate some logic into _createAudioFromInfoList * Update cache data format so that it can be accessed synchronously * Allow sources to be manually specified * Add options to enable playback of a specific entry of a source
* Update display audio cache (#1292)toasted-nutbread2021-01-23
| | | | | | | | | | | | | * Use a standard map * Wrap function * Improve cache to support multiple different source arrays For the same reading/expression * Rename variable * Use null instead of an error
* Display audio update (#1291)toasted-nutbread2021-01-22
| | | | | | | * Move createExpressionAudio to DisplayAudio * Move createAudioFromInfo to DisplayAudio * Update TextToSpeechAudio
* Audio system refactoring (#1275)toasted-nutbread2021-01-18
| | | | | | | | | | | | | | | * Simplify details * Simplify audio creation * Return an array of sources instead of a single item * Use sourceIndex instead of index * Rename APIs * Return more info about the source * Return source instead of sourceIndex
* Display audio (#1269)toasted-nutbread2021-01-18
* Update display definition/definition node handling * Separate display audio controls into a separate class