Add images and links in the description field of video lightbox

Product:

WonderPlugin Lightbox

Question:

For your video lightbox plugin, will I be able to put images and links within the description field of videos? I see it will parse the links I put before loading the video? Is there a way around it?

Answer:

Yes, you can directly add HTML code in the description and display images and links in the lightbox text field, but the HTML code need to encoded to HTML entities.

For example:

<a href="https://www.youtube.com/watch?v=c9-gOVGjHvQ" class="wplightbox" data-titlestyle="right" data-width="640" data-height="360" title="WonderPlugin Carousel" data-description="&lt;a href=&quot;https://www.wonderplugin.com/wordpress-carousel/&quot; target=&quot;_blank&quot;&gt;WonderPlugin Carousel&lt;/a&gt;">
Click to Open Lightbox
</a>

You can use this online tool to encode your HTML code:

Online HTML Entities Encode and Decoder

A demo is as following:

YouTube Lightbox, Text on Right with an HTML link