Skip to the content
Documentation

ezmedia

No ratings yet
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 "exponential-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.

Contributors

Comments (1 historical)

Written by readers of the earlier documentation sites, kept as they were.

  1. Default values

    Romain Petit ·

    I'm using webdav to create media pages, and I think it uses the default values of class attributes defined in the class definition, to fill the object content.
    Is there a way to define default values on this datatype ?
    For example to automatically show the controller on wmv pages created by webdav.

Comments

Add a comment

Comments are read by a moderator before they appear.