My code works on my personal computer but when I upload it to the server which is Bluehost, it does not work. This is my code:
<script> $(document).ready(function(){ $("#myVideo").bind('ended', function(){ location.href="https://ellooklatino.com/home.html"; }); }); </script> <body> <video id="myVideo" width="440" controls muted autoplay> <source src="videos/lookLatinoVideo.mp4" type="video/mp4"> <source src="videos/lookLatinoVideo.ogg" type="video/ogg"> </video> </body>
Any suggestion are greatly appreciated it.
Thanks, Ren
1.4m articles
1.4m replys
5 comments
57.0k users