shaka is not defined
buraian opened this issue · 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
.
![image](https://private-user-images.githubusercontent.com/103291617/302445691-c503e679-24d7-491e-a3c9-0638863a958b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYxNTM3MDUsIm5iZiI6MTcyNjE1MzQwNSwicGF0aCI6Ii8xMDMyOTE2MTcvMzAyNDQ1NjkxLWM1MDNlNjc5LTI0ZDctNDkxZS1hM2M5LTA2Mzg4NjNhOTU4Yi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkxMlQxNTAzMjVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zM2U5ZTUxYjc3ODUxZWZiMzgxN2FkMzRkZDUyOTc4MzZlOWQ2NDk1ZGVjNThhNzA4Mjk0MTdhOGQ5ZTA5NzRmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.qCny77qPpMQqL4h7sDzaRZ8IaPxZ8GAr_8_-ZvSe1DM)
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?