Is it possible to create a link that opens a youtube video in a lightbox?

wordpress
video

#1

I created a slider in hype and I need to open a youtube video in a lightbox.
This is usually working with a wordpress plugin by setting rel="wp-video-lightbox"
I tried this:

<a class="et_pb_promo_button et_pb_button" title="" href="https://www.youtube.com/watch?v=xxxxx?width=853&amp;height=480" rel="wp-video-lightbox">Watch the video</a>

and I tried jquery which is installed on the site where the hype slider is.

$(location).attr('href', 'https://www.youtube.com/watch?v=l_xxxxx?width=853&height=480').attr('rel','wp-video-lightbox');

In both cases the link to the video just opens in a new tab.
Can anybody help?
Thanks