starteam / starcellbio_html

2 stars 7 forks source link

In the Lab video reloads when selecting a new sample #92

Open pdpinch opened 9 years ago

pdpinch commented 9 years ago

from #76:

I do notice that the In the Lab video reloads every time I select a new sample. Is there any way to prevent this from happening?

pdpinch commented 9 years ago

@ald32 I'm not sure I understand this. Could you walk me through it a bit?

ald32 commented 9 years ago

When I'm on the analyze page of the microscopy experimental technique, I see the "In the Lab" video reload every time I switch between samples. I click on a sample name, and the 'in the lab' box and the microscope lens both go blank. Then the in the lab video comes back, followed by the slide. Do you see this too? https://scbdev.mit.edu/#view=microscopy&assignment_id=sutd_intro_biology_ps2&experiment_id=scb_Experiment_17i487eqj60ho&microscopy_id=scb_Microscopy_164l4ghbqd4p5

pdpinch commented 9 years ago

Ok, I see what you mean. There must be some JavaScript event (onhashchange maybe?) that the video player is sensitive too.

When we switch to opening the video in a new tab, this may just go away.

annagav commented 7 years ago

Let's try to make it an image link instead of an embedded video. This will fix the other issue on video playing inside scb.

annagav commented 7 years ago

Related to #150