JSON API - replaceVariableAudio
- getTemplateVariables
- getTemplateVariablesType
- processTemplate
- removeVariableAudio
- removeVariableImage
- removeVariableText
- removeVariableVideo
- replaceVariableAudio
- replaceVariableHtml
- replaceVariableImage
- replaceVariableList
- replaceVariablePptxFragment
- replaceVariableTable
- replaceVariableText
- replaceVariableVideo
- setTemplateSymbol
replaceVariableAudio
PREMIUM
TRIAL / ADVANCED
Replaces audio placeholders with new audios.
Note
You are reading the JSON API documentation. For the PHP API method please go to replaceVariableAudio.
JSON data
| Key | Description |
|---|---|
| variables | The names of the placeholder template variables as keys and the audios that should replace them as values. Audio path, Base64 string, or URL. |
| activeSlide | If true, get only the active slide. Default as false. |
| image |
|
| mime | Forces a mime: audio/mpeg, audio/x-wav, audio/x-ms-wma, audio/unknown. |
| target |
|
Code samples
Example #1
A template can be a local file, a Base64 string, or a remote file.
Release notes
- phppptx 5.0:
- new action.