Cara Embed Atau Sematkan Video YouTube Ke Blog

Cara Mudah Embed Atau Sematkan Video YouTube Ke Dalam Artikel atau Halaman Blog.
Cara Embed Atau Sematkan Video YouTube Ke Blog

Cara Embed Video & Playlist YouTube di Blog - Menambahkan video youtube kedalam postingan blog bisa menjadi nilai plus untuk artikel yang kita buat, terlebih jika artikel berbentuk tutorial.

Karena YouTube mempunyai fitur embed code kamu bisa menambahkan video atau playlist YouTube ke dalam postingan situs atau blog dengan cara menyematkan code embed video tersebut.

Lalu bagaimana cara menyematkan atau memasang video youtube ke dalam blog? Terdapat dua langkah, yang pertama mendapatkan iframe HTML video kemudian menyematkannya kedalam blog.

Table of Contents

Cara Mengambil Kode Sematan Video YouTube

Kode Sematan Video YouTube Kode Sematan Video YouTube Kode Sematan Video YouTube
  1. Buka website resmi YouTube
  2. Cara video YouTube yang ingin disematkan
  3. Buka video tersebut, lalu Klik Menu Bagikan
  4. Pada menu bagikan, Klik Sematkan
  5. Salin kode HTML embed video youtube untuk disematkan kedalam blog

Contoh Format Embed Code YouTube

<iframe width="560" height="315" src="https://www.youtube.com/embed/lUis0RGc9LM" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

Kustomisasi Tambahan [Opsional]

Mengaktifkan mode privasi yang ditingkatkan

<iframe width="560" height="315"

src="https://www.youtube.com/embed/lUis0RGc9LM"

title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen>
</iframe>
<iframe width="560" height="315"

src="https://www.youtube-nocookie.com/embed/lUis0RGc9LM"

title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen>
</iframe>
Membuat agar video tersemat diputar otomatis

tambahkan &autoplay=1 ke kode penyematan video tepat setelah ID video

<iframe width="560" height="315"

src="https://www.youtube.com/embed/lUis0RGc9LM"

title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen>
</iframe>
<iframe width="560" height="315"

src="https://www.youtube.com/embed/lUis0RGc9LM?&autoplay=1"

title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen>
</iframe>
Memulai video tersemat pada waktu tertentu

tambahkan ?start= diikuti dengan waktu dalam detik ke kode penyematan video tepat setelah ID video

<iframe width="560" height="315"

src="https://www.youtube.com/embed/lUis0RGc9LM?Tag_Disini"

title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen>
</iframe>
<iframe width="560" height="315"

src="https://www.youtube.com/embed/lUis0RGc9LM?start=90"

title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen>
</iframe>

Cara Memasang Kode Embed Video Youtube Ke Blog

Setelah sukses mendapatkan kode embed video youtube diatas, sekarang kamu bisa menyematkannya ke blog baik di dalam artikel atau halaman pada mode HTML dan buka Compose.

Begitu juga dengan widget, kamu hanya perlu menyematkannya kedalam widget HTML/JavaScript untuk Blogger dan widget text/HTML untuk wordpress.

Hasil Embed Video

Penutup

Nah itu tadi Cara Embed Atau Sematkan Video YouTube di Blog. Jika artikel ini bermanfaat bisa kamu share dan rekomendasikan ke teman-teman yang membutuhkan, jika ada kendala kamu bisa bertanya melalui kolom komentar.

#Keep Reading and Keep Working
Gabung dalam percakapan