Special offer

How to loop a YouTube video in an AR blog post.

By
Real Estate Agent with HomeSmart SA541769000

Like many AR bloggers, I like to embed YouTube videos into my posts. But one thing that always annoyed me was the way YouTube would always end your video with the "Up Next" feature. The result is that your reader ends up viewing suggested videos that may not be of interest to them. At one time YouTube would allow you to deselect the "Show Suggestions" option, but not any longer. But even when YouTube changes the options menu, they typically will still support the HTML code hidden inside the embed code.

So I set about to learn how to loop my video so that it stays on the same video that was part of my blog post. It took a little reading and a little experimentation, but I am now able to loop my embedded video.

It is actually quite easy, anyone can do it. Simply take the Original Embed Code that you copy from YouTube and make the following changes

1. Delete the parameter "autoplay;" from your code. It won't be needed and will be redundant. (see red entry).

Original Embed Code

 

 

 

 

2. Add the following parameters to the code. (0 is off, 1 is on)

&loop=1
&autoplay=1
&playlist=VIDEO_ID (your VIDEO_ID is the number between the word embed/ and before the ?)

Your modified code will look like this:

Modified Embed Code

 text 2

 

 

 

One other tip: If you choose the "Show player controls" option in your embed code, (or set "controls=1") the reader will be able to pause the video, to suspend the looping

3. Save your post, then Preview it to make sure it looks the way you want.

 

Below is an example of a video that will autoplay and loop continuously:

I hope this helps make your great AR blog posts even better.

 

Joe Domino is a Realtor® serving the Phoenix & Scottsdale metro area. You can find more great information by visiting his website at www.Scottsdale-AZHomes.com

Posted by

 

 

© 2024HomeSmart Info Joseph Domino All Rights Reserved

Comments(7)

Kasia Zajac, GRI, SFR
Baird & Warner - Lake Zurich, IL

Joseph, thank you very much for sharing this tip. It's a real time-saver. Happy New Year from Chicago-land!

Jan 03, 2019 07:56 AM
Myrl Jeffcoat
Sacramento, CA
Greater Sacramento Realtor - Retired

Joseph - That is an important but simple tip.  I'm certain it will stop a great deal of teeth gnashing annoyance!

Jan 03, 2019 08:45 AM
Myrl Jeffcoat
Sacramento, CA
Greater Sacramento Realtor - Retired

CONGRATULATIONS Joseph, on having this blog FEATURED in the Old Farts Club group!  

Jan 03, 2019 08:45 AM
Joseph Domino 480-390-6011

Myrl Jeffcoat Thanks for the Feature!

Jan 03, 2019 09:07 AM
Chris Ann Cleland
Long and Foster Real Estate - Gainesville, VA
Associate Broker, Bristow, VA

Thank you so much for sharing this.  Bookmarking for future use.

Jan 03, 2019 08:48 PM
Laura Filip
Laura Filip Broker , Opening doors for All Seasons of Life - Whitesboro, TX
What can we do for you today?

Thank you for sharing this. YouTube has made this tricky for sure. Appreciate all your help with sharing this great information. 

Jan 11, 2019 01:56 PM
Debb Janes
Nature As Neighbors - Camas, WA
Put My Love of Nature At Work for You

I'd missed this from you. Now featured and hope many others see this option. D  

Jan 11, 2019 03:02 PM
Joseph Domino 480-390-6011

Thanks

Jan 11, 2019 03:04 PM
Hannah Williams
HomeStarr Realty - Philadelphia, PA
Expertise NE Philadelphia & Bucks 215-820-3376

Joseph Domino 480-390-6011  I missed this but caught it in Q&A   so glad I am going to book mark this

Jan 11, 2019 03:54 PM