How to run video from server other then kaltura server?

10 replies [Last post]
Joined: 07/10/2009
Points: 15

I have to run video on KDP but video needs to run from my server and not kaltura server. Ant idea how to run that video, I have already tried many techniques like in entryId passed Url of server, etc. It seems kaltura fails in playing such video. If anybody have any working code then please share it on forum. I am attaching one demo code example file with this post. Please refer it for issue. Thanx in advance

AttachmentSize
KDPDemo.txt892 bytes
Joined: 04/05/2009
Points: 344

If you go to this test site:

http://kaldev.kaltura.com/projects2009/kdp_js_api.html

...and put something like this:

http://www.latenitefilms.com/flash/happy_sundaes/happy_sundaes_trailer.f...

...in the "load video" text box, it works fine.

Also, this code also seems to work fine:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Test</title>
<script type="text/javascript" src="swfobject.js"></script>
</head>
<body>
<div id="kplayer"></div>
<script type="text/javascript">
        var params = {
                allowscriptaccess: "always",
                allownetworking: "all",
                allowfullscreen: "true",
                wmode: "opaque"
        };
       
        var flashVars = {
                entryId: "http://www.latenitefilms.com/flash/happy_sundaes/happy_sundaes_trailer.flv"
        };
       
        swfobject.embedSWF("http://www.kaltura.com/kwidget/wid/_12431", "kplayer", "400", "360", "9.0.0", false, flashVars, params);
</script>
</body>
</html>

Make sure you are using SWFObject 2. You can download it here:

http://swfobject.googlecode.com/files/swfobject_2_2.zip

I hope this helps!

Best Regards, Chris!

Joined: 07/10/2009
Points: 15

Thanx Chris. This code is working fine. But it will only work for flv files right, what about other files like swf, avi,........! any idea other then converting it to flv. My problem is file is flv but there is no extension appended to it on server. It can't detect and play it on the fly.

Joined: 07/10/2009
Points: 15

Thnx all, Everythings is working fine.

Joined: 04/05/2009
Points: 344

For a list of supported formats please refer to the wiki.

Joined: 07/10/2009
Points: 15

hi Chris,
I am back with one more issue with KDP. I have created functionality to play video from kaltura and also from other provided server URL. But it is seems it fails somewhere, Some videos are played in the KDP and some are not getting played. I have check the URL and found there is the video available there and it can be download from there with URL.

Followings are URL's for testing which you can test it.

Working URL: http://cdn.cloudfiles.mosso.com/c114262/66h7vr2q9w
Non- working URL: http://cdn.cloudfiles.mosso.com/c114262/tlybpxy98g or
http://cdn.cloudfiles.mosso.com/c114262/m9ypm6ukq8

Joined: 12/04/2009
Points: 1

How do you hide the website server details like it is linux server or windows server like google?

SEO
http://www.webmarketingexperts.com.au/

Joined: 04/05/2009
Points: 344

The working URL is an FLV file. The other two have been compressed using Windows Media Video. How did I find this out? I simply opened the files in a text editor and noticed "FLV" and "Windows Media Video" amongst all the random computer code. To confirm I added extensions to the files and opened them in Quicktime.

Looking at the Kaltura Wiki it seems that it only supports the WMV codec but not the format.

Can anyone from Kaltura confirm?

Can you re-upload the footage to the CDN as FLVs by any chance?

Joined: 01/05/2009
Points: 1500

Hi Guys,

KDP is a flash widget, that said - it can only stream and play Video formats supported by the flash player.
The Kaltura Server, however, does support all formats in a way of transcoding the content to formats that are supported by the Flash Player.

These are supported by the Flash Player - FLV and h.264 based formats.
WMV is not supported by the Flash Player and so should be transcoded.

Btw, What version of KDP are you using ?

Joined: 04/05/2009
Points: 344

Oh... of course! Opps! Sorry for missing the obvious!

Joined: 06/16/2010
Points: 1

Hi, I am using a video indexing tool that is built in flash as3. I have a video player in that tool.. I need to use the KDP(the Kaltura video player) inside my flash tool. Please sombody advice me what to do.....Thanks in advance

Pravi78