PHP Class FluidTYPO3\Vhs\ViewHelpers\Media\VideoViewHelper

Source can be a single file, a CSV of files or an array of arrays with multiple sources for different video formats. In the latter case provide array keys 'src' and 'type'. Providing an array of sources (even for a single source) is preferred as you can set the correct mime type of the video which is otherwise guessed from the filename's extension.
Inheritance: extends AbstractMediaViewHelper, use trait FluidTYPO3\Vhs\Traits\TagViewHelperTrait
Datei anzeigen Open project: fluidtypo3/vhs

Protected Properties

Property Type Description
$mimeTypesMap array
$tagName string
$validPreloadModes array
$validTypes array

Public Methods

Method Description
initializeArguments ( ) : void Initialize arguments.
render ( ) : string Render method

Method Details

initializeArguments() public method

Initialize arguments.
public initializeArguments ( ) : void
return void

render() public method

Render method
public render ( ) : string
return string

Property Details

$mimeTypesMap protected_oe property

protected array $mimeTypesMap
return array

$tagName protected_oe property

protected string $tagName
return string

$validPreloadModes protected_oe property

protected array $validPreloadModes
return array

$validTypes protected_oe property

protected array $validTypes
return array