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

ParametersTypeDescription
hintOptional[Any]

Validation error message that a Toloker will see.

Toloka-Kit
OverviewGetting OAuth tokenQuick start
Recipes
Reference
toloka.client
toloka.async_client
toloka.autoquality [autoquality]
toloka.metrics
toloka.streaming