<figure class="wp-block-video"></figure>



<p class="wp-block-paragraph">à¸à¸²à¸£à¹à¸ªà¸à¸à¸à¸¥à¸§à¸µà¸à¸µà¹à¸à¸à¸à¸ Youtube à¹à¸à¹à¸§à¹à¸à¹à¸à¸à¹à¸à¸±à¹à¸ Embed Code à¸à¸à¸à¸§à¸µà¸à¸µà¹à¸à¸à¸µà¹à¹à¸à¹à¸¡à¸² à¹à¸£à¸²à¸à¸°à¹à¸à¹à¸¡à¸²à¹à¸à¸£à¸¹à¸à¹à¸à¸à¸à¸à¸ iframe à¸à¸¶à¹à¸à¸à¸³à¹à¸«à¹à¸à¸±à¸à¸à¸²à¸£à¸à¸à¸²à¸à¸à¸µà¹à¹à¸«à¸¡à¸²à¸°à¸ªà¸¡à¹à¸à¹à¸¥à¸°à¸à¹à¸²à¸à¸à¸à¹à¸à¸à¸à¹à¸²à¸à¸¥à¸³à¸à¸²à¸ </p>



<p class="wp-block-paragraph">Bootstrap à¹à¸à¸£à¸¡à¹à¸§à¸´à¸£à¹à¸ à¹à¸§à¸à¸£à¹à¸à¸±à¹à¸ 3 มีà¸à¸¥à¸²à¸ªà¸à¸µà¹à¹à¸à¹à¸ªà¸³à¸«à¸£à¸±à¸à¸à¸²à¸£à¹à¸ªà¸à¸à¸à¸¥ iframe video à¸à¸·à¹à¸à¸§à¹à¸² </p>



<pre class="wp-block-code"><code>embed-responsive</code></pre>



