Hi guys,
I have an asp.net page, where i'm using jplayer to play video in my web page.
The code i'm using is successfully running, but its playing only one video.
I want to add more videos and play one after the other.
What I have tried:
Code i tried for playing one video clip
<script type="text/javascript">
$(document).ready(function () {
$("#jquery_jplayer_1").jPlayer({
ready: function () {
$(this).jPlayer("setMedia", {
title: "Configuring visual directory!",
m4v: "AppVideos/2.mp4",
m4v: "AppVideos/3.mp4"
});
},
swfPath: "dist/jplayer",
supplied: "webmv, ogv, m4v",
size: {
width: "640px",
height: "360px",
cssClass: "jp-video-360p"
},
useStateClassSkin: true,
autoBlur: false,
smoothPlayBar: true,
keyEnabled: true,
remainingDuration: true,
toggleDuration: true,
loop: true,
canplay: function () {
$("#jquery_jplayer_1").jPlayer("play");
}
});
});
</script>
Can any one, plz help me.
How can i add multiple videos and play one after the other.
I have searched some website, but not able to understand.
Ref:
http://jplayer.org/latest/demo-02-jPlayerPlaylist/
Thanks