...
Property | Type | Description | Example |
---|---|---|---|
id | string | Media file identifier. This ID depends on the IO Handler that is being used. With the native, default handlers (FileSystem and Legacy), the ID is the file path, relative to the binary file storage root dir ( This attribute has been introduced in eZ Publish 5.2. | application/63cd472dd7819da7b75e8e2fee507c68.mp4 |
fileName | string | The human readable file name, as exposed to the outside. Used when sending the file for download in order to name the file. | butterflies.mp4 |
fileSize | int | File size, in bytes | 1077923 |
mimeType | string | The file's mime type. | video/mp4 |
uri | string | The binary file's HTTP uri. If the URI doesn't include a host or protocol, it applies to the request domain. This attribute has been introduced in eZ Publish 5.2. The URI is not publicly readable, and must NOT be used to link to the file for download. Use | /var/ezdemo_site/storage/original/application/63cd472dd7819da7b75e8e2fee507c68.mp4 |
hasController | boolean | If the media has a controller when being displayed | true |
autoplay | boolean | If the media should be automatically played | true |
loop | boolean | If the media should be played in a loop | false |
height | int | Height of the media | 300 |
width | int | Width of the media | 400 |
path | string | deprecated |
...