How to Embed HTML Code in a Site Using SharePoint Designer 2013

With SharePoint Designer 2013, you will see many changes encompassing a variety of new features, as well as a new user interface. In this article, I will show you how to embed a flash (.swf) file in a site, a new feature which quickly and directly embeds HTML content on an article page.

Let’s begin with a banner image (.swf):

You want to add a header to your site, but how do you do so?

Here is how to do it:




1. Create a document list, create a new item, and then select your flash file:




2. After creating a new document file, right-click on it, select the Properties option, and copy the URL of the file:


3. Paste this URL into the HTML code to insert your Flash file:

<object width=”820″ height=”274″>

   <param name=”movie” value=” http://serverchauteamo/sites/Home%20Chau/Thy.Quach/Shared%20Documents/banner.swf”>

<embed src=” http://serverchauteamo/sites/Home%20Chau/Thy.Quach/Shared%20Documents/banner.swf” width=”820″ height=”274″>



4. Back to the site.

Click on Edit Page, go to the Ribbon, click on the Insert tab, then select the Embed Code icon:



Then, copy and paste “the HTML code to insert a flash file (above)” into the embed form.  You will see the flash file show up in the form: 


Click Save to complete. Smile


Note: You can embed YouTube videos too! You can either paste HTML or JavaScript into the HTML Web Part, or if you prefer, this feature now works with IFRAME code as well. You can find IFRAME code for YouTube videos clicking the share link next to the video.

All SharePoint Versions

The web parts are functional components that extend your SharePoint environment whether it’s hosted, on-premises, or part of Microsoft® Office 365.

SharePoint 2013, 2016, 2019, Online (Office 365)

On-Premises Only

These web parts extend SharePoint beyond its out-of-the-box capabilities by tailoring it to your requirements with Bamboo Solution’s growing portfolio of SharePoint Web Parts.

SharePoint 2013, 2016, 2019


Product Suites

Experience greater power and savings by bundling our SharePoint apps and web parts.

Essentials Suite

Essentials Plus Suite

Bamboo Premier Suite

Project Management Suite

Knowledge Management Suite

External User Manager


For more information on our product suites, contact us.

Featured Services

SharePoint Health Check

A SharePoint Health Check will identify the causes of issues and risks associated with your specific environment, and is custom tailored to provide you with the best recommendations to optimize your SharePoint environment.

SQL Health Check

Document recommendations relating to performance, stability, availability, or a specific focus you request of your SQL Server database instances.

My SharePointXperts

The truth is that each SharePoint skill may not be a full time job for many organizations, and it is nearly impossible for one person to do everything you need – so augment your team with SharePointXperts; providing the skill sets you need when you need them!