For security reasons, you’re not allowed to embed content into another application unless you've registered its domain as safe.
Due to CORS safeguarding, you can't open your HTML file containing embedded content directly in a browser. To work around this issue you must register the web server (either localhost or another web server) as a safe domain.
If you use a localhost web server for testing, then you may need to add references to http://localhost:<port> and http://127.0.0.1:<port>.
- Go to Oracle Analytics, click Navigator, and click Console.
- Click Safe Domains.
- Click Add Domain and enter the domain.
- Select Embedding.