Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Stream from my server


I need to pass url video to source to show player it gives me error file not found

var playerInstance = jwplayer("jsplaylist");
playerInstance.setup({
image: "myPoster.jpg",
sources: [{
file: //"http://localhost:7070//StreamFiles.ashx?type=video&mimetype=" + escape("video/m4v") + "&filename=" + vm.itemDetails.videoUrl
"/bbb-800.mp4"
}, {
file: "/bbb-800.mp4" //"http://localhost:7070//StreamFiles.ashx?type=video&mimetype=" + escape("video/m4v") + "&filename=" + vm.itemDetails.videoUrl
}],
//playlist: [{
// image: "/assets/myVideo.jpg",
// sources: [{
// file:"/bbb-800.mp4" //"http://localhost:7070//StreamFiles.ashx?type=video&mimetype=" + escape("video/m4v") + "&filename=" + vm.itemDetails.videoUrl

// }, {
// file: //"http://localhost:7070//StreamFiles.ashx?type=video&mimetype=" + escape("video/m4v") + "&filename=" + vm.itemDetails.videoUrl
// }]
//}],
"autostart": true

});

1 Community Answers

Alex

JW Player Support Agent  
0 rated :

Hi there,

The way you have it configured now, bbb-800.mp4 is found in the root of your domain, correct?

This question has received the maximum number of answers.