Don't want unrelated videos on display? Use this code.

Removing Related Videos from Youtube Embeds

Don't want unrelated videos on display? Use this code.

Helping your Social Justice Blog Work for You.

In my last note I shared some code I found related to making video embeds responsive. Here’s an extra tip that I hope you find helpful.

Note: This tip is YouTube specific.

Sharing videos on your blog can be a great way to relay important messages. In my experience with using YouTube videos, I’ve noticed that the related video options which often appear after a video ends don’t always align with the purpose of the note I published, or with the vision of what my blog represents.

If you’ve been feeling the same way about your own blog, but don’t necessarily know how to go about resolving the issue, check this out.

To remove the related videos, displaying only the replay option instead, add “&rel=0” to the end of your embeded youtube link (without the quotation marks).

Note The Differences

Exhibit A: a link without the code:

 

Exhibit B: With the code added:

Note the difference? Using this code will help to ensure that you display only the content you want to. Try it out yourself.

Ubuntu,

From Aspiring Humanitarian, Relando Thompkins, MSW, LLMSW

—————————————————————————————————————————

—————————————————————————————————————————

Get New Notes in Your Inbox

Enter your email address to have new notes delivered to your inbox.

Written by

I'm a Social Worker, Educator, and Aspiring Humanitarian who is interested in conflict resolution, improving intergroup relations, and building more equitable and inclusive communities. "Notes from an Aspiring Humanitarian" is my blog, where I write about issues of diversity, inclusion, equity, and social justice. By exploring social identities through written word, film & video, and other forms of media, I hope to continue to expand and enrich conversations about social issues that face our society, and to find ways to take social action while encouraging others to do so as well in their own ways.

Still Here? Try these...

Share Your Thoughts: Leave a Comment

%d bloggers like this: