[Building Sakai] Fw: [sakai-kaltura] Can sakai integrate with Kaltura Community

narayana goud narayana_mallepula at yahoo.co.in
Mon Sep 30 09:50:56 PDT 2013


Hi 

Iam using my kaltura server which is install in nstalled community edition 5 of kaltura on Centos
I set the kaltura.cdn and kaltura.endpoint with custom kaltura widget ids to be the same as followings.

kaltura.enabled=true
kaltura.partnerid=xxxx
## your kaltura account admin secret key

kaltura.adminsecret=xxxxxxx
## your kaltura account secret key

kaltura.secret= xxxxxxxxxx
## your kaltura server URL (Use https if your sakai server uses SSL)

kaltura.endpoint = http://www.anil.com
 kaltura.cdn= http://www.anil.com
kaltura.player.view=6709423
kaltura.player.video.width=400
kaltura.player.video.height=300
kaltura.player.edit=6709423
kaltura.player.image=6709423
kaltura.player.image.width=400
kaltura.player.image.height=300
kaltura.player.audio=6709423
kaltura.player.audio.width=400
kaltura.player.audio.height=30

 I upload image and video file with kaltura integrate tool correctly.
 But the image and video can't be display or played in site library and collections. Yet they are downloaded correctly. 
I found that in view source through inspect elements the code shows like this

<object style="width: 480px; height: 360px;" id="kplayerId" name="kplayerId" 
data="http://cdnapi.kaltura.com/index.php/kwidget/wid/_101/uiconf_id/6709462/entry_id/0_706hsize" 
type="application/x-shockwave-flash">
        <param name="movie" value="http://cdnapi.kaltura.com/index.php/kwidget/wid/_101/uiconf_id/6709462/entry_id/0_706hsize">
        <param name="flashvars" value="&amp;entryId=0_706hsize&amp;ks=NWNjOWJmODIyMzdjNTM5OGI5YjZmYTFkNGUzN2FhMjRlZTg5YWFjOHwxMDE7MTAxOzEzODA2NDQ5ODY7MDsyODI5NjthZG1pbjtzdmlldzoqLGxpc3Q6KixlZGl0OiosZG93bmxvYWQ6Kg%3D%3D&amp;externalInterfaceDisabled=false&amp;autoPlay=false">
        <param name="wmode" value="opaque">
        <param name="allowFullScreen" value="true">
        <param name="allowNetworking" value="all"><param name="allowScriptAccess" value="always">
        <param name="bgcolor" value="#000000">
</object>

if you observe  for theblod & underline portion it is taking kaltura server where as i given my server url.
Kaltura and sakai tool while building dynamically it is taken like that...

But it the same player we I click embed code button for that video the code look like this 

<object id="kaltura_player_0_706hsize" name="kaltura_player_0_706hsize" type="application/x-shockwave-flash" 
allowFullScreen="true" allowNetworking="all" allowScriptAccess="always" height="360" width="480" 
bgcolor="#000000" xmlns:dc="http://purl.org/dc/terms/" 
xmlns:media="http://search.yahoo.com/searchmonkey/media/" rel="media:video" 
resource="http://www.anil.com/kwidget/wid/_101/ui_conf_id/6709462/entryId/0_706hsize" 
data="http://www.anil.com/kwidget/wid/_101/ui_conf_id/6709462/entryId/0_706hsize">
            <param name="allowFullScreen" value="true" />
            <param name="allowNetworking" value="all" />
            <param name="allowScriptAccess" value="always" />
            <param name="bgcolor" value="#000000" />
            <param name="flashVars" value="&entryId=0_706hsize" />
            <param name="movie" value="http://www.anil.com/kwidget/wid/_101/ui_conf_id/6709462/entryId/0_706hsize" />
</object>

here it is taking same my server url....

please help me ....

Thanks,
Narayana.



----- Forwarded Message -----
From: narayana goud <narayana_mallepula at yahoo.co.in>
To: "sakai-kaltura at collab.sakaiproject.org" <sakai-kaltura at collab.sakaiproject.org>; "azeckoski at unicon.net" <azeckoski at unicon.net>; "steve.swinsburg at gmail.com" <steve.swinsburg at gmail.com>; "sakai-dev at collab.sakaiproject.org" <sakai-dev at collab.sakaiproject.org> 
Sent: Wednesday, 25 September 2013 7:43 PM
Subject: [sakai-kaltura] Can sakai integrate with Kaltura Community
 


Hi,

I set the kaltura.cdn and kaltura.endpoint with custom kaltura widget ids to be the same as followings.
 kaltura.cdn= http://www.anil.com
kaltura.player.view=6709423
kaltura.player.video.width=400
kaltura.player.video.height=300
kaltura.player.edit=6709423
kaltura.player.image=6709423
kaltura.player.image.width=400
kaltura.player.image.height=300
kaltura.player.audio=6709423
kaltura.player.audio.width=400
kaltura.player.audio.height=30

 I upload image and video file with kaltura integrate tool correctly.
 But the image and video can't be display or played in site library and collections. Yet they are downloaded correctly. I can read it from KMC. 
I found the embed code are different. They are:

 in KMC

 <object id="kaltura_player_1380111137" name="kaltura_player_1380111137" type="application/x-shockwave-flash" 
allowFullScreen="true" allowNetworking="all" allowScriptAccess="always" height="360" width="480" bgcolor="#000000" 
xmlns:dc="http://purl.org/dc/terms/" xmlns:media="http://search.yahoo.com/searchmonkey/media/" rel="media:video" resource="http://www.anil.com/kwidget/wid/_101/ui_conf_id/6709423/entryId/0_ax6bsn9s" data="http://www.anil.com/kwidget/wid/_101/ui_conf_id/6709423/entryId/0_ax6bsn9s"><param name="allowFullScreen" value="true" /><param name="allowNetworking" value="all" /><param name="allowScriptAccess" value="always" /><param name="bgcolor" value="#000000" /><param name="flashVars" value="&entryId=0_ax6bsn9s" /><param name="movie"
 value="http://www.anil.com/kwidget/wid/_101/ui_conf_id/6709423/entryId/0_ax6bsn9s" /></object> 

in  Sakai

 <object id="kaltura_player_0_ax6bsn9s" name="kaltura_player_0_ax6bsn9s" 
type="application/x-shockwave-flash" allowFullScreen="true" allowNetworking="all" allowScriptAccess="always" 
height="360" width="480" bgcolor="#000000" xmlns:dc="http://purl.org/dc/terms/" xmlns:media="http://search.yahoo.com/searchmonkey/media/" rel="media:video" resource="http://www.anil.com/kwidget/wid/_101/ui_conf_id/6709423/entryId/0_ax6bsn9s" data="http://www.anil.com/kwidget/wid/_101/ui_conf_id/6709423/entryId/0_ax6bsn9s"><param name="allowFullScreen" value="true" /><param name="allowNetworking" value="all" /><param name="allowScriptAccess" value="always" /><param name="bgcolor" value="#000000" /><param name="flashVars" value="&entryId=0_ax6bsn9s" /><param name="movie" value="http://www.anil.com/kwidget/wid/_101/ui_conf_id/6709423/entryId/0_ax6bsn9s"
 /></object>

Whether it is the setting problem in sakai.properties or in CE6?

Narayana.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20131001/10d713cb/attachment.html 


More information about the sakai-dev mailing list