I recently made a Video Chat Widget. There are two problems. When going to the index page the view is automatically redirecting or centering to the widget location as opposed to top of the index page. It does this on all pages. Secondly, when you go to post for example the cursor defaults to the widget as opposed to the message body. I am using the following embed code. Any help or advice is much appreciated...
<!doctype html>
<html>
<head>
<meta charset=utf-8>
<title>OVX Video Room</title>
</head>
<body>
<center>
<!-- BEGIN Embed Code -->
<script>
(function(d, w) {
 var x = d.getElementsByTagName('SCRIPT')[0];
 var f = function () {
 var s = d.createElement('SCRIPT');
 s.type = 'text/javascript';
 s.setAttribute('ovx-widget','ovxplayer'); // Mandatory
 s.setAttribute('ovx-apikey','myAPIKey'); // Mandatory
 s.setAttribute('ovx-name','Guest'); // Mandatory    Â
 s.setAttribute('ovx-session','SomeUniqueSessionID'); // Mandatory
 s.setAttribute('ovx-autostart',false); // Default false
 s.setAttribute('ovx-render','embed');  // Default popup
 s.setAttribute('ovx-width','250'); // Default 400
 s.setAttribute('ovx-height','320'); // Default 320
 s.setAttribute('ovx-chat','enable'); // Default disable
 s.setAttribute('ovx-record','enable'); // Default enable
 s.setAttribute('ovx-dialout','enable'); // Default enable
 s.setAttribute('ovx-cc','1'); // Optional
 s.setAttribute('ovx-number','4695551212'); // Optional
 s.src = "//ovx.me/ovxplayer/ovx-embed-ovxplayer.js?v1";
 x.parentNode.insertBefore(s, x);
 }; Â
 w.attachEvent ? w.attachEvent('onload', f) : w.addEventListener('load', f, false);
}(document, window));
</script>Â
<!-- END Embed Code -->
</center>
<div id='ovx-player' style='width:600px; height:320px;'></div>
<!--
<button onclick="OVXEMBED.setKeyValue('ovx-name','Some User');OVXEMBED.setKeyValue('ovx-session','121212');OVXEMBED.openOVXFrame();">Open OVX</button>
-->
</body>
</html>
<!doctype html>
<html>
<head>
<meta charset=utf-8>
<title>OVX Video Room</title>
</head>
<body>
<center>
<!-- BEGIN Embed Code -->
<script>
(function(d, w) {
 var x = d.getElementsByTagName('SCRIPT')[0];
 var f = function () {
 var s = d.createElement('SCRIPT');
 s.type = 'text/javascript';
 s.setAttribute('ovx-widget','ovxplayer'); // Mandatory
 s.setAttribute('ovx-apikey','myAPIKey'); // Mandatory
 s.setAttribute('ovx-name','Guest'); // Mandatory    Â
 s.setAttribute('ovx-session','SomeUniqueSessionID'); // Mandatory
 s.setAttribute('ovx-autostart',false); // Default false
 s.setAttribute('ovx-render','embed');  // Default popup
 s.setAttribute('ovx-width','250'); // Default 400
 s.setAttribute('ovx-height','320'); // Default 320
 s.setAttribute('ovx-chat','enable'); // Default disable
 s.setAttribute('ovx-record','enable'); // Default enable
 s.setAttribute('ovx-dialout','enable'); // Default enable
 s.setAttribute('ovx-cc','1'); // Optional
 s.setAttribute('ovx-number','4695551212'); // Optional
 s.src = "//ovx.me/ovxplayer/ovx-embed-ovxplayer.js?v1";
 x.parentNode.insertBefore(s, x);
 }; Â
 w.attachEvent ? w.attachEvent('onload', f) : w.addEventListener('load', f, false);
}(document, window));
</script>Â
<!-- END Embed Code -->
</center>
<div id='ovx-player' style='width:600px; height:320px;'></div>
<!--
<button onclick="OVXEMBED.setKeyValue('ovx-name','Some User');OVXEMBED.setKeyValue('ovx-session','121212');OVXEMBED.openOVXFrame();">Open OVX</button>
-->
</body>
</html>