Tweak Library
Note: We have updated our folder structure in Neto 6 and this has not been updated on all tweaks yet. More info.

YouTube Embedded Video

An embedded YouTube video, which shows a video demonstrating the item.

Industries

  • Music & Instruments
  • Toys & Games

Wireframe

Brand Logo

Coding Instructions

In this example, [@misc1@] is used to store just the code for the video, so to share the link for this video (https://youtu.be/xlcywgEMuGI), we would store the last string of the URL, xlcywgEMuGI, in the misc1 field on Neto's control panel. This is done to allow the iframe to load the responsive classes and make the data more versatile when it comes to supporting other video players or pop-up video players.

[%if [@misc1@]%]
    <div class="embed-responsive embed-responsive-16by9">
        <iframe class="embed-responsive-item" src="https://www.youtube.com/embed/[@misc1@]"></iframe>
    </div>
[%/if%]