title: how to upload and show an embedded youtube video in Laravel
body: <p>I want to upload an embedded youtube video in my laravel website. </p>
  
  <p>For that I have uploaded an embedded youtube video link (provides from youtube embed option) in my admin panel and saved to database. Then I retrieved the video links from database and try to show it in blade template. But frontend only shows the video link as it saved in the database not the video. </p>
  
  <pre><code>&lt;iframe width="300" height="220" src="https://www.youtube.com/embed/6T8stXj7Dzg?rel=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen&gt;&lt;/iframe&gt;
  </code></pre>
  
  <p>But if I manually used the links in the html then the video successfully shown.Like below code</p>
  
  <pre><code>&lt;div id="panel-9-11-0-0" class="so-panel widget widget_sow-editor panel-first-child" data-index="27" &gt;              
      &lt;iframe width="300" height="220" src="https://www.youtube.com/embed/E7SCzULQYUQ?rel=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen&gt;&lt;/iframe&gt;
      &lt;h3&gt;title&lt;/h3&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>How can I solve it ?</p>