Change Video with jQuery?

5 replies [Last post]
Joined: 12/13/2010
Points: 2

How would one go about changing the video source / poster using jQuery?

I can't seem to find any kind of documentation about the API for settings
or methods. Is there some sort of online documentation that has all this
type of information listed?

Thanks.

Joined: 12/13/2010
Points: 2

So nobody knows how to change a video with jQuery
or even with basic javascript?

Seems like there should be someone out there who
would know this sort of thing.

Joined: 10/13/2010
Points: 44

Did you ever find a solution to this? I'm struggling with finding even the most basic of example

Joined: 10/06/2010
Points: 103

You can use the KDP Javascript API for that purpose.
All functions here http://www.kaltura.org/demos/kdp3/docs.html

First check if the API is ready -> jsCallbackReady() and get your playerId within the function. Should look like this.

function jsCallbackReady(){
window.kdp = document.getElementById("your_player_id");
kdp.sendNotification("changeMedia",{entryId:your_entry_id};
}

Maybe you have to send doPlay Notification after that to start the Clip, but i'm not sure - give it a try and then a note here.

Joined: 10/13/2010
Points: 44

I used this. See this link. http://www.kaltura.org/html5-player-does-not-load-video-ipadiphone-initi...

It works well other than an issue I am having with fall forward on initial load. If anyone can take it and tell me what I'm doing wrong I'd appreciate it.

Joined: 01/06/2012
Points: 4

I have same problem. If you know about it let me know. Thanks.