So you want to put a YouTube video in your Flare topic. Seems like a pretty straightforward thing to do:

  1. Look up the video on YouTube.
  2. Click “Share.”
  3. Click “Embed” and copy the code provided by YouTube.
  4. youtube1Paste the code into Flare’s text editor where you want the video to appear.

youtube_4

WAIT! NOT SO FAST!!! While this seems like it would work if you just stopped at step 4, there’s still one teeny-tiny extra thing you need to do to make it work properly.

But first, a little background from Wikipedia:

In computer science, the Boolean or logical data type is a data type, having two values (usually denoted true and false), intended to represent the truth values of logic and Boolean algebra.

You’ll notice that in the code you copied from YouTube, frameborder=0 and allowfullscreen seems to be missing its value. While Google (the owner of YouTube) is cool with the missing value, Flare is not.

All you need to do is adjust the code so that allowfullscreen=1. Your code should then look like this:

youtube_3

Now go to your target, build your output, and there’s your YouTube video, embedded into your Flare topic!

youtube_5

Note: If you’re having a tough time making this work, upgrade to Internet Explorer 10.

About The Author

Jennifer White

About Jennifer White

Jennifer White, a Product Evangelist at MadCap Software, has over 15 years of experience in writing, broadcasting, public speaking, marketing and social media management. Jennifer has also served as a social media manager, blogger, on-air host, writer and content provider for CBS Radio and Fox TV.

Last Modified: October 28, 2013

This entry was posted in MadCap Flare, Tips & Tricks and tagged . Bookmark the permalink.

Comments

  • Charlie Kyle September 13, 2013 at 7:47 AM

    How would you put in a link to a fall-through topic in case the YouTube video is moved or deleted?

    • Jose Sermeno Jose Sermeno October 8, 2013 at 3:37 PM

      I’m not sure what you mean by “fall-through” topic. Are you thinking of content that would display in place if the video was removed? If the video was removed, the frame would give the default YouTube text of “This Youtube video has been removed due to copywrite…. etc.” but the page would still display, as its still hosted on YouTube. A good thing to watch out for if you link to content that may ever be taken down.

  • Brian Wheeldon September 15, 2013 at 6:13 AM

    A very useful tip.

  • Dean Kaflowitz September 16, 2013 at 7:36 AM

    Thanks Jennifer! That is not only useful for YouTube, but I have a feeling the principle will apply some time to some other video.

  • Dean Kaflowitz October 1, 2013 at 6:44 AM

    I just noticed the mention of IE10 at the end of the article. There are sevenral issues with this. One is that Microsoft’s support for HTML5 has been slow in reaching full support and lags continuously behind other browsers. The other is that a lot of larger corporations are very slow in approving updated browsers. I won’t mention names, but I know of two major US corporations that have not yet approved the change to IE9, although many employees in at least one of them are “illegally” using IE9. One of them just announced that approval for Chrome “is coming soon”. Other browsers are notably ahead of IE in reaching full support for HTML5.

Have Something to Say?

Your email address will not be published. Required fields are marked *