So I have a html code that is a button and links to a video file on my idisk. When the button is pressed it loads a new window in a defined size and loads the video. This works perfectly, however I want to move the video file to the actual hosting server instead of using my idisk. When I change the file address in the code it works but it causes the browser to download the file instead of play it.
Is there a different code I should use or change the settings in this one? It's odd that it works when the file is hosted on my idisk but not on my actual site hosting service.
Thanks for the help!
Is there a different code I should use or change the settings in this one? It's odd that it works when the file is hosted on my idisk but not on my actual site hosting service.
Thanks for the help!
HTML:
<script type="text/javascript">
function open_win()
{
window.open("http://idisk.mac.com/xxxxx//Public/Videos/ASDPromo.m4v",
"_blank","toolbar=yes, location=no, directories=no, status=no,
menubar=no, scrollbars=no, resizable=no, copyhistory=yes,
width=640, height=410") }</script>
<form><input type="button" value="Click to Play" onclick="open_win()"> </form>