Function __global->get_matching_closed_captions_file

Definitions

sources/images.php

  • Get the path to a matching closed captions file, so long as the URL is under a given scope.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: string

Parameters

Name Type Default Set Range Description
$url URLPATH required parameter N/A N/A URL to the video
$scope_limit string uploads/ N/A N/A Only operate under this file path (relative to the base directory)

Return

  • Path to the closed captions URL file (null: did not find a file)
  • Type: ?URLPATH
  • Set: N/A
  • Range: N/A