title: Embedding a dynamic website into Sharepoint online
body: <p>I have created a dynamic website using a framework, which exports an <code>index.html</code> and several folders like <code>assets</code>, <code>libraries</code> etc.</p>
  <p>According to <code>Sharepoint</code>'s description (which we have through <code>Office365</code>), I have to rename the <code>index.html</code> to <code>index.aspx</code>, then follow the steps:
  A full description of what I did, would be as follows:</p>
  <ol>
  <li>Open <strong>Site Contents</strong></li>
  <li>Select <strong>Add an app</strong></li>
  <li>Select <strong>Document Library</strong></li>
  <li>Name the library</li>
  <li>Click <strong>Create</strong></li>
  <li>Open the library in a web browser</li>
  <li>Upload the HTML files to this library</li>
  </ol>
  <p>To display the HTML content on a SharePoint page:</p>
  <ol>
  <li>Open <strong>Site Contents</strong></li>
  <li>Open the <strong>Site Pages library</strong></li>
  <li>From the ribbon select <strong>Files &gt; New Document &gt; Wiki page</strong></li>
  <li>Give the page a name then click <strong>Create</strong></li>
  <li>In the SharePoint page editor select <strong>Insert</strong> from the ribbon then <strong>Web Part</strong> then <strong>Media</strong> and <strong>Content</strong> category then <strong>Content Editor</strong> and <strong>Add</strong></li>
  <li>Click on the <strong>Script Editor</strong> box, then select <strong>Web Part</strong> then <strong>Web Part Properties</strong> from the ribbon</li>
  <li>In the Content Link box click the elipsis (...) and find the HTML/ASPX file to display or paste in the full URL to the HTML/ASPX file</li>
  <li>Click <strong>OK</strong> to close the web page dialog</li>
  <li>Click <strong>Save</strong> to save the page
  The contents of the HTML/ASPX file is now displayed on the SharePoint page.</li>
  </ol>
  <p>The following options are enabled:</p>
  <pre><code>Run custom script on personal sites
  
  Allow users to run custom script on self-service created sites
  </code></pre>
  <p>The problem is, that most of the <code>elements</code> on the <code>index.aspx</code> page like <code>video</code>, <code>interactive pictures</code>, <code>buttons</code> just reload the page and show in the developer tool of the browser <code>error 403</code>.</p>
  <p>Is there any right way of implementing a <code>dynamic web page</code> into <code>Sharepoint</code>?</p>