Learn Bubble with 500+ tutorials, courses & AI Assistant ✨

Limited time launch offer get $80 off today

0 days 0 hours 0 minutes 0 seconds
SAVE $80 NOW
Planet No Code logo
Bubble.io CoachingFounder MentoringSponsorships
LoginLearn Bubble.io

How to embed YouTube videos on Bubble.io using embed code

In this Bubble.io tutorial video we demonstrate how to embed a YouTube video in your Bubble app without using the built in video element. This tutorial uses the HTML / Custom code visual element.

Join now $19/monthLearn more
Get 500+ tutorials, a No-Code AI Assistant, 4 premium courses, and everything you need to build faster!
How to embed YouTube videos on Bubble.io using embed code
Explore these topics...
Design
HTML
YouTube

With just this tutorial learn...

Unlock YouTube embedding: Learn two powerful methods to seamlessly integrate videos into your Bubble app.

Master video customization: Discover how to fine-tune YouTube embeds with HTML elements for perfect sizing and positioning.

From basic drag-and-drop to advanced embed codes: Elevate your Bubble app with pro-level YouTube integration techniques.

With membership you'll...

Learn how to build a ChatGPT Clone, Custom CRM for your business & SaaS Marketing website with Webflow & AI.

Unlock 500+ Bubble tutorial videos with AI powered Q&A.

Debug your Bubble app instantly with our custom trained No Code AI Assistant.

Join now $19/month
Risk-free! 14-day money-back guarantee. Cancel anytime.

Embedding YouTube Videos in Bubble.io

There are several ways to embed a YouTube video into your Bubble app. The simplest way is to use the built-in video element from visual elements on the sidebar. You can drag that in. You'll notice that the video element supports either YouTube or Vimeo. So it's a little bit restrictive. We'll do more videos in the future of how to embed, say, like a TikTok video. But for YouTube, it asks for the video ID. Now, the video ID is not the whole URL. It is just the bit at the end. After V equals, V standing for video, this is the video ID. And this is just a perfectly random YouTube video for this demonstration.

Using the Video Element

So we copy that into here. I think that's a little... Oh, there we go. It's loaded in. And you'll notice that the YouTube video I picked is showing up in my Bubble app. And it fills up the container that I dragged this video element. This being just a place over. And it provides you with some customization, such as being able to play the video automatically when the page loads, and also being able to loop the video. But you might find you require a little bit more finer tuning.

Using HTML Element for More Control

So a different way to approach it would be to use an HTML element. And this time, when I go onto YouTube, I need to get the embed code. And the embed code allows me, for example, if your video that you're embedding is two hours long, but when you have your user and they click play, you want to play from the hour mark, you can do that by shifting the start time. So for this Rick Ashley video, I'm going to say start it at one minute. And then I copy all of that code and I paste it into here. And then I click preview.

Adjusting Video Size and Positioning

So it's fairly similar, but you'll notice that it's shrunk down. And that's because the code that YouTube provided me has got these parameters in here. For example, the width is set to 560, and that's a pixel value. And so that's why it doesn't reach all the way across this whole rectangle, because the whole width of that is 758, which is a larger value. Now you can just, if you know what size you want your video to end up in your app, you can play around with the numbers here. You're not going to break it. Feel free to change some of the data in the YouTube embed code and see if you get the desired effect.

Removing Default Padding

Something to point out is for some reason, when you use an HTML element, the default styling Bubble provides has got padding on the vertical and on the horizontal axis. So let's say I want my video to be really snug in the corner. No border on the left or on the top. And if I hit preview, you'll see I don't get that. I get a small white bar going around it. So to get rid of that, I have to toggle off from the default style, and then select zero here. And you'll notice in the preview that it adjusts in the editor, rather. And then in the preview, you can see I now have my video sat snugly in the place where I desire it to be in my app.

Table of contents

Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Your No-Code Journey Starts Here

The best way to learn Bubble.io?

Build No Code Confidently

No more delays. With 30+ hours of expert content, you’ll have the insights needed to build effectively.

Find every solution in one place

No more searching across platforms for tutorials. Our bundle has everything you need, with 500+ videos covering every feature and technique.

Dive deep into every detail

Get beyond the basics with comprehensive, in-depth courses & no code tutorials that empower you to create a feature-rich, professional app.

Monthly
Yearly
Member
Accelerate your Bubble app to launch
$99 / month
$19/month/mo
Includes:
500+ tutorials
4 premium courses
Find the right tutorial with our custom trained AI
New tutorials added each week
Cancel anytime
14 day money back
Join now
Member
Accelerate your Bubble app to launch
$990 / year
$149/year/mo
Includes:
500+ tutorials
4 premium courses
Find the right tutorial with our custom trained AI
New tutorials added each week
Cancel anytime
14 day money back
Join now

Frequently Asked Questions

Find answers to common questions about our courses, tutorials & content.

Do I need any coding experience?

No. Our Beginner Essentials course and AI No-Code Coach are designed for total newcomers. You’ll learn Bubble.io step by step - no coding required.

How does the AI No-Code Coach work?

Simply type your question in plain English, and our AI taps into the entire video library to recommend the exact lessons you need. It’s like having a personal instructor on demand.

How long can I access the content?

As long as you’re subscribed! With our monthly subscription, you get unlimited access to all 500+ videos, our growing course library, and the AI No-Code Coach.

What courses are included

Your subscription includes:

  • Bubble Beginner Essentials – Get up and running fast.
  • Build a ChatGPT Clone – Integrate AI into your no-code apps.
  • Build Your SaaS Website with AI – Learn to create a scalable startup site.
  • Develop a Custom CRM App in Bubble - Learn database relationships with a CRM.

Plus, new tutorials every week!

What if I get stuck on a lesson?

The AI No-Code Coach is your first stop for instant answers. If you need deeper help, you can book 1:1 Bubble coaching for expert guidance.

Do you offer a money-back guarantee?

Yes! If you don’t see real progress within 14 days, let us know, and we’ll issue a full refund—no questions asked.

Can I cancel anytime?

Absolutely. Your subscription is month-to-month, and you can cancel anytime—no lock-ins, no hidden fees.

What if I want more than just tutorials & courses?

Absolutely. Your subscription is month-to-month, and you can cancel anytime—no lock-ins, no hidden fees.

If you’re serious about building a successful SaaS startup, check out Mastery—our intensive mentorship program. Mastery goes beyond Bubble.io development and includes:

  1. 1:1 mentorship to fast-track your progress
  2. Marketing strategies tailored for no-code founders‍
  3. Product management insights to scale your startup‍
  4. Personalized support from experienced founders

‍

Still have questions?

Reach out to our dedicated team.

Contact
Services
Search Bubble TutorialsBubble.io CoursesBook Bubble.io CoachingApply for Mastery
Latest Bubble tutorials
Rerank Text By MEANING With Cohere In Bubble.io Step by Step!
Unlock RAG Providers for NO CODE AI App Development TODAY!
Better Tables with Built-in Search and Sort By in Bubble.io
Partnerships
Flusk.eu
VectorShift
Comnoco
Plumb
Toddle
Whereby
Get started with no code
AI Powered No Code AppsNo Code Web ScrapingBubble.io Plugin tutorialsBubble API Connector tutorialsStudent & Teacher DiscountBest tools for no coders
Follow us
Youtube
X
LinkedIn
Planet No Code logo
In partnership with
Queen Mary University of London Logo
© 2024 Planet No Code. All rights reserved.
Privacy PolicyTerms of ServiceCookies SettingsContact Us