Bånder

VTTPreviewThumbnailsGenerator
in package

Table of Contents

Properties

$durationInSeconds  : int
$sequenceFilenameResolver  : Closure
$tileFilter  : TileFilter

Methods

__construct()  : mixed
getContents()  : string
Generates the WebVTT contents.
getPositionOnTile()  : string
Returns the x,y,w,h position of the given thumb key.
getTimestamp()  : string
Returns the formatted timestamp of the given thumb key.

Properties

Methods

getPositionOnTile()

Returns the x,y,w,h position of the given thumb key.

private getPositionOnTile(int $thumbKey) : string
Parameters
$thumbKey : int
Return values
string

getTimestamp()

Returns the formatted timestamp of the given thumb key.

private getTimestamp(int $thumbKey) : string
Parameters
$thumbKey : int
Return values
string

        
On this page

Search results