
html5 $("myplayer").jwplayer is not a function
I setup html5 player like the example.
bc.. <video id="myplayer" src="filename" width="640" height="480">
and javascript call
bc.. $('myplayer').jwplayer({skin:'/mediaplayer/five.xml'});
in the header I have:
bc.. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script type="text/javascript" src="/mediaplayer/jquery.jwplayer.js"></script>
in Firefox, it gives an error:
bc.. $("myplayer").jwplayer is not a function
What am I doing wrong?