Kaltura integration issues

545 views
Skip to first unread message

Jayson Taylor

unread,
Apr 18, 2011, 11:28:25 AM4/18/11
to Canvas LMS Users
I'm trying to get Canvas to work with Kaltura but I don't see a
kaltura.yml.sample file in the current distribution. I have tried
creating one but I don't think it's correct. Kaltura itself is
working fine, but I can't get the video upload button to show up in
Canvas when adding new announcements, etc... Here is the kaltura.yml
file I created and placed in /var/rails/canvas/configs. I did reboot
after creating it.

production:
partner_id: 100
subpartner_id: 10000
secret_key: admin secret key from kaltura
user_secret_key: user secret key from kaltura
player_ui_conf: 1727897
upload_ui_conf: 1727897
kcw_ui_conf: 380
domain: server.domain.org
resource_domain: server.domain.org

What am I missing? I did try adding the test and development sections
with identical settings.

Thanks

JT Olds

unread,
Apr 18, 2011, 11:30:14 AM4/18/11
to canvas-l...@googlegroups.com
It appears we haven't updated our online documentation yet. We have
moved the Kaltura configuration out of a yml file and in to our plugin
settings user interface.

If you can access Canvas at http://<canvas>/, you should try visiting
http://<canvas>/plugins

Jayson Taylor

unread,
Apr 18, 2011, 11:34:33 AM4/18/11
to Canvas LMS Users
That did the trick! Thanks!

Jayson Taylor

unread,
Apr 18, 2011, 2:59:47 PM4/18/11
to Canvas LMS Users
Well it ALMOST dod the trick. Yes, I can now see the record/upload
media button and when I click it a new window with 2 tabs opens. The
first is for recording a new video with a webcam (which I can't test
right now because I don't have one). The 2nd tab is for uploading
content. All that shows up are two buttons, Select audio file and
select video file. The buttons do not do anything. I tried it in
Firefox 4 and IE 8, both using the latest version of Flash.
> > http://<canvas>/plugins- Hide quoted text -
>
> - Show quoted text -

elliot...@gmail.com

unread,
Sep 20, 2012, 4:37:02 PM9/20/12
to canvas-l...@googlegroups.com, extre...@gmail.com
Any progress on this?  We are having the same issue, where the buttons are there but clicking them does nothing.  Has anyone discovered the correct uiConfIDs or UI Conf Names to put in the plugin configuration to make it work?  We have both a Kaltura 3.0 and 5.0 server up and running, but neither will respond.

d...@americanhonors.com

unread,
Sep 23, 2012, 10:16:38 AM9/23/12
to canvas-l...@googlegroups.com, extre...@gmail.com, elliot...@gmail.com
Having the same issue but with the Kaltura hosted account. Kaltura rep said I have the correct settings but when I try to record a video (it works) but does not successfully save/upload as a media comment. Anyone have any ideas?

elliot...@gmail.com

unread,
Sep 24, 2012, 11:48:26 AM9/24/12
to canvas-l...@googlegroups.com, extre...@gmail.com, elliot...@gmail.com, d...@americanhonors.com
I was able to make significant progress with integrating our self-hosted Canvas and Kaltura 5 (eagle).  Turns out the Kaltura module makes requests to Kaltura from Canvas on the same http port as Canvas.  As our Canvas install is on HTTPS (443) it was attempting to talk to our Kaltura install over HTTPS as well, which wasn't setup, and doesn't appear to be documented anywhere.  Changing Canvas to HTTP (port 80) allowed us to get a proof of concept working, though that's not a long-term solution for us.  

In terms of UIConf values, we also don't seem to be able to use any that we build, but we are using the following:
Player UI Conf ID and KCW UI Conf ID: 48501 (KDP3 light player)
Uploader UI Conf ID: 1103 (kupload 1.0.7)

We also were able to get Red5 talking to Canvas and Kaltura, but for some reason recording breaks if the recording is longer than one second.  We are able to record directly within Kaltura using Red5 for indefinite periods of time, but something about the Canvas implementation of recording is still troubling us.  I'll post back if we discover anything new.


Message has been deleted

elliot...@gmail.com

unread,
Mar 11, 2013, 11:02:55 AM3/11/13
to canvas-l...@googlegroups.com, extre...@gmail.com, elliot...@gmail.com, d...@americanhonors.com
Someone asked if we'd made any progress on this, specifically the HTTPS side.  (It appears the message has been deleted).  We have successfully integrated Canvas and Kaltura over HTTPS.  I believe the main trick was to link /opt/kaltura/app/configurations/apache/ssl_kaltura.conf into /etc/apache2/conf.d/ and configure it correctly for our SSL certificate.  There may have been some minor tweaks to /var/rails/canvas/public/javascripts/media_comments.js as well, but it has slipped my mind exactly what we changed.  Here's the relevant section with our current settings for reference: 
$(document).triggerHandler('reset_media_comment_forms');
       
var temporaryName = $.trim($("#identity .user_name").text()) + " " + (new Date()).toISOString();
        setTimeout
(function() {
         
var recordVars = {
            host
: INST.kalturaSettings.domain,
            kshowId
:"-1",
            autoPreview
: true,
            disableglobalclick
: false,
            showPreviewTimer
: true,
            removeplayer
: false,
            pid
:INST.kalturaSettings.partner_id,
            subpid
:INST.kalturaSettings.subpartner_id,
            uid
:$dialog.data('uid') || "ANONYMOUS",
            ks
:ks,
            themeUrl
:"/media_record/skin.swf",
            localeUrl
:"/media_record/locale.xml",
            entryName
:temporaryName,
            entryTags
: "canvas, webcam",
            thumbOffset
:"1",
            licenseType
:"CC-0.1",
            showUi
:"true",
            useCamera
:"0",
            partnerData
: $.mediaComment.partnerData(),
            showerrormessage
: "true",
            rtmpHost
:"rtmp://" + (INST.kalturaSettings.rtmp_domain || INST.kalturaSettings.domain),
         
}

Finally, on the red5 front, I believe the main issue was a permissions problem at the directory level, so make sure your red5 user and your apache user can read and write to all the relevant directories.

rdesi...@gmail.com

unread,
Mar 20, 2013, 6:32:19 AM3/20/13
to canvas-l...@googlegroups.com, extre...@gmail.com
Hi

Any tricks about integrate kaltura with paypal?

Thanks in advance.
Reply all
Reply to author
Forward
0 new messages