Digital Media Suite API Forums

Combination View Flat View Tree View
Threads [ Previous | Next ]
Show and share(sns) is working fine when it is used from sns interface but when i am trying to embed video from sns in simple html page it is not working properly.
 
<html>
<head>
<script type="text/javascript" src="https://DomainName/vportal/scripts/videoplayer/DmsEmbedLib.js"></script>
</head>
<body>
 
<script>document.write(dmsEmbed.getSimplePlayer("C-060aee30-763e-4c7d-a8b6-3393d86c64e3:1","https://DomainName/vportal/VideoPlayer.jsp?ccsid=C-060aee30-763e-4c7d-a8b6-3393d86c64e3:1","false",480));</script>
 
</body>
</html>
 
 
If i use javascript debugger it gives message
---------------------------
Source code is not available for this location
---------------------------
 
 
How to resolve this problem

Hi,

I have a index.html like this, and its working:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Testsite</title>
</head>
<body>
<h1>Test_1</h1>


<script type="text/javascript" src="https://"fqdn-name"/vportal/scripts/videoplayer/DmsEmbedLib.js"></script><script>document.write(dmsEmbed.getSimplePlayer("C-d074596e-7361-4ac0-95f9-864f574d5f5c:3","https://"fqdn-name"//vportal/VideoPlayer.jsp?ccsid=C-d074596e-7361-4ac0-95f9-864f574d5f5c:3#","true",480));</script>
</body>
</html>

Have a look to the true statement!

Regards