YouTube API change

On March 17th, YouTube changed the code that powers embedded YouTube videos, causing some videos to stop playing in free and premium Shopify themes. We've sent an auto-update to Shopify but if you're still experiencing this issue, you have two options:

Upgrade to the latest version of your theme

Our latest versions have fixed YouTube's latest bug and also include a number of speed improvements and new features, including Shopify's new integrated support for 3d and video product media. Upgrading does require that you re-apply any code changes you previously made to your current theme.

Or...apply a small code change to your current theme

1. Open assets/theme.js.liquid for your current theme

2. Search for this line (open search with ⌘ + F, paste the code from below, press ):

var $player = $(evt.target.a);

And replace the 4 places it appears with:

var $player = evt.target.a ? $(evt.target.a) : $(evt.target.f);

Note: Pressing in the search box switches to the next search result

Impulse support Motion support Streamline support