Hi guys,
Video stopped working on our home page. I read the instructions of updating theme.js file (change return videos[evt.target.h.id]; with return videos[evt.target.a.id] but it was already using the 2nd option. Any ideas why it happened? Our site is https://www.lubiliciouslube.com/ - any help is appreciated!
Thank you!
Hello @Anthony60 ,
Revert your changes in theme.js.
Because On your site now its showing JS error.
Hi,
Thanks for a fast reply. Weâve done no changes to theme.js file, thatâs why itâs strange that it just stopped working by itself
Subscribing. My client is having the same issue with Debut, and has updated the âh.â to âa.â already.
Hi Bethany,
Any chance you have found a fix? Thanks!
Bruny
March 18, 2020, 11:17am
6
Same problem here ringolock.com
Quite surprised there isnât a quick fix for something so basic as this âŚ
Iâm having the same issue since a few days. Both background and play button donât work.
Would be great if we can get help from someone to solve this issue.
Bruny
March 19, 2020, 10:58am
9
I have contacted the theme support and they have fixed it. It supposed to be some update bug www.ringolock.com
Hi Bruny,
Did they happen to mention what was the fix they applied?
Thank you.
Bruny
March 19, 2020, 11:55am
11
Just this: Our team has noted a theme bug on the Debut theme that is affecting the video section, due to the updated API on YouTubeâs end of things.
Hi guys,
For anyone having the same issue, here is what worked for me. In theme.js file search for this code https://prnt.sc/rjjk9o (see https://pastebin.com/DinwsQjU ) and replace it with this code - https://prnt.sc/rjjkyn (see https://pastebin.com/zGZJK4C2 )
Hope this helps!
9 Likes
Excellent work! Now mine works as well on caterking.se . Thank you!
1 Like
Hey,
Having the same problem and tried every fix and still nothing. I cant even find this bit of code in my html?
1 Like
AlexS
April 10, 2020, 6:59am
17
Thankyou so much, worked perfectly
Thank you!! This worked perfectly for my store prayersplanner.com
Thank you!!! Works perfectly!
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];
}
Replace that function with the following code:
function getVideoOptions(evt) {
var id = evt.target.getIframe().id;
return videos[id];
}
Save the changes and reload your site.
Cheers,
Tejas
4 Likes