Skip to content

textmode.js / media / TextmodeVideo / loop

Method: loop() ​

ts
loop(shouldLoop?): this;

Set whether the video loops.

Parameters ​

ParameterTypeDefault valueDescription
shouldLoopbooleantrueWhether to loop. Defaults to true.

Returns ​

this

Example ​