Spoke icon indicating copy to clipboard operation
Spoke copied to clipboard

Video not working

Open antiantivirus opened this issue 4 years ago • 10 comments

When loading in a video from an external source i get the following error. Assuming its an issue with the video codec.

VideoNode.js:139 o: Error loading video https://www.youtube.com/watch?v=6Le68Sd-WMo: Cause: Error loading video "https://hubs-proxy.com/https://www.youtube.com/watch?v=6Le68Sd-WMo": Cause: DEMUXER_ERROR_COULD_NOT_OPEN: FFmpegDemuxer: open context failed at Wi.load (https://assets-prod.reticulum.io/spoke/assets/js/project-page-ab50b779eac100e2f27d.js:1:132441) o: Error loading video "https://hubs-proxy.com/https://www.youtube.com/watch?v=6Le68Sd-WMo": Cause: DEMUXER_ERROR_COULD_NOT_OPEN: FFmpegDemuxer: open context failed at HTMLVideoElement.s (https://assets-prod.reticulum.io/spoke/assets/js/project-page-ab50b779eac100e2f27d.js:1:129493) at HTMLVideoElement.r (https://assets-prod.reticulum.io/spoke/assets/js/entry-59eaae05a6c267888ef3.js:2:539753) undefined

antiantivirus avatar May 11 '20 09:05 antiantivirus

Any advice, possible fix? Still getting this error.

antiantivirus avatar May 18 '20 14:05 antiantivirus

if a vimeo video has no sound it will play

brunomartelli avatar Aug 14 '20 11:08 brunomartelli

OK thanks, good tip for getting round this issue whilst its not working quite correctly at the moment.

antiantivirus avatar Aug 17 '20 09:08 antiantivirus

ok my video will now play in Hubs but no preview in Spoke (if the video has sound).

brunomartelli avatar Aug 21 '20 13:08 brunomartelli

screencaps of how vimeo videos appear with/without sound when I try to load them into Spoke & Hubs. Obscured them a bit because they came from community member and I wasn't sure if they would be ok with them being shared.

Spoke (the one with no sound appears as video, the one with sound appears as link) Screen Shot 2020-09-01 at 10 46 27 AM

Hubs (both appear) Screen Shot 2020-09-01 at 10 46 17 AM

emclaren avatar Sep 01 '20 17:09 emclaren

This was also being discussed on the github discussions board for hubs: https://github.com/mozilla/hubs/discussions/2859

emclaren avatar Sep 01 '20 19:09 emclaren

When looking at the network response for the video I noticed the following (Vimeo): <?xml version='1.0' encoding='UTF-8'?><Error><Code>SignatureDoesNotMatch</Code><Message>The request signature we calculated does not match the signature you provided. Check your Google secret key and signing method.</Message><StringToSign>GET

oli414 avatar Feb 09 '21 10:02 oli414

I have found that hosting my videos on my pro Vimeo account works like crap, hosting my videos on Youtube works fine and unlike Vimeo vids you get an image preview in Spoke. (and more videos play) - BUT my Hubs are on AWS

BonzoMartini avatar Feb 09 '21 11:02 BonzoMartini

Alright sounds promosing I'll give YouTube another shot then. Did you have to change anything about the content-security policy on your admin panel?

oli414 avatar Feb 09 '21 11:02 oli414

..errm i dont think so. I set my youtube vids to unlisted

BonzoMartini avatar Feb 09 '21 11:02 BonzoMartini