I have this js code:

Code: 
<script type="text/javascript"> 
window.onload = function () { 
  setTimeout(function () { 
    var div = document.getElementById('refr'); 
    div.innerHTML = '<?php echo $queried_post->post_content; ?>';  
  }, 7000); 
} 
</script>
This is what is showing now and will refresh in 10 sec with some video (from div.innerHTML).
<div id="refr"> 
</div>
I made it work but it works only with userporn,is not working with others.I don't know why ,some guy have same code and it works with all.

Is easy to do for someone with a little javascript knowledge (i think i forgot something in that code)
duality99 Reviewed by duality99 on . I need someone with javascript skills I have this js code: <script type="text/javascript"> window.onload = function () { setTimeout(function () { var div = document.getElementById('refr'); div.innerHTML = '<?php echo $queried_post->post_content; ?>'; }, 7000); } </script> Rating: 5