VideoMetadata
class VideoMetadata extends MediaMetadata (View source)
Properties
protected array | $data | Model Data | from BaseModel |
protected array | $location | The GPS coordinate of the photo/video. | from MediaMetadata |
protected array | $dimensions | Dimension of the photo/video. | from MediaMetadata |
protected DateTime | $time_taken | The timestamp when the photo/video is taken. | from MediaMetadata |
protected int | $duration | The duration of the video in milliseconds |
Methods
__construct(array $data)
Create a new VideoMetadata instance
mixed|null
__set(string $property, string $value)
Handle calls to undefined properties.
from BaseModel
int
getDuration()
Get the duration of the video
Details
at line line 19
__construct(array $data)
Create a new VideoMetadata instance
mixed|null
__get(string $property)
Handle calls to undefined properties.
Check whether an item with the key, same as the property, is available on the data property.
mixed|null
__set(string $property, string $value)
Handle calls to undefined properties.
Sets an item with the defined value on the data property.
in MediaMetadata at line line 53
array
getLocation()
Get the location of the Media
in MediaMetadata at line line 63
array
getDimensions()
Get the dimensions of the Media
in MediaMetadata at line line 73
DateTime
getTimeTaken()
Get the Time the Media was taken on
at line line 30
int
getDuration()
Get the duration of the video