Toloka documentation

PlayedFullyConditionV1

toloka.client.project.template_builder.conditions.PlayedFullyConditionV1 | Source code

PlayedFullyConditionV1(
    self,
    *,
    hint: Optional[Any] = None,
    version: Optional[str] = '1.0.0'
)

This component checks for the end of playback.

Validation is passed if playback is finished. To play media with the condition.played-fully check, you can use view.audio and view.video. The condition.played-fully check only works in the player's validation property.

Parameters Description

Parameters Type Description
hint Optional[Any]

Validation error message that a Toloker will see.