Under the Covers

Hello SErs! Just before coming up with this post, I attempted to embed a non-Youtube video into one of my upcoming posts (see my Friday Fiction Prompt on the 2nd of Feb!). Prior to this effort, I had only ever embedded Youtube videos into my blog posts. It should all be simple, though, right?


It didn’t quite go as planned, but not to worry: it gave me some good material for this post–always a silver lining! 🙂

So, at the start of all this, my first job was to find an image that called to me for Friday’s post. Pixabay came to the rescue, and I found just the ONE! Great. Then my next job was to embed that awesome video into my blog post. Mmm … not so great!

Okay, then, Google to the rescue … not to be beaten, some research seemed in order.

I found a great webpage that told me the HTML embed codes to use. So, I got busy entering the ‘Text’ area instead of the ‘Visual’ editor in the WordPress blog post creator, and copied and pasted the embed codes. What I had looked something like this …

embed width="123" height="456"//pixabay.com/videos/id-10885/embed

As I wanted you to see the actual code, I had to omit the square brackets [] and the http to stop the following message being shown in this post:

Now, when all my attempts to embed produced that message, it left me scratching my head in some chagrin. Why wouldn’t it embed even though I had the correct HTML code?

More research needed.

Back to good old Google I went.

It turns out that WordPress has a Whitelist. Poor old Pixabay isn’t on that list.

Here is the whitelist that I discovered:

The link to this rather useful webpage is HERE.

This left me with a problem. I wanted THAT video. And a lot of sites on this list are paid for services. Grrr.

In order to get this to bed, I had to go under the covers, as it were.

I found a workaround. Not ideal but better than an empty bed. I downloaded the video from Pixabay, and then uploaded it as a private video to my Youtube account where I keep my book movie trailers. I then shared the Youtube link I’d generated to the upcoming Friday Fiction Prompt post and hey presto! Eureka! It embedded! Well … for a while, anyway … ugh! It turns out that I had to go back in and make the video public or it would disappear from the post, lols. So now I have a Pixabay video of rain on my public Youtube list, but at least I have the video on here!

So, yes, a bit clunky and clumsy, but it got the job done. I was determined! If any of you have any ways of embedding non-whitelisted videos that are easy and safe, I’d love to hear from you. What issues have you guys had in the past, if any?

Thanks for stopping by today, and I’ll see you on Friday! 🙂

Harmony Kent

@harmony_kent / Harmony Kent Author Pages: Facebook / Amazon


17 thoughts on “Under the Covers

  1. Pingback: Friday Fiction Prompt | Story Empire

  2. Pingback: Author Inspiration and This Week’s Writing Links | Staci Troilo

  3. Isn’t Google great for finding solutions? Well, even when you have to jump through a few hurdles to find a workaround.

    I had no clue WP had a whitelist. Very interesting and helpful to know. I’m glad you were able to find a workaround, but I so wish WP would be a little more forgiving on what they allow you to embed.

    Liked by 1 person

  4. I’ve walked this path too. I wanted a funny video of my dogs on my blog. Only my option would have been to start a YouTube channel in the first place. I gave up and shared it on Facebook instead. This one vexes me, because I took the video. There shouldn’t be any Copyright issues etc. Great post, and maybe someone will share with the group.

    Liked by 2 people

    • Right! Why does it have to be so hard? And what criteria gets you on the Whitelist? Surely Pixabay are a trustworthy source? So frustrating when you can’t even post your own video. Putting it on Facebook and linking to that is a good work around. 🙂

      Liked by 1 person

      • I gave up before linking to it. I’d also like to share the occasional audio file, but YouTube videos seem to be the only option. Think about promoing The Hat with Elvis singing Promised Land in the background. That kind of thing.

        Liked by 1 person

  5. Grrr. Why does everything have to be so hard? I had a similar problem when I worked for a publishing company and was tasked with putting their podcasts on their site. I finally did what you did and put them on YouTube first. That was three (I think) years ago. There should be a better way by now.

    Thanks for sharing your solution, Harmony. I’m sure it will help a lot of people.

    Liked by 2 people

We'd love to know what you think. Comment below.

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s