I have several videos on the website that are on YouTube. There is a way for me to use YouTube videos and remove the “suggested videos” from the end. However, it says that I need to use the embeddd code. How can I use the html coding for the videos so that at the end of the video the suggested videos don’t appear.
Hi projectpinkcampaign!
Thank you for using the theme!
If you want a full control over the embedded video on youtube, please use the Code Block element. Get the embed code of the youtube video then wrap it on the avia-video container. Something like this:
<div class="avia-video avia-video-16-9 " itemprop="video" itemtype="http://schema.org/VideoObject">
<div class="avia-iframe-wrap"><iframe width="1500" height="844" src="//www.youtube-nocookie.com/embed/G0k3kHtyoqc?rel=0&controls=0" frameborder="0" allowfullscreen></iframe></div>
</div>
You can now add more video attributes on the video url. On the example above, we added the control (controls=0) and related (rel=0) option. Please use the width and height property of the example code across all youtube videos that you’ll embed.
Best regards,
Ismael