Embedding Dxp from "MY spotfire server" to web page

I tried embedding my dxp in a web page. I could do it with spotfire cloud, but when I am tring the same with MY Spotfire server it dosent open anything nor does it gives any error. 

I tried changing the "Server URL" and "Analysis path"as per my server as below.
var c_serverUrl = "https://Myserver/spotfire/wp/";
var c_analysisPath = "MyAnalysisPath";

(1) Answer