Function __global->video_get_defaults__post
Definitions
sources/galleries2.php
- Get video details from POST environment and details/metadata.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$is_edit | boolean | False | N/A | N/A | Whether this is for an edit operation |
$url | URLPATH | Blank (empty string) | N/A | N/A | URL to the video (blank: not known yet, calculate here if possible) |
$thumb_url | URLPATH | Blank (empty string) | N/A | N/A | URL to the thumbnail image (blank: not known yet, calculate here if possible) |
$filename | ?string | Null | N/A | N/A | Filename of video (null: not known yet, calculate here if possible) |
$video_width | ?integer | Null | N/A | N/A | Video width (null: not known yet, calculate here if possible) |
$video_height | ?integer | Null | N/A | N/A | Video height (null: not known yet, calculate here if possible) |
$video_length | ?integer | Null | N/A | N/A | Video length (null: not known yet, calculate here if possible) |
$closed_captions_url | URLPATH | Blank (empty string) | N/A | N/A | Video width (blank: not known yet, calculate here if possible) |
$title | string | Blank (empty string) | N/A | N/A | Title of video (blank: not known yet, calculate here if possible) |
$cat | string | Blank (empty string) | N/A | N/A | Gallery (blank: not known yet, calculate here if possible) |
Return
- Tuple of video details
- Type: array
- Set: N/A
- Range: N/A