Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress 3rd party Related Videos on YouTube videos #1704

Merged
merged 1 commit into from
Jun 30, 2020
Merged

Suppress 3rd party Related Videos on YouTube videos #1704

merged 1 commit into from
Jun 30, 2020

Conversation

tipleyg
Copy link
Contributor

@tipleyg tipleyg commented Jun 30, 2020

This change adds to product page YouTube videos a YouTube URL parameter that suppresses 3rd party "Related Videos" at the end of each video's run. During the June Town Hall Q&A, this was named by one user as a problem that forced them to move their videos to Vimeo. With this URL parameter, only same-channel videos will appear as related videos.

YouTube's IFrame Player API explains how this URL parameter works: "...if the rel parameter is set to 0, related videos will come from the same channel as the video that was just played."

For an Ecommerce site, this is an improvement and should reduce the possibility to sending traffic to someone else's store through YouTube 3rd party videos. Since video.html is used by both AMP and non-AMP product pages, this should be effective on both.

Affects AMP and non-AMP product pages' YouTube videos, limits the Related Videos to same-channel videos where possible
@bigbot
Copy link

bigbot commented Jun 30, 2020

Autotagging @bigcommerce/storefront-team @davidchin

@bookernath
Copy link
Contributor

Thanks for your contribution!

@bookernath bookernath merged commit d920c08 into bigcommerce:master Jun 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants