Share videos from Facebook, Vimeo, or YouTube social media and embed iframes on your sites or pages.
To get started, sign in to Portal for ArcGIS and click Sites on the Overview page to view a list of your sites.
Tip:
You can also edit a site when viewing it in a browser. Be sure you're signed in and look for the edit button to the left of your site.
Display videos
Add video cards to embed YouTube, Vimeo, or Facebook videos.
- Drag a Media card onto an existing row.
- Hover over the card and click the settings button to switch to edit mode.
- Paste a video URL from Facebook, Vimeo, or YouTube in the Video URL field.
- Depending on the video source, additional options appear that allow you to configure video display:
- For Facebook videos, choose Show Post Text to display number of likes, comments, shares, and other related text. Choose Show Captions Always to display video captions.
- For Vimeo videos, choose Show Video Title, Show Video Owner, Show Video Owner Thumbnail, and Loop Video Playback.
- For YouTube videos, choose Show YouTube Branding and Loop Video Playback.
- Click the copy button next to Video URL to save the link to the clipboard so that you can reuse it elsewhere in the app.
- Click Save.
Share a single Facebook post
Display a single post to highlight something specific.
- Drag a Social Media card onto an existing row.
- Hover over the card and click the settings button to switch to edit mode.
- In the Social Media Post URL field, paste a URL for any publicly shared Facebook post. To copy the correct URL, click the post's time stamp (the date or time in the post's upper left corner), and then copy the new URL in the browser before returning to edit your site.
- Optionally click the toggle button for Show Post Text to display text associated with the post.
- Click Save.
Display a Facebook timeline
Display a Facebook timeline, event, or message for greater exploration.
- Drag a Social Media card onto an existing row.
- Hover over the card and click the settings button to switch to edit mode.
- In the Social Media Post URL field, paste a URL for any publicly shared Facebook page.
- Optionally click the toggle button to turn on any combination of the following options:
- Timeline displays a timeline tab below the page's header. Click this option if you want to share your timeline alongside events or messages.
- Events displays a list view of the page's events views.
- Messages enables people to type and send a message to the Facebook page's administrator using Facebook Messenger.
- Use Large Header increases the size of the page's header and adds a Send Message button linking people to Facebook Messenger.
- Show Cover Photo displays the page's cover photo.
- Click Save.
Display a single tweet
Display a single Twitter post to highlight a specific tweet.
- Drag a Social Media card onto an existing row.
- Hover over the card and click the settings button to switch to edit mode.
- In the Social Media Post URL field, paste a URL for any publicly shared Twitter post. To get the link for a single tweet, click the more button at the upper right of the post and choose Copy Link to Tweet.
- Optionally click the toggle button to turn on any combination of the following options in the Options menu:
- Show Dark Theme inverts the color of the display.
- Tweet Width allows you to choose the size of your post's display with the following options: Small, Medium, Large.
- Select Tweet Position allows you to choose Left, Center, or Right alignment.
- Click Save.
Display a Twitter timeline
Display a scrollable Twitter timeline.
- Drag a Social Media card onto an existing row.
- Hover over the card and click the settings button to switch to edit mode.
- In the Social Media Post URL field, paste a URL for any publicly shared Twitter timeline.
- Optionally click the toggle button to turn on any combination of the following options in the Options menu:
- Expanded Height allows you to show more of the twitter timeline.
- Tweet Limit enables you to set the number (up to 20) of tweets displayed on the timeline.
- Show Dark Theme inverts the color of the display.
- Show Header displays a header. Similarly, choose Show Footer to display a footer.
- Show Border displays a border around the timeline.
- Show Background removes or displays the background.
- Click Save.
Embed content using an iframe card
You can use an iframe card to embed external resources, such as an app, web map, or dashboard, using its URL.
Tip:
Iframes are best used to display dashboards and infographics. For other items, including Experience Builder web apps, Insights pages, web maps, and story maps, consider using a gallery card, web map card, or application card.
When using iframes, consider limiting the number of instances to no more than two. Too many iframes on one site or page can compromise performance on mobile-views. Whether you're using an iframe or another card, displaying no more than 2 key items creates a cleaner, more accessible design. For remaining items, try using a gallery card.
- Drag an Iframe card onto an existing row.
- Hover over the card and click the settings button to switch to edit mode.
- Provide your iframe URL and
iframe height. Do not embed
iframe code from another website. Only paste in the URL that you want to
embed.
Note:
To ensure that content renders, even if the primary URL fails on smaller devices, you can provide a secondary URL using the Mobile URL Override field. - Add a title to your iframe.
- Enable scrolling by turning on Auto.
Tip:
Scrolling is not always suitable on mobile devices because a user may be unable to pass over the application if they can only scroll. Ensure the usability of a scrollable iframe on mobile before committing your changes. - Click
Apply.
Note:
Iframe URLs using HTTP will not appear in edit mode which uses HTTPS. Save and view your site to observe your iframe.
- Click Save.