Function __global->show_gallery_video_media

Definitions

sources/galleries.php

  • Show a gallery media entry (not an image, something more complex); all these will render under the 'video' type even if they're technically not.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: object

Parameters

Name Type Default Set Range Description
$url URLPATH required parameter N/A N/A URL to media
$thumb_url URLPATH required parameter N/A N/A URL to thumbnail
$width integer required parameter N/A N/A Width
$height integer required parameter N/A N/A Height
$length integer required parameter N/A N/A Length
$submitter MEMBER required parameter N/A N/A The entry submitter
$closed_captions_url URLPATH required parameter N/A N/A The URL to the closed captions file for this video

Return

  • Displayed media
  • Type: Tempcode
  • Set: N/A
  • Range: N/A