Option A (more elegant)
Write the different video URLs into the "Codes (contents)".
Then, in "Display Contents" add the HTML code from YouTube and replace the URL by %random%.
Option B
Write the complete HTML code from YouTube (must be in one line) into the "Codes (contents)".
Only write %random% into "Display Contents".