Skip to content
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

Generate spatial animation on the client-side; decide on container for animation if download available. #11

Open
bryce-carson opened this issue Jun 11, 2024 · 3 comments
Assignees
Labels
duplicate This issue or pull request already exists enhancement New feature or request JavaScript An issue that is best solved with JavaScript, rather than R server code, or which is caused by JS. UNSTABLE The work is to be completed in the unstable branch

Comments

@bryce-carson
Copy link
Collaborator

The use of the MP4 format is misguided... the creation of an animation should be achieved using a client-side JavaScript animation framework to give the user full control.

Opining and wondering aloud

The container format should be an open format, like OGG if we are offering a download. Not all users will have access to an MP4 decoder. 🤷🏼 A more portable decision is to decide that the user should convert a slideshow played at some rate to a video on their own. Our job isn't to do their entire job for them, especially when it comes to supplementary materials; eventually someone will have an issue and want the raw data anyways, so we should just give them the raw data (the PNGs) and wash our hands of the issue.

@bryce-carson bryce-carson added enhancement New feature or request duplicate This issue or pull request already exists labels Jun 12, 2024
@bryce-carson
Copy link
Collaborator Author

In the commentary of #7 I discuss using Splide.

@bryce-carson
Copy link
Collaborator Author

The Theora encoder with an OGG container seems like a good choice, but WEBM is more commonly known.

@bryce-carson bryce-carson added the JavaScript An issue that is best solved with JavaScript, rather than R server code, or which is caused by JS. label Jul 5, 2024
@bryce-carson
Copy link
Collaborator Author

Splide JavaScript library, taken directly from the 4.1.3 release page on GitHub

splide-4.1.3.tar.gz
splide-4.1.3.zip

@bryce-carson bryce-carson self-assigned this Jul 16, 2024
@bryce-carson bryce-carson added the UNSTABLE The work is to be completed in the unstable branch label Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists enhancement New feature or request JavaScript An issue that is best solved with JavaScript, rather than R server code, or which is caused by JS. UNSTABLE The work is to be completed in the unstable branch
Projects
None yet
Development

No branches or pull requests

1 participant