anvc / scalar

Born-digital, open source, media-rich scholarly publishing that’s as easy as blogging.
Other
231 stars 73 forks source link

Playing Youtube Scalar Media #188

Closed schnydszch closed 2 years ago

schnydszch commented 2 years ago

I am trying out Scalar Media Link. I have youtube videos added as media but they have the same video source, only differentiated by the start and end time (e.g. https://youtu.be/ECXkBgDfvts?start=2130&end=2354 and https://youtu.be/ECXkBgDfvts?start=1662&end=2120). The thing is if the videos are played, whatever was the last timestamp for a particular youtube media, that timestamp is assumed even though the youtube video link has its own start time. Is there a way for Scalar to assume instead the URL parameter for start time which in my example are 2130 (35:30) and 1662 (27:42)?

eloyer commented 2 years ago

Can confirm that YouTube videos don't seem to be following start time URL parameters — this was previously supported, we'll take a look and see if we can figure out what the issue is.

eloyer commented 2 years ago

@schnydszch We've got a fix, need to do some testing and then we'll update our install.

schnydszch commented 2 years ago

@eloyer Thanks for the fix! How do I add the patch to my current install? Or will just wait for the updated version. Thanks again!

eloyer commented 2 years ago

@schnydszch Are you running your own install, or are you on Reclaim?

schnydszch commented 2 years ago

@eloyer I am running on my own.

eloyer commented 2 years ago

@schnydszch You can just update from the repo, we haven't seen any issues in testing.