Function __global->_get_mp4_details

Definitions

sources/galleries2.php

  • Get width,height,length of a .mp4 video file.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$file resource No No required parameter N/A N/A The file handle

Returns

  • The triplet (possibly containing nulls for when we can't detect properties) (null: error)
  • Type: ?array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get width,height,length of a .mp4 video file.
 *
 * @param  resource $file The file handle
 * @return ?array The triplet (possibly containing nulls for when we can't detect properties) (null: error)
 */

function _get_mp4_details($file) : ?array