Skip to content

Conversation

@mournfulCoroner
Copy link
Contributor

@mournfulCoroner mournfulCoroner commented Sep 23, 2025

Modified fix instead #1287

Closes #1286

@gravity-ui-bot
Copy link
Contributor

Preview is ready.

@gravity-ui-bot
Copy link
Contributor

Playwright Test Component is ready.

"loop": {
"start": 0
},
"loop": true,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe you need to add new part of data for new story ?

}

if (loop) {
videoElement.currentTime = 0;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but if there is still a loop: {start: 10} ? then shouldn't it be 0?

@mournfulCoroner mournfulCoroner changed the title fix(Media): support boolean loop prop for default video fix(Media): support boolean and parameterized loop for both video types Sep 29, 2025
@mournfulCoroner mournfulCoroner force-pushed the fix-support-bolean-loop-for-default-video branch from 8416f10 to a3f9edc Compare October 1, 2025 08:54
@mournfulCoroner mournfulCoroner merged commit 9370b5d into main Oct 1, 2025
4 checks passed
@mournfulCoroner mournfulCoroner deleted the fix-support-bolean-loop-for-default-video branch October 1, 2025 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Video in media block has no loop

5 participants