The video_source object is available through the sources array of the video object. It contains information about the source files of a video attached to a product.

This page describes the attributes of the video_source object.

video_source.format

Returns the format of the video source file (mp4/m3u8).

video_source.height

Returns the height of the video source file.

videosource.mimetype

Returns the MIME type of the video source file.

video_source.url

Returns the URL of the video source file.

video_source.width

Returns the width of the video source file.