MediaPlayParams
extends PdfObject
in package
Media play parameters (/Type /MediaPlayParams) — ISO 32000-2 §13.2.5.
Describes how a media clip should play (volume, rate, duration, etc.). The spec splits "must-honor" and "best-effort" parameters into two sub dicts (MH and BE) that may carry entries like V (volume), F (fit), PL (playback list), D (duration), A (auto-play), C (controller).
Attributes
- #[RequiresPdfVersion]
- \Phpdftk\Pdf\Core\PdfVersion::V1_5
Table of Contents
Constants
- PDF_TYPE = 'MediaPlayParams'
Properties
- $be : PdfDictionary|null
- $generationNumber : int
- $mh : PdfDictionary|null
- $objectNumber : int
- $pl : PdfDictionary|null
Methods
- toIndirectObject() : string
- Wrap the object in an indirect object structure: X Y obj ... endobj
- toPdf() : string
- Serialize the object's dictionary/value to PDF syntax.
Constants
PDF_TYPE
public
mixed
PDF_TYPE
= 'MediaPlayParams'
Properties
$be
public
PdfDictionary|null
$be
= null
$generationNumber
public
int
$generationNumber
= 0
$mh
public
PdfDictionary|null
$mh
= null
$objectNumber
public
int
$objectNumber
= 0
$pl
public
PdfDictionary|null
$pl
= null
Methods
toIndirectObject()
Wrap the object in an indirect object structure: X Y obj ... endobj
public
toIndirectObject() : string
Return values
stringtoPdf()
Serialize the object's dictionary/value to PDF syntax.
public
toPdf() : string