Axure Docs
  • Axure RP Reference
  • Axure RP Tutorials
  • Axure Cloud Reference
  • Axure Support
  • Download

›The Basics

The Basics

  • Interactive Button
  • Hiding and Showing Widgets
  • Pass Text to Next Page
  • Anchor Link
  • Embedding Media
  • Full Width Image or Banner
  • Scrolling Region
  • Rotating Carousel / Slideshow
  • Navigation Menu
  • Tooltips
  • Tab Menu
  • Accordion Menu
  • Drag and Drop

Complex Interactions

  • Account Login
  • Auto Tab Fields
  • Blinking Text
  • Dynamically Set Droplist Options
  • Set Text with Droplist
  • Required Fields
  • Scroll Activated Sticky Header
  • Set Dynamic Panel State on Next Page
  • Slider Control
  • Terms and Conditions
  • Timer

Mobile Patterns

  • Swiping Slideshow
  • Toggle Switch

Embedding Media Tutorial

In this tutorial, you'll learn how to embed YouTube videos, Google Maps, and other media in your prototype pages using the inline frame widget.

Note

Click here to download the completed RP file for this tutorial.

YouTube Videos

1. Widget Setup

  1. Open a new RP file and double-click Page 1 in the Pages pane to open it on the canvas.

  2. Drag an inline frame widget onto the canvas from the Libraries pane.

  3. In the Style pane, select Video in the inline frame Preview dropdown.

    Note

    The inline frame preview image is displayed only on the Axure RP canvas, and it serves to let you know what kind of content the frame will display in the web browser.

2. Get an Embed URL from YouTube

  1. In your web browser, navigate to www.youtube.com and locate the video you would like to embed.

  2. Just below the video, click the Share icon. In the dialog that appears, click Embed.

  3. In the embed code that appears to the right, locate the src attribute and highlight the URL to the right of it (without the quotes). Copy the URL.

3. Set the Inline Frame's Target to the Video's URL

  1. Back in Axure RP, double-click the inline frame to open the Link Properties dialog.

  2. At the bottom of the dialog, select the radio button for Link to an external url or file and paste the URL you copied from YouTube into the Hyperlink field.

  3. Click OK to close the Link Properties dialog.

4. Preview the Page

Preview the page, and the YouTube video should appear in the inline frame.

Google Maps

1. Widget Setup

  1. Open a new RP file and double-click Page 1 in the Pages pane to open it on the canvas.

  2. Drag an inline frame widget onto the canvas from the Libraries pane.

  3. In the Style pane, select Map in the inline frame Preview dropdown.

    Note

    The inline frame preview image is displayed only on the Axure RP canvas, and it serves to let you know what kind of content the frame will display in the web browser.

2. Get an Embed URL from Google Maps

  1. In your web browser, navigate to www.google.com/maps and search for an address or location you would like to use.

  2. Click the Share icon in the left panel. In the dialog that appears, click Embed a map.

  3. In the embed code that appears at the top of the tab, locate the src attribute and highlight the URL to the right of it (without the quotes). Copy the URL.

    Note

    The URL will be very long, so make sure to highlight all of it, everything up to the closing quotation marks. Example:

    https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3356.8953887537073!2d-117.16021218445606!3d32.71540739443067!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x80d953589d4f36eb%3A0x4c8aa579077a06bd!2s1100%2C+707+Broadway%2C+San+Diego%2C+CA+92101!5e0!3m2!1sen!2sus!4v1558551203274!5m2!1sen!2sus

3. Set the Inline Frame's Target to the Map's URL

  1. Back in Axure RP, double-click the inline frame to open the Link Properties dialog.

  2. At the bottom of the dialog, select the radio button for Link to an external url or file and paste the URL you copied from Google Maps into the Hyperlink field.

  3. Click OK to close the Link Properties dialog.

4. Preview the Page

Preview the page, and the Google Map should appear in the inline frame.

Additional Information and Tips

Embedding Local Content

To embed a file from your computer in an inline frame widget, use the file's path in your computer's file system (either relative or absolute). Double-click the inline frame and enter the file path in the Link to an external url or file section.

Note

Read about the limitations of working with local files in the inline frame widget reference guide.

← Anchor LinkFull Width Image or Banner →
  • YouTube Videos
    • 1. Widget Setup
    • 2. Get an Embed URL from YouTube
    • 3. Set the Inline Frame's Target to the Video's URL
    • 4. Preview the Page
  • Google Maps
    • 1. Widget Setup
    • 2. Get an Embed URL from Google Maps
    • 3. Set the Inline Frame's Target to the Map's URL
    • 4. Preview the Page
  • Additional Information and Tips
    • Embedding Local Content
Axure Docs
Stay Connected

Sign up to receive Axure tutorials and news. You can unsubscribe at any time.

Axure
TourEnterpriseCompanyDownloadPurchase
Legal
Customer AgreementPrivacy PolicyGDPRSecurityPatents
Resources
BlogForumLicense PortalAxure Cloud
Support
Learn and SupportGetting StartedReferenceWidget LibrariesAxure RP 8 Documentation and Tutorials
Copyright © 2002–2021 Axure Software Solutions, Inc. All rights reserved. Axure® is a registered trademark of Axure Software Solutions, Inc.