I am trying to load jPlayer in my application. Here’s my code:
$('#jQuery_jPlayer1').jPlayer({
ready: function () {
$(this).jPlayer("setMedia", {
m4v: "/Users/itsme/Desktop/sample_video.m4v"
});
},
supplied: "m4v"
});
I do not see anything added on the screen within div#jQuery_jPlayer1.
However, this is added to the HTML of div#jQuery_jPlayer1.
Can anyone help me with what I’m doing wrong? Why the video player is not loaded?
Thanks.
I guess, it’s cause it cannot access the file on my desktop, if i have a file within my server directory, it works. Thanks for the answer.