Playing a YouTube video in the background

An image is worth a thousand words. A video, on the other hand, is worth a few thousand images… Here is how we can create a Flow player that runs a YouTube video in the background.

  1. Click Players to open the Players tab.
  2. We will create a new player based on the Flow default player. Click New and select default as the option for Base on.
  3. We can call the player Video. Click Save to save the player.
  4. Select the code of the player and delete it.

    (Yes, really. We will have new code; no worries.)
  5. Paste this code:
  6. Click Save to save the player.
  7. All we now need to do is replace the YouTube Video ID in the player code, with the ID of the video we want in the background.

    But wait. There’s more. We can also configure options like whether we want the video to start automatically, or whether we want the video controls to show up. These options are available in the onYouTubeIframeAPIReady() function… just follow the comments!

This is what the player looks like in action:

If you need to take a closer look, click on the images to enlarge them. Have a question? Click the Help button on the bottom right-hand corner of this page to ask.

Check out the glossary for a definition of terms and key concepts that appear in the Boomi Flow website, drawing tool, technical documentation, blogs, and marketing communications.