shaka is not defined
buraian opened this issue · 5 comments
I am using Content Explorer installed via the Box CDN and it works fine except videos will not play/preview. The error I receive is "shaka is not defined".
To troubleshoot I tried installing the Shaka video player via CDN but it did not fix.
Please help! Thanks
Environment:
- Elements version: 19.0.0
Desktop (please complete the following information):
- OS: MacOS
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
What is the expected behavior? (Screenshots can be helpful here)
Hey @buraian, can you verify that you can see a network request for shaka-player.complied.js
coming from our CDNs when you preview a video?
Hey @greg-in-a-box, I am not seeing a network request for that file or any file with the name shaka
.
I checked out our demo and I can see that file being loaded in.
There are few things you could check:
- if you are using the default preview version within the ContentExplorer or lower?
- if your firewalls are blocking our CDNs?
- do you see any other request from our domain that get requested, like if you open a PDF, do you see the
pdf.min.js
in the network?pdf.min.js
should be coming from the same domain as theshaka-player.complied.js
just different folder
Thanks for looking into!
I'm having issues with PDFs also. Here is the error I receive:
Cannot read properties of undefined (reading 'GlobalWorkerOptions')
I found that in Content Explorer when I preview a video that shaka-player.compiled.js
does fetch. Here is what is loads from boxcdn.net
if it helps:
I'm not using a firewall or VPN and the Content Explorer demo on the BOX UI Elements docs page works perfectly.
Let me know if you need anything further.
We are unable to reproduce the issue, are you able to provide any codepens or sample code to reproduce this?