JSON API - addVideo
- getTemplateVariables
- getTemplateVariablesType
- processTemplate
- removeVariableAudio
- removeVariableImage
- removeVariableText
- removeVariableVideo
- replaceVariableAudio
- replaceVariableHtml
- replaceVariableImage
- replaceVariableList
- replaceVariablePptxFragment
- replaceVariableTable
- replaceVariableText
- replaceVariableVideo
- setTemplateSymbol
addVideo
PREMIUM
TRIAL / ADVANCED
Inserts a video into the PowerPoint presentation.
Note
You are reading the JSON API documentation. For the PHP API method please go to addVideo.
JSON data
| Key | Description |
|---|---|
| video | Video path, Base64 string, or URL. Video formats: avi, mkv, mp4, wmv. |
| coordinateX | EMUs (English Metric Unit). |
| coordinateY | EMUs (English Metric Unit). |
| sizeX | EMUs (English Metric Unit). |
| sizeY | EMUs (English Metric Unit). |
| name | Internal name. If not set, a random name is generated. |
| order | Set the display order. Default after existing contents. 0 is the first order position. If the order position doesn't exist add after existing contents. |
| image |
|
| mime | Forces a mime (video/mp4, video/x-msvideo, video/x-ms-wmv, video/unknown). |
| descr | Placeholder alt text (descr) value. |
Code samples
Example #1
Release notes
- phppptx 5.0:
- new action.