7
Answers

what is the code for jwplayer in asp.net

Joma Alrzini

Joma Alrzini

8y
284
1
I need to use player for video I tried jw with this code but it does not work 
 
<video id="VdoPlayer" src="" runat="server" width="550" height="400" type="video/mp4" controls="controls" loop="loop"
autoplay="autoplay" onclick="this.play()" poster="images/notAvailble.jpg" paused="true" allowfullscreen="false" allowscriptaccess="always" onprogress="true" />
<script type="text/javascript" src="/jwplayer/jwplayer.js"></script>
<script type="text/javascript">
jwplayer('VdoPlayer').setup({
'flowplayer': '/jwplayer/player.swf',
'file': '~/Videos/send mail using asp.net.mp4',
});
</script>
 
Do I have add jw js file or how to do it
please help  i have never use this before
thanks very much in advance  
Answers (7)