Blog

How to Add an iframe Border Around a Video Embed wp lifetime webs



Do you want to add an iframe border around your video embed? You can use both iframe and oEmbed to add videos in WordPress. In this video, we will show you how to add an iframe border around a video embed.

If you liked this video, then please Like and consider subscribing to our channel for more WordPress videos.

Text version of this tutorial:
http://www.wpbeginner.com/wp-tutorials/how-to-add-an-iframe-border-around-a-video-embed/

Check us out on Facebook:
https://www.facebook.com/wpbeginner

Follow us on Twitter:
http://twitter.com/wpbeginner

Join our circle on Google+:
https://plus.google.com/+wpbeginner/

Checkout our website for more WordPress Tutorials
http://www.wpbeginner.com/

Summary of this Tutorial:

Open the post where the video is.

Go to the text editor and find the code for the embed.

Add some inline style code and you’re done.

If you want to do that for all your videos, just add a CSS class for when you add the iframe.

source

3 Comments

  • Sharon Leslie on July 14, 2015

    so, as a beginner you have to first know what  and how to add inline style coding, and what to specifically add, and if you know what a iframe is and what acis class is or where to find them. I'm off to find another video that takes a beginner through each step of the process.

  • Swirian on July 14, 2015

    Thanks, really appreciate all these helps!

  • Justin Randi on November 29, 2020

    Hi,
    Nifty idea, love it. I have a question similar to this. I get an iframe embed code from a 3rd party and would like to do something similar with it. I have a jpg that we would like to be the background for the video to sit on thus in the original window before maximized it will appear to have a border, but not just a thin line, it's a bit more decretive. Thoughts? Can't post a pic here and i'm not sure i'm explaining this correctly…

WhatsApp us
Live Chat

Office hours operation Mon-Sun 8:00 am ET – 4:00 pm ET

To start your Premium WP or Cpanel service, use our domain search engine, if the domain you want is available, contact us by Whats app to activate your project.

The easiest, fastest, and most secure way to communicate with us.
loading
Please enter your domain.
Please verify that you are not a robot.

Terms Privacy

 

 

WEBFI NETWORK OFFICE HOURS 

Mon-Sun from 8:00 am /4:00 pm USA-ET

WhatsApp us

Small Business – WordPress – CPanel – Hosting

© Webfinet Affordable Private Small Business Solutions All Rights Reserved 2021 - Powered By Marquez.Group
error: WEBFINET SECURITY IS ON