Make the #xywh in storyboard.vtt URLs be optional #984
victorvianaom
started this conversation in
Ideas
Replies: 1 comment 4 replies
-
No that'd be a bug, you should be able to provide multiple thumbail images. I'll get that fixed :) |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello there! thank you so much for this amazing project.
I created my own storyboard.vtt file, storing everything in AWS S3, with urls to images without the #xywh fragment identifier. For example:
But it doesn't display anything, nothing happens, no error messages also.
When I add some dummy
#xywh=...the images are properly requested on mouse hover, but I get a CORS error. Its looks like this error message is just a red herring (my S3 config is allowing requests from anywhere), and the real reason for the error seems to be related to url encoding (the#is being treated as an unsafe character for URL). Probably when I add some special character the AWS signature isn't matching.Some questions arise for me:
Does vidstack really only show the images if we put the #xywh? Probably related to this line. If it is so, does it make sense to open a feature request asking to make the #xywh optional in storyboad.vtt files?
Is it possible to add the proper encoding to the image url just before the request gets sent to aws?
Or is there any other solution to my case?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions