-
Notifications
You must be signed in to change notification settings - Fork 22
fix(Media): support boolean and parameterized loop for both video types #1298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(Media): support boolean and parameterized loop for both video types #1298
Conversation
|
Preview is ready. |
|
Playwright Test Component is ready. |
| "loop": { | ||
| "start": 0 | ||
| }, | ||
| "loop": true, |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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?
8416f10 to
a3f9edc
Compare
Modified fix instead #1287
Closes #1286