PlayedConditionV1

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

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

Checks the start of playback.

Validation will be passed if playback is started. To play media with the condition.played check, you can use view.audio and view.video. The condition.played 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