ezmedia
Summary
Contains information about a video file.Persistent
Yes.Attributes
Attribute | Type | Static* | Description |
---|---|---|---|
contentobject_attribute_id |
string |
Yes. |
The identification number of the content object attribute. |
version |
string |
Yes. |
The content object version. |
filename |
string |
Yes. |
The name of the file in the eZ publish var directory (for example "44b963c9e8d1ffa80cbb08e84d576735.avi"). |
original_filename |
string |
Yes. |
The original filename (for example "ezpublish-mediademo.avi"). |
mime_type |
string |
Yes. |
The MIME type (for example "video/x-msvideo"). |
width |
string |
Yes. |
The playback width - in number of pixels (for example "640"). |
height |
string |
Yes. |
The playback height - in number of pixels (for example "480"). |
has_controller |
string |
Yes. |
Either 1 or 0 (show controller or do not show controller). |
controls |
string |
Yes. |
Either 1 or 0 - Real Media specific - controls the control-bar. |
is_autoplay |
string |
Yes. |
Either 1 or 0 (automatically start playback or not). |
pluginspage |
string |
Yes. |
A URL that leads to the plug-in that is required for proper playback. |
quality |
string |
Yes. |
Flash specific - controls the quality of the media. |
is_loop |
string |
Yes. |
Either 1 or 0 (looped playback or single-cycle). |
filesize |
integer |
No. |
The number of bytes the media file consumes. |
filepath |
string |
No. |
The path to the media file (for example "var/storage/original/video/44b963c9e8d1ffa80cbb08e84d576735.avi"). |
mime_type_category |
string |
No. |
The MIME type category (for example "video"). |
mime_type_part |
string |
No. |
The MIME type part (for example "x-msvideo"). |
* Indicates whether the attribute provides a pre-fetched value or if it needs to be computed upon request.
Balazs Halasy (30/03/2005 11:00 am)
Svitlana Shatokhina (12/03/2007 10:52 am)
Comments
Default values
Wednesday 25 February 2009 1:31:43 pm
Romain Petit
Is there a way to define default values on this datatype ?
For example to automatically show the controller on wmv pages created by webdav.