Social MediaBloggerBloggingWordPress

How To Make All Youtube Videos Responsive In Your Website

 
 
 

How do I make an embedded YouTube video responsive in WordPress or Blogger?


When it comes to videos embedding, it's certainly a very important component that makes up most of the internet traffic worldwide. Yet, some bloggers and publishers have been several questions around the topic. These are questions that publishers have asked so many times in forums or in our inquiries inbox.

  • Can I make all my YouTube videos in my website or blog responsive?
  • How do you embed a YouTube video responsive?
  • How do I resize a YouTube video for my website?
  • How do I make an embedded YouTube video responsive in WordPress or Blogger?
  • How do I make a video mobile responsive?

Why Should You Make All embedded YouTube Videos Responsive?

 
  • All your videos will be resized to the correct screen.
  • Visitors will view the content right from your domain. That way you increase audience retention and decrease the bounce rate of the blog.
  • Gives a professional impression of the site as a whole.
In this post we help you embed responsive YouTube, Vimeo or any other Videos to your blog or website. You will need just to copy and paste some lines of code to make all your blog videos responsive and fit the screen of the visitor's device screen.

Ways to Add Responsive YouTube Video in Blogger


In order to solve this problem, we share with you a very easy fix to implement within your blog. That's the proper way to automatically resize your video content to fit all screen sizes whether desktop computers, laptops, or smartphones.


Note: This fix will resize all the current and previous embedded videos to make them responsive automatically. It saves you time and effort on doing it manually like old codes.

How To Install The Script Step 1


First follow these steps:
  1. Login to you Blogger dashboard.
  2. Backup your template first.
  3. Head to Template then Edit HTML.
  4. Search for the desired line of cde
  5. With Ctrl + C to copy and Ctrl + V to paste the code in its appropriate place.
  6. Save your template and exit.

How To Install The Script Step 2


Now search for this line </head> and place the following code just before it:

<script src=”https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js”></script><script src=”https://cdnjs.cloudflare.com/ajax/libs/fitvids/1.1.0/jquery.fitvids.min.js”type=”text/javascript”></script><script type=”text/javascript”>$(document).ready(function(){$(“.post-body”).fitVids();});</script>
 
???? Subscribe to our channel to get exclusive & free tech tips & hacks ????
 

Note: If you have already installed the jquery script, then delete it.

How to make YouTube Videos Mobile Responsive In WordPress


As usual with WordPress, the tasks are much easier. In order to embed your YouTube videos while keeping their aspect ratio, just use the two recommended plugins below which are 100% Free. You can insert the video shortcode directly from WordPress post editor using default YouTube Embed Code .


Et voila! Congratulations, now you have successfully made all your YouTube videos in Blogger %100 responsive. You can visit Responsinator website and check all the screen sizes at once.


Other Popular Articles ...

6 Comments

  1. I’ve been exploring for a little for any high-quality articles or
    blog posts on this kind of house . Exploring in Yahoo I finally stumbled upon this web site.

    Studying this information So i’m satisfied to show that I have a very excellent uncanny feeling I found out
    just what I needed. I such a lot certainly will make certain to do not disregard this site and provides it a glance regularly.

  2. Write more, thats all I have to say. Literally, it seems as
    though you relied on the video to make your point. You obviously know what youre talking about, why
    waste your intelligence on just posting videos to your
    site when you could be giving us something informative to read

Leave a Reply

Back to top button
Ask ChatGPT
Set ChatGPT API key
Find your Secret API key in your ChatGPT User settings and paste it here to connect ChatGPT with your Tutor LMS website.
Sharing is caring

Ad Blocker Detected :(

Please consider supporting us by disabling your ad blocker.

من فضلك قم بتعطيل أداة مانع الإعلانات أدبلوك من المتصفح للدخول للموقع أو إستخدم متصفح آخر
شكرا لتفهمك وزيارتك