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

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=";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', '').attr('rel','wp-video-lightbox');

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