Debut Theme - Video not loading

Solved
Highlighted
Shopify Partner
1025 214 467
  • Please click Online Store and then Themes.
  • Next, click on Actions and select Edit Code.
  • After that, select the Assets file and click theme.js
  • Search the function name "getVideoOptions", it would be like the following:
  function getVideoOptions(evt) {
    return videos[evt.target.a.id];
  }

Debut Theme - Video not loading.png

  • Replace that function with the following code:
  function getVideoOptions(evt) {
    var id = evt.target.getIframe().id;
    return videos[id];
  }

Debut Theme - Video not loading-1.png

  • Save the changes and reload your site. 

 

Cheers,

Tejas

Shopify Expert | Skype: tejas.nadpara
- Like and Mark as an Accepted Solution if reply helpful
- Feel free to contact me on support@hexaecommerce.com regarding any help
0 Likes
Highlighted
Shopify Partner
1025 214 467

This is an accepted solution.

Solved!

Shopify Expert | Skype: tejas.nadpara
- Like and Mark as an Accepted Solution if reply helpful
- Feel free to contact me on support@hexaecommerce.com regarding any help
0 Likes