This is a migrated thread and some comments may be shown as answers.
MediaPlayer with datasource (ajax call)
1 Answer 9 Views
This is a migrated thread and some comments may be shown as answers.
Federico
Top achievements
Rank 1
Federico asked on 18 Sep 2017, 01:16 PM

 $("#player").kendoMediaPlayer({
autoPlay: true,
play: onPlay,
pause: onPause,
end: onEnd,
ready: onReady,
timeChange: onTimeChange,
volumeChange: onVolumeChange,
messages: {
   play: "Wiedergabe",
   pause: "Pausieren"
},
media: {
title: "player",
source: new kendo.data.DataSource({
   transport: {
       read: {
           url: "getVideoplayer",
           type: "POST",
           dataType: "binary"
       }
   }
})
}
});

html: 

<div id="player" style="width:640px; height: 360px;"></div>

 

i have this error:

 

Uncaught TypeError: this._currentUrl(...).match is not a function

 

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 20 Sep 2017, 06:52 AM
Hello Federico,

I noticed that a similar question is already asked in the following forum post:

http://www.telerik.com/forums/how-to-create-kendo-media-player-video-with-ajax-call-and-spring

I have provided an answer to the question. If more information is needed, please continue the conversation in only one fo the threads by your choice.

Regards,
Stefan
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Asked by
Federico
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or