Skip to content

support video play back without asset loading#88

Merged
738NGX merged 3 commits intomainfrom
support-video-play-back
Dec 26, 2025
Merged

support video play back without asset loading#88
738NGX merged 3 commits intomainfrom
support-video-play-back

Conversation

@738NGX
Copy link
Copy Markdown
Contributor

@738NGX 738NGX commented Dec 26, 2025

No description provided.

Comment thread src/stores/constructRenderState.js Outdated
src: background.fileId,
width: background.width,
height: background.height,
loop: isVideo ? true : undefined,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

like this:

const element = {
  ...
  // without loop and volume
}

if (isVideo) {
  element.loop = background.loop ?? false
  element.volume = background.volume ?? 500
}

same for the visuals

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

updated

@738NGX 738NGX merged commit 048ee47 into main Dec 26, 2025
1 check passed
@han4wluc han4wluc deleted the support-video-play-back branch February 2, 2026 13:31
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.

2 participants