Hi, Im using the kendo media player inside a kendo window for playing a video. I'm able to get the video and play it but the problem is when I check the Chrome devTools, I dont know why there is multiple request been made to the backend for the video. In fact I just click once.
Below is the code:
var html = "<div id='dvPlayer' style='width:99%;height:99%;'></div>";
var mediaWind = $("<div id='mediawindow' />").kendoWindow({
title: "Media Player",
animation: false, width: "90%", height:"90%",
resizable: false, modal: true, draggable: true,
close: function ()
{
this.destroy();
}
}).data('kendoWindow').content(html);
var dvPlayer = $("#dvPlayer").kendoMediaPlayer({
autoPlay: false,
autoRepeat: false,
navigatable: true,
}).data("kendoMediaPlayer");
dvPlayer.media({
title: filename,
source: urlToBackend
});
mediaWind.center().open();
Can close this question..I've found the solution..thanks