Video Modal not calling its .js file and therefore not opening the modal?

Shopify Partner
196 1 20

Im trying to create a video modal from a working codepen. The modal is not opening, I think because my biovideo.js is not being called?

I’ve created a separate biovideo.js file in the shopify assets folder
Its referenced in my custom html block like this: <script src="/assets/biovideo.js"></script>

My page:

Im getting a 404 in dev tools. The request url page

my biovideo.js file is in the assets folder

Can anybody give me a steer please?


Rob Moore - NEWBY!!
Replies 0 (0)