Admin

Embedding Videos and Shorts in ActiveRain

By
Education & Training with Tech Training for You!

This week on YouTube Thursdays, let's look at a very practical how-to type of post. How to Embed YouTube videos and YouTube shorts in your ActiveRain blog post. I have written posts on each of these before. But today is going to be more of a show rather than tell. You'll see the how-to video at the bottom of this post so you can watch.

In the video shown on the right, that is a YouTube short from Emily Berdon (who was featured in an earlier YouTube Thrusdays post, see that link if you want to go check that out). But as you can see with a YouTube short, that it is in a vertical orientation because these are primarly viewed on mobile devices. However, they are NOT exclusive to mobile devices. What if you want to share a good YouTube short within a blog post. There are a couple of things to know and you can do it!

The first thing to know is that you cannot simply get the video URL and then use it with the "insert media" button on the ActiveRain blog toolbar. The video will not show up. Instead, you will need to right click on the YouTube short and in the popup menu, choose "copy embed code". When you come back to the ActiveRain post editor, go into the source code view and paste the embed code. This will give you an iframe container. In my how-to video that you see below, I'm going to show you how to style that iframe container so that the video is "right sized" and also that it has the other text wrapping around it like you see in my example above.

The code that you can use in your YouTube shorts is here:

style="width: 370px;height: 657px;float: right; margin-left: 30px"

Also, in today's how-to video, we'll look at embedding regular YouTube videos. In the blog editor there is the insert media button and all you need to do is paste the video URL into that source field when you click that button. You could stop there, but I'm going to show you a HTML "hack" that will make it even better. You see, the embeded video by default comes in at 560 pixels for the width. That's okay, but our blog post content area is 837 pixels wide. So there is some extra width that is going unused!

In the source code view, I'm going to show you how to add the following code into the video iframe to make the video go all the way across the content area.

 style="width: 100%;height: 471px;" 

A quick explanation on the above, instead of 560 pixels or any other "fixed" width, we are going to set it to a responsive value of 100%. That means whether you are looking at it on desktop or mobile, the video will always show as big as it is able to. Ideally, I would set the CSS aspect-ratio: 16/9 property so that the height would be automatically calculated, but the active rain blog editor does not allow that setting in HTML mode. So my next best workaround is to fix the height at 471 pixels which is optimized for desktop view and will work also in mobile view.

In our YouTube Thursdays series, we are looking at inspiration videos of what others have done and asking the question "could you do that too?" Here's an example video in that regard explaining 10 Real Estate Words. This is more oriented to new agents, but could you do the same kind of video for first time home buyers? And notice also this video embed is full width of the blog content area. We're using all the pixels available for a nice big view!

Now that I have described what we want to accomplish, now you can watch how to do this in this how to video that I have created.

Posted by

Follow My ActiveRain Blog
See when new posts come out!

Read More Blog Posts

My YouTube Channel

About Me

Email Me

I appreciate every new subscriber
to both my ActiveRain blog AND
my YouTube Channel!

Craig Daniels
This blog is all about technology and helping you to use it smarter! Your digital footprint is your chance to attract new clients. What kind of impression are you making via your website, blog, and social media? We’ll be talking about that! Are you as productive as you can be? What apps might help you out? Do you know how to use all the best tools inside the apps? I enjoy photography and videography, you can expect to see those topics also on this blog.
Are you ready to learn?
Welcome to Craig’s Classroom!

PS - get ready for some homework… :) 

Comments(12)

Show All Comments Sort:
Eileen Burns 954.483.3912
Trans State Commercial Realty Inc. - Fort Lauderdale, FL
FLorida Real Estate Connector

You are always so precise with the most helpful -- style!  😎

Mar 21, 2024 09:13 AM
Craig Daniels

thank you Eileen Burns 954.483.3912 - always glad to see you

Mar 21, 2024 10:03 AM
Jeff Dowler, CRS
eXp Realty of California, Inc. - Carlsbad, CA
The Southern California Relocation Dude

Hi Craig:

This is a terrific tutorial. We see questions in the Q and A about embedding videos and this is a great post to direct people to for assistance. It's important to understand that video shorts are embedded following a different process so thank you for that guidance.

Jeff

BananaTUDE Group Logo     Featured in BananaTUDE

Mar 21, 2024 09:50 AM
Craig Daniels

Thanks Jeff Dowler, CRS - I see lots of newbies doing a video in a post like "click here" hyperlinks when they could be embedding. Plus in this how-to I share also how more experienced bloggers can get better looking results with just a tiny copy/paste in source code. Hope that helps everyone!

Mar 21, 2024 10:05 AM
George Souto
George Souto NMLS #65149 - Middletown, CT
Your Connecticut Mortgage Expert

Craig, your instructions on how to embed videos on ActiveRain are very clear and easy to follow.

Mar 21, 2024 01:50 PM
Laura Cerrano
Feng Shui Manhattan Long Island - Locust Valley, NY
Certified Feng Shui Expert, Speaker & Researcher

Any content about connecting that way matters always. Love and light and all the best’!

Mar 21, 2024 07:06 PM
Andrew Mooers | 207.532.6573
MOOERS REALTY - Houlton, ME
Northern Maine Real Estate-Aroostook County Broker

     Hosting videos on your own website take a L-O-T of space and hog your resources. Slow everything to a crawl and brown out dim the lights.

     Embedding videos on your website or nestled high up in your blog post that are hosted on another platform keep your audience engaged on your site. Instead of chancing them from wandering off your YouTube channel.

     Like kids with too many temptation distractions lost at the YT circus Craig Daniels, you want them binging on your platform. Just remember to add the video schema for maximum traffic and to help search engine visibility. You want to rank high on Google, other search engines, not just YouTube.

Mar 22, 2024 03:29 AM
Peter Mohylsky,
Property Management International-Destin - Inlet Beach, FL
Call me at 850-517-7098

Thanks for the info.  I guess i need to go back and view some of your other posts that I missed.  

Mar 22, 2024 05:04 AM
Brian England
Ambrose Realty Management LLC - Gilbert, AZ
MBA, GRI, REALTOR® Real Estate in East Valley AZ

Hmm, I have been embedding shorts into my posts for a while now and they seem to look right, but I need to take a closer look at them with this tutorial in mind.

Mar 22, 2024 06:00 AM
Wayne L. Brown
Franklin Advantage Inc. - Alpine, CA

Craig

Once again, a Home Run, such a great post.

Thank you for providing u with such useful information.

Please continue.

Mar 23, 2024 01:26 PM
Pat Starnes-Front Gate Realty
Front Gate Real Estate - Brandon, MS
601-991-2900 Office; 601-278-4513 Cell

I used your old posts to figure out how to embed my YouTube shorts. I'm so excited!! Thank you!

Mar 23, 2024 03:39 PM
Ben DeHaven
Haven Realty & Investments - Lakeland, FL
Proudly serving Central Florida!

I've been adding mine, I guess its time to upgrade to Rainmaker and see if it gets the word out!

Mar 26, 2024 02:26 PM
Roy Kelley
Retired - Gaithersburg, MD

Thank you very much for sharing your experience and advice.

Have an outstanding summer.

Jul 31, 2024 06:46 AM
Gloria Todor
Premier Property Sales & Rentals - Springfield, PA
& Doug Durren (484) 431-3686 in SE PA

Thank you Craig.  Does this also work when putting a video in a comment?

Feb 09, 2025 05:35 PM