Integrate embed.ly support into the "external media" block

Bug #1441395 reported by Aaron Wells
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Wishlist
Gregor Anželj

Bug Description

http://embed.ly is a service that facilitates embedding external content via a URL. You use their API to pass them a URL to, say, a New York Times article, and they read the URL, fetch the right embed for it, and send you back an iframe to embed that NYT article nicely.

There is a non-core embed.ly block written by Gregor Anzelj: https://mahara.org/user/anzeljg/embedly-blocktype

This block works great, but it is a little awkward that if you activate it, your users get two blocks: "External media" and "embed.ly", and these both essentially do the same thing.

What would be better, is that we put optional support for embed.ly dircetly into the "External media" block. So, we provide a space for the site admin to enter an embed.ly API key. If they do that, then we change the help text for the "External media" block so that it indicates you can just paste the site URL in for the whole wide range of sites that embed.ly supports.

Revision history for this message
Jinelle Foley-Barnes (jinelleb) wrote :

+1 this idea :)

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/5749

Changed in mahara:
assignee: nobody → Gregor Anželj (gregor-anzelj)
milestone: none → 16.04.0
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/5749
Committed: https://git.mahara.org/mahara/mahara/commit/504b09202d902f37f2194392f1e450da02d2776b
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 504b09202d902f37f2194392f1e450da02d2776b
Author: Gregor Anzelj <email address hidden>
Date: Sat Dec 12 16:03:04 2015 +0100

Integrate embed.ly support into the "external media" block (Bug #1441395)

behatnotneeded
Change-Id: Ie966c72484c06ac33ce7cf93c7b76d453443aad5
Signed-off-by: Gregor Anzelj <email address hidden>

Robert Lyon (robertl-9)
Changed in mahara:
status: Triaged → Fix Committed
tags: added: nominatedfeature
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.