simularium / simularium-website

Front end website for the Simularium project, includes the Simularium viewer
https://simularium.allencell.org
Apache License 2.0
6 stars 3 forks source link

Load at time specified in embed URLs #535

Closed blairlyons closed 1 month ago

blairlyons commented 1 month ago

Use Case

As a user embedding the viewer in another webpage, I want to be able to set the time URL parameter and see my trajectory load starting at that time.

Acceptance Criteria

Embedded trajectories load at the time specified in the t URL parameter.

Details

For example load something like: <iframe src="https://simularium.allencell.org/embed?trajUrl=https://readdy-working-bucket.s3.us-west-2.amazonaws.com/outputs/actin_compression_cytosim_readdy.simularium&t=4" frameborder="0" allowfullscreen></iframe> And have the playback in the embedded view start at 4 rather than 0.

blairlyons commented 1 month ago

this is working now, there must have been something about my local set up