Project

General

Profile

Actions

Feature #11038

closed

Sutori question

Added by scott voth almost 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
WordPress Plugins
Target version:
Start date:
2019-02-02
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

Hunter uses Sutori for teaching. It seems that the only way to embed Sutori content is to activate an iframe plugin.

https://help.sutori.com/en/article/how-do-i-embed-a-story-into-wordpress-zzwr13/

I think the answer is no, but just wanted to check if the iframe plugin (https://wordpress.org/plugins/iframe/) would be possible on the Commons.

Or is there another solution? This request is from Abigail Torres, at Hunter's Center from Online Learning.


Related issues

Related to CUNY Academic Commons - Feature #11036: Voicethread embed supportResolvedRaymond Hoh2019-02-02

Actions
Actions #1

Updated by Raymond Hoh almost 6 years ago

Hi Scott,

We would not allow the Iframe plugin due to security concerns. However, we might be able to write a small plugin to deal with Sutori content.

If we decide to write a plugin, do we write a shortcode plugin or a Gutenberg plugin? A shortcode plugin would be relatively easy to write. A Gutenberg Embed block would require a bit more dev time.

As mentioned on the Sutori help article, Hunter can always link directly to their content for now.

Actions #2

Updated by Raymond Hoh almost 6 years ago

Actions #3

Updated by Boone Gorges almost 6 years ago

  • Tracker changed from Support to Feature
Actions #4

Updated by Boone Gorges almost 6 years ago

  • Target version set to 1.14.6
Actions #5

Updated by Boone Gorges almost 6 years ago

For this and the related tickets, let's create shortcode and/or embed handlers. (Embed handlers make sense when the provider has oEmbed support, or when the iframe doesn't really need any user-customizable options, like height/width.) See https://github.com/cuny-academic-commons/cac/blob/1.14.x/wp-content/mu-plugins/assets/embeds.php, https://github.com/cuny-academic-commons/cac/blob/1.14.x/wp-content/mu-plugins/assets/shortcodes.php In cases where it's supported on wordpress.com, check to see if we can steal from Jetpack.

Actions #6

Updated by Raymond Hoh almost 6 years ago

  • Status changed from New to Staged for Production Release
  • Assignee set to Raymond Hoh

I have added Sutori support as an embed handler. (Reference - https://github.com/cuny-academic-commons/cac/commit/a099bcf04a2a31fa43ebe1270e12e1f08ee39206)

This means when using the Classic Editor, you can paste a Sutori URL on its own line:

eg.

My content

https://www.sutori.com/story/prehistory-and-human-evolution--5BVh1ozQfZe9yUgarPLYewJ4/

And this will embed properly.

For Gutenberg, embed handler support is currently not implemented. Let's keep an eye on the following WordPress ticket, which will address the problem for WP 5.2:
https://core.trac.wordpress.org/ticket/45447

Actions #7

Updated by Boone Gorges almost 6 years ago

  • Status changed from Staged for Production Release to Resolved
Actions

Also available in: Atom PDF