Joma Alrzini

Joma Alrzini

  • NA
  • 61
  • 30.7k

what is the code for jwplayer in asp.net

Jul 10 2016 7:47 AM
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)