Data Item: Animation#

This data item contains a video clip. It is a wrapper around an MP4 encoded movie file. Ansys Dynamic Reporting will not transcode the video, it must be converted to H.264 MP4 container suitable for web display before being pushed into Ansys Dynamic Reporting. Note: various web portal configurations (NGINX/Apache) may put limits on the size of the files that can be uploaded. Generally, files of several hundred MB are allowed, provided that the maximum size of a REST request allows them.

Display options#

This item is displayed in the browser's native movie display plug-in. Individual browsers will scale the playback window in different ways. There is a 'width' property that allows a report to try to specify the width of the display window in pixels and ask the browser to scale while preserving the aspect ratio. The 'controls' property specifies if the animation should play by default and if playback controls should be visible.

Properties#

Property

Value

controls

Value

Operation

0

no controls displayed

1

display controls

2

autoplay animation, no controls displayed

3

display controls and autoplay

width

Maximum width of the mp4 frame in pixels