You can insert all these elements after a click on a popup built in Hype using a Hype function. You can add HTML by appending a div to body and setting the innerHTML to whatever is needed to render the tracking code.
For the video you can use a lazy loading solution similar to this (but the example is for YouTube)