\VideoEmbed
Synopsis
class VideoEmbed
extends DataObject
{
- // members
- public static string $singular_name = 'Video';
- public static string $plural_name = 'Videos';
- private static array $db = ;
- private static array $has_one = ;
- private static array $searchable_fields = ;
- private static array $summary_fields = ;
- private integer $width = 480;
- private integer $height = 270;
- private boolean $autoPlay = false;
- private VideoEmbedSettings $settings = false;
- // methods
- public void GetThumbURL()
- public void Thumbnail()
- public void getTitle()
- public void CMSThumbnail()
- public void getCMSFields()
- public void GetVideoTypes()
- public VideoEmbedSettings GetSettings()
- public void GetEmbedCode()
- public void GetUrl()
- public void GetEmbedUrl()
- public Oembed_Result|bool GetOembed()
- public void GetMimeType()
- public void GetSetupData()
- public void setTemplateRequirements()
- public void forTemplate()
- public void getWidth()
- public void getHeight()
- public void getAutoPlay()
- public void setWidth()
- public void setHeight()
- public void setAutoPlay()
- public static VideoEmbed GetByURL()
- public void GetOembedJson()
Hierarchy
Extends
- DataObject
Members
private
- $autoPlay
- $db
- $has_one
- $height
- $searchable_fields
- $settings — VideoEmbedSettings
- $summary_fields
- $width
public
- $plural_name
- $singular_name
Methods
public
- CMSThumbnail()
- GetByURL()
- GetEmbedCode()
- GetEmbedUrl()
- GetMimeType()
- GetOembed()
- GetOembedJson()
- GetSettings()
- GetSetupData()
- GetThumbURL()
- GetUrl()
- GetVideoTypes()
- Thumbnail()
- forTemplate()
- getAutoPlay()
- getCMSFields()
- getHeight()
- getTitle()
- getWidth()
- setAutoPlay()
- setHeight()
- setTemplateRequirements()
- setWidth()