<p class="wp-block-paragraph">à¹à¸¥à¸°à¸ªà¸²à¸¡à¸²à¸£à¸à¸à¸£à¸±à¸à¸à¸±à¸à¸£à¸²à¸ªà¹à¸§à¸à¸à¸²à¸£à¹à¸ªà¸à¸à¸à¸¥à¸à¹à¸§à¸¢à¸à¸¥à¸²à¸ªà¸à¸±à¸à¸à¹à¸à¹à¸à¸à¸µà¹ ( à¸à¸¶à¹à¸à¹à¸à¸¢à¸ªà¹à¸§à¸à¹à¸«à¸à¹à¸à¸à¸²à¸à¸§à¸µà¸à¸µà¹à¸à¸à¸µà¹à¹à¸ªà¸à¸à¸à¸¥à¸¡à¸±à¸à¸à¸°à¹à¸à¹à¸ 16 à¸à¹à¸ 9 à¹à¸«à¹à¹à¸à¹à¸à¸¥à¸²à¸ª embed-responsive-16by9</p>



<pre class="wp-block-code"><code>embed-responsive-1by1
embed-responsive-4by3
embed-responsive-16by9
embed-responsive-21by9</code></pre>



<p class="wp-block-paragraph">à¹à¸à¸¢à¸§à¸´à¸à¸µà¹à¸à¹à¸à¸²à¸à¸à¸·à¸à¸à¸²à¸£à¸à¸£à¸à¸à¸à¸¥à¸²à¸ª <strong>embed-responsive embed-responsive-1by1</strong> à¹à¸§à¹à¸à¸ div à¹à¸«à¸à¸·à¸ iframe à¹à¸¥à¸°à¹à¸ªà¹à¸à¸¥à¸²à¸ªà¸à¹à¸²à¸à¸¥à¹à¸²à¸à¹à¸à¹à¸à¹à¸ iframe</p>



<pre class="wp-block-code"><code>embed-responsive-item</code></pre>



<p class="wp-block-paragraph">à¸à¸±à¹à¸à¸à¸à¸à¸à¸²à¸£ Embed Youtube Video</p>



<ul class="wp-block-list"><li>à¹à¸à¹à¸²à¹à¸à¸à¸µà¹ Link Youtube à¸à¸µà¹à¹à¸£à¸²à¸à¹à¸à¸à¸à¸²à¸£à¸à¸°à¹à¸ªà¸à¸à¸à¸¥à¸à¸à¸«à¸à¹à¸²à¹à¸§à¹à¸à¹à¸à¸à¹ à¸à¸à¸à¸µà¹à¸à¸¸à¹à¸¡ à¹à¸à¸£à¹ à¹à¸¥à¸°à¹à¸¥à¸·à¸à¸ à¸à¸±à¸ à¸à¸²à¸à¸à¸±à¹à¸ copy code iframe à¸à¸±à¸§à¸à¸¢à¹à¸²à¸à¸à¸±à¸à¸ าà¸à¸à¹à¸²à¸à¸¥à¹à¸²à¸</li></ul>



<figure class="wp-block-image size-large"><img src="https://www.codebee.co.th/labs/wp-content/uploads/2020/06/วิà¸à¸µà¹à¸à¹-Bootstrap-à¹à¸ªà¸à¸à¸à¸¥-Youtube-Video-1-940x322.png" alt="" class="wp-image-5190" data-full="https://codebee.co.th/labs/wp-content/uploads/2020/06/วิà¸à¸µà¹à¸à¹-Bootstrap-à¹à¸ªà¸à¸à¸à¸¥-Youtube-Video-1.png" data-full-size="2100x720" /></figure>



<ul class="wp-block-list"><li>à¸à¸³ iframe code มาวาà¸à¹à¸à¸£à¸°à¸«à¸§à¹à¸²à¸à¸à¸¥à¸²à¸ª embed-responsive à¹à¸¥à¸°à¹à¸ªà¹à¸à¸¥à¸²à¸ª embed-responsive-item à¹à¸ iframe à¸à¸±à¸§à¸à¸¢à¹à¸²à¸à¸à¸²à¸¡à¹à¸à¹à¸à¸à¹à¸²à¸à¸¥à¹à¸²à¸</li></ul>



<pre class="wp-block-preformatted"><div class="embed-responsive embed-responsive-16by9">
 <iframe class="embed-responsive-item" src="https://www.youtube.com/embed/RFbjt0MFmTk" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div></pre>



<ul class="wp-block-list"><li>à¹à¸à¸µà¸¢à¸à¹à¸à¹à¸²à¸à¸µà¹à¸§à¸µà¸à¸µà¹à¸à¸à¸à¸à¹à¸£à¸²à¸à¹à¸à¸°à¸à¸£à¸±à¸à¸à¸²à¸£à¹à¸ªà¸à¸à¸à¸¥à¸à¸²à¸¡à¸à¸à¸²à¸à¸«à¸à¹à¸²à¸à¸ หรืà¸à¸à¸³à¸à¸²à¸à¹à¸à¸ Responsive à¹à¸¥à¹à¸§ à¸à¸£à¸à¸µà¸à¸µà¹à¹à¸£à¸²à¸à¸¢à¸²à¸à¸à¸±à¸ column à¸à¸²à¸£à¹à¸ªà¸à¸à¸à¸¥ หรืà¸à¸à¹à¸à¸à¸à¸²à¸£à¹à¸ªà¸à¸à¸à¸¥ embed video หลายà¸à¸±à¸§ à¸à¹à¸ªà¸²à¸¡à¸²à¸£à¸ à¸à¸±à¸ row column à¹à¸à¹à¹à¸¥à¸¢ à¸à¸±à¸§à¸à¸¢à¹à¸²à¸à¸à¸²à¸¡à¸à¹à¸²à¸à¸¥à¹à¸²à¸</li></ul>



<pre class="wp-block-preformatted"><div class="row">
 <div class="col-lg-6 col-md-6 col-xs-6">
 <div class="embed-responsive embed-responsive-16by9">
 <iframe class="embed-responsive-item" src="https://www.youtube.com/embed/aEyRRYdLISg" allowfullscreen></iframe>
 </div>
 </div>
 <div class="col-lg-6 col-md-6 col-xs-6">
 <div class="embed-responsive embed-responsive-16by9">
 <iframe class="embed-responsive-item" src="https://www.youtube.com/embed/u6lUN6-dZpM" allowfullscreen></iframe>
 </div>
 </div>
</div></pre>



<p class="wp-block-paragraph"></p>

วิธีใช้ Bootstrap แสดงผล Youtube Video Embed แบบ Responsive

วิธีใช้-Bootstrap-แสดงผล-Youtube-Video
