Unplanned
Last Updated: 07 Jan 2015 12:06 by Neelima
Neelima
Created on: 09 Sep 2014 22:04
Category: MediaPlayer
Type: Feature Request
2
RadMediaPlayer - Add support to automatically repeat the video
Add an option to support the automatic repetition of the video.
3 comments
Neelima
Posted on: 19 Nov 2014 16:11
I just noticed that the method name is misspelled, it should be 'OnClientEnded'. Can you please check if you have it spelled correct or not. Thanks.
Ahmad
Posted on: 19 Nov 2014 05:23
Hi
I dont know why, but it seems that OnClinetEnded is not firing, is there any trick I should consider?
Neelima
Posted on: 09 Sep 2014 23:13
Was able to make it work in Asp.Net with the following javascript on 'OnClientEnded' event of RadMediaPlayer

1. Set the ClientIDMode of radmediaplayer to 'Static'
2. Call the javascript function OnClientEnded event by setting,  OnClinetEnded="rdpVideo_Ended"
2. In the javascript function, find the radmediaplayer by its ID and call play() function on it.
    function rdpVideo_Ended(sender, args) {
            $find('rdpVideo').play();          
        }

It would be handy if there is an in-built property to automatically repeat the video.
 
Thanks!