Hello all!
I'm just following step by step how to make controls from the example over here: http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/16022/controlling-the-player-u...
The problem is that I copy EXACTLY the same code con my page and I change the paths for where my example videos are. This is my code:
<div id="container"></div>
<script type="text/javascript">
jwplayer("container").setup({
file: 'jwplayer/video.mp4',
flashplayer: 'jwplayer/player.swf',
height: 270,
width: 480
});
</script>
<ul>
<li><a href="#" onclick="jwplayer().play();">Toggle the playback</a></li>
<li><a href="#" onclick="jwplayer().setMute();">Toggle the audio</a></li>
<li><a href="#" onclick="jwplayer().stop();">Stop playback</a></li>
</ul>
I'm running the web locally (file:///C:/Users.......)
I dont know what I am missing, seriously. The player works fine but the links don't! Why?
And the example in the page worked for me properly.
I just really don't know what I'm missing.
Ok, I found it!
The problem is that I cannot run the website in local.
Thank you.