Similar to the FBModel class, the FBVideo class serves as a general media class for images, video clips and video memory, as well as the possiblity of custom formats and custom live cards.To have a valid FBVideo object, it must be constructed with a string pointing to a valid media file. After the creation, the method 'IsValid()' should be used to confirm the object's status. An invalid object cannot be used or interact with any other application object. The only property that can be read and modified is its 'Filename'. To make convert an invalid FBVideo object into a vali one, simply change its Filename property to point to a supported media file.
See sample: DeleteUnusedMedia.py.
Public Member Functions |
|
FBVideo (str pName) | |
Constructor. |