YouTube Embedded Video
- Music & Instruments
- Toys & Games
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%]