Sakai 11 - Google doc and folder embedding

257 views
Skip to first unread message

Laura Gekeler

unread,
May 9, 2017, 1:06:39 PM5/9/17
to sakai-user
I'm doing some testing on our DEV environment (11.2+)

The WebContent tool nicely displays a google URL (no embed code) for a google doc in the frame of the original tab.

The Site Information Display tool on the Overview page allows iframe embed code and by that method displays a google doc in the frame on the original tab.

However, google folders appear to be a different animal. Looks like somehow you can do it with Canvas though. (https://community.canvaslms.com/groups/designers/blog/2016/03/04/embed-a-google-drive-folder)

Would anyone else be interested in this as an enhancement request?

Laura



Laura Gekeler
LMS Administrator
Learning Platforms
Apereo Foundation Board '14-2017
University of Notre Dame

Jennifer Loudiana

unread,
May 9, 2017, 1:56:34 PM5/9/17
to Laura Gekeler, sakai-user

This is nice… has anyone tried this with Microsoft OneDrive in version 11?

 

I am adding to my list for our dev.

 

 

Jennifer Loudiana

Information Technology

Walsh University

330-490-7430

jlou...@walsh.edu

--
You received this message because you are subscribed to the Google Groups "Sakai Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sakai-user+...@apereo.org.
To post to this group, send email to sakai...@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/sakai-user/.

alan.regan

unread,
May 10, 2017, 12:13:47 PM5/10/17
to Sakai Users Group
Hi, Laura.

Yes.  As a G Suite Education institution, very interested in additional integration / capabilities to connect Sakai with Google Drive, etc.  Curious what your thoughts were on this project.

Looks like it's not really a Canvas thing, but a method posted on their community site.  It boils down to some simple IFRAME code that the user found here:

The user that posted the idea on the Canvas community page created a separate Google script or app to help educators create the embed code.  For people familiar with HTML and extracting elements of a URL, the app/script isn't necessary as long as they know the process/format.  For everyone else (re: most instructors or students), the app/script makes the process a little easier... but they'd still need to know how to embed the code onto whichever page, etc.

Things to explore:
  • In Sakai, is AntiSamy somehow at play?  Perhaps some necessary part of the code or URL is being stripped out by AntiSamy to prevent cross-site scripting?  If yes, I wonder if the element of the link can be white-listed in some way?
  • Assuming the functionality doesn't get cut or killed by Google in the future, wouldn't it be nice to have a "Add Google Folder" option in Lessons, Resources, etc.?  Or button in CKEditor for any tool that uses the rich text editor?  Have this as a tool such that if someone provides the target URL, the tool creates and inserts the embed code (making it even easier for the instructor, etc.).
Anyway... curious what your thoughts were on the project.  We can chat off list if it helps.

Thanks for sharing the idea!
--Alan

Laura Gekeler

unread,
May 10, 2017, 2:47:11 PM5/10/17
to alan.regan, Sakai Users Group
Alan,

I followed the trail back to Thomas VanHoutte as well. He knows the point is that most faculty are not going to create iframe embed code themselves, but that such works, works in Canvas, works on most LMSs. But Canvas has something to advertise because they have a webpage that will build the code for you. But who needs a separate webpage anyway if scripting to create and embed the code could be done right in the LMS?

If AntiSamy were in play, then I wouldn't be able to embed anything, but I am able to frame a google doc directly with only the URL given to the WebContent tool. Why not a Google Folder?

I wonder Alan, if you (Pepperdine) would be interested in exploring this summer, with NYU and us, integrating Google sheets, drive, etc into Sakai? NYU has done some very good initial work which runs live in their production instance.

This video, https://www.youtube.com/watch?v=PfUhjI2--58 (Open Apereo 2014), introduces NYU's first efforts with a dependency on Grouper for provisioning/permission synching. As I understand it Grouper is about to be removed from the mix. Maybe Jeff or Kyle will comment on where NYU is today? I think there is a more recent video, but I can't find it at this time.

Will you be at the conference, Alan?

Laura



Laura Gekeler
LMS Administrator
Learning Platforms
Apereo Foundation Board '14-2017
University of Notre Dame


--
You received this message because you are subscribed to the Google Groups "Sakai Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sakai-user+unsubscribe@apereo.org.

alan.regan

unread,
May 11, 2017, 4:39:22 PM5/11/17
to Sakai Users Group, alan....@pepperdine.edu
Hi, Laura.

Yes, I'll be heading to Open Apereo 2017 in Philly.  Hope we can connect there, since I'd like to hear more about the plans being discussed. Can decide from there about collaboration opportunities.

As always, thanks!
--Alan

To unsubscribe from this group and stop receiving emails from it, send an email to sakai-user+...@apereo.org.

alan.regan

unread,
May 11, 2017, 6:20:07 PM5/11/17
to Sakai Users Group
Laura,

Quick update -- I was able to successfully embed a Google Drive folder within our Sakai 10 and our dev Sakai 11 instances.  I can't find anything in Sakai that is prohibiting a Google folder.

I believe the problem is the code you are attempting (?).  I think the format you referenced is out of date.

The code that worked for me:

I was able to embed a Google Folder in Sakai with the following tools:
  • "Home" / "Overview" (Site Information)
  • Syllabus
  • Resources: HTML page
  • Lessons
  • (That's where I stopped.  I'm assuming it will work anywhere the CKEditor is used.)
Let me know if a change in the code fixes the issue on your end.  And I look forwarding to speaking with you and others at Open Apereo.

--Alan


On Wednesday, May 10, 2017 at 11:47:11 AM UTC-7, lgekeler wrote:

Sanghyun Jeon

unread,
Jun 11, 2020, 7:41:47 PM6/11/20
to alan.regan, Sakai Users Group
Dear All,

Sorry for the late jumping into this topic. Currently we are experiencing embedding a Google Drive m4v file into the Lessons tool by using embed code option.
Can anybody shed some lights on this issue?

Best,

S

--
You received this message because you are subscribed to the Google Groups "Sakai Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sakai-user+...@apereo.org.

To post to this group, send email to sakai...@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/sakai-user/.


--
Sanghyun Jeon Ph.D
Senior Academic Technology Specialist
Pomona College

alan.regan

unread,
Jun 17, 2020, 1:40:08 PM6/17/20
to Sakai Users Group
Hi, Dr. Jeon.

I see that you asked the question on the Sakai Dev list, too. 

Since you are trying to use the embed code to display a video file in Sakai on a Lessons page...
  • The first issue is that you need to whitelist the appropriate code.  The default security settings will strip away potential cross-site scripting code, so you need to work with the appropriate folks to allow the embed code from Google.  We worked with our hosting partner to allow the embed code.  I'm glad to see that you created a JIRA ticket for this - https://jira.sakaiproject.org/browse/SAK-43788.  I hope that the community may be able to look at that.  We are hosted by a Sakai affiliate and they were able to whitelist the code for us, so embeds are working on our instance. I don't know what change was needed to do it, though. 
  • Next, in Sakai 20 and beyond there are new options for integrating with both G Suite as well as Office 365.  I'm not sure when you plan to upgrade your Sakai instance, but perhaps these new options might address some of the linking or embedding issues that you are experiencing?
Regarding the original topic of the thread, once your Sakai instance allows iframe content from Google, I can report that the earlier source code option shared will allow someone to embed a shared Google Drive folder within a Sakai page (e.g. Lessons, Overview, etc.).  I just tested the steps that had been outlined on the older page... and they still work.


I hope something here may help.  And I hope that your JIRA ticket gets some attention. 

Best,
-- Alan



On Thursday, June 11, 2020 at 4:41:47 PM UTC-7, Sanghyun Jeon wrote:
Dear All,

Sorry for the late jumping into this topic. Currently we are experiencing embedding a Google Drive m4v file into the Lessons tool by using embed code option.
Can anybody shed some lights on this issue?

Best,

S

To unsubscribe from this group and stop receiving emails from it, send an email to sakai...@apereo.org.

To post to this group, send email to sakai...@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/sakai-user/.

Sanghyun Jeon

unread,
Jun 17, 2020, 9:40:45 PM6/17/20
to alan.regan, Sakai Users Group

Thank you for your reply, Alan.

I whitelisted my local dev server for google drive and it is working now.
But I would like to avoid any local code maintenance in the future and hopefully, Sakai community whitelists google drive.
By the way, I love your lighting presentation.


S


To unsubscribe from this group and stop receiving emails from it, send an email to sakai-user+...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/sakai-user/d68a6d2e-8c35-4613-8c75-647f018e487fo%40apereo.org.
Reply all
Reply to author
Forward
0 new messages