I have tried to implement jwplayer as
<script src="js/jwplayer.js" type="text/javascript"></script><script type="text/javascript">
<script type="text/javascript">
$(document).ready(function(){
var divid= document.getElementById("mediaplayerid").getAttribute("id");
divid);
jwplayer(divid).setup({
flashplayer: '<%= ResolveUrl("Jwplayer/player.swf")%>',
provider: "video",
file: '<%= ResolveUrl("Videos/2.mp4") %>' ,
autostart: true,
width: '600',
height:'370',
});
});
</script>
where i have taken a div tag in a table as
<td>
<div id="mediaplayerid"></div>
</td>
the jwplayer fails to run. i have debug the script.It reaches to a point
Jwplayer.setup after it that comes out with no output.
what possibly be an error or any code error. thanks for any assistance.