Package: sc.embedder
ContentsLife, the Universe, and EverythingMostly HarmlessDon’t PanicInstallationUseLayoutProvidersShare and EnjoyChangelog1.5.1 (2021-01-21)1.5.0 (2019-05-07)1.5b2 (2017-10-10)1.5b1 (2017-09-20)1.4b1 (2017-09-06)1.3b1 (2017-02-20)1.2b2 (2017-01-09)1.2b1 (2016-12-16)1.1b2 (2016-04-25)1.1b1 (2016-03-24)1.0b5 (2015-11-18)1.0b4 (2015-09-03)1.0b3 (2013-07-23)1.0b2 (2012-12-03)1.0b1 (2012-11-27)1.0a3 (2012-10-04)1.0a2 (2012-09-05)1.0a1 (2012-09-05)Life, the Universe, and EverythingThis packages contains a Dexterity-based content type that allows you to
embedded content (such as photos or videos) from third parties into your Plone
site.You can easily embed content from Flickr, SlideShare, SoundCloud, Vimeo,
Wikipedia, YouTube, and many other supporting theoEmbedformat
especification.Mostly HarmlessGot an idea? Found a bug? Let us know byopening a support ticket.Don’t PanicInstallationTo enable this product in a buildout-based installation:Edit your buildout.cfg and addsc.embedderto the list of eggs to install:[buildout]...eggs=sc.embedderAfter updating the configuration you need to run ‘’bin/buildout’’, which will
take care of updating your system.Go to the ‘Site Setup’ page in a Plone site and click on the ‘Add-ons’ link.Check the box next tosc.embedder`and click the ‘Activate’ button.UseOnce the product is installed you will note that you are available to add a
Embedder content type. When you attempt to add an item you will see the
fields:Content URLDescriptionEmbed html codeWidthHeightPlayer positionBody textAlternate contentImageIn the URL field you must put the url of you content. For example:http://vimeo.com/17914974and then click theloadbutton. This will automatically populate the form
with some data from the third party content. Which fields are populated depends
on the individual provider. But in most cases the fields: title, description, width,
height and embed html fields will be filled.Note:Some providers only support width, height and title. So the fields
like description or html embed code will need to be filled manually.
This information is normally found in the page where the url points to.LayoutWithplayer positionfield you can set where the embed multimedia is going
to be render regarding the body text. You have the optionstop, bottom, left
and right.Body text will be the main information that will describe the content.Thealternate contentis to give a description or transcription to an
individual that is no able to hear. In the layout this is hidden by default.
There is a link calledalternate contentthat will show or hide again the
content of this field by clicking on it.TheImagefield is just to assign an image to the object that will give a
quick visual description of the content. The idea is to show it in listing
views or covers.ProvidersThis product usespython-oembed.
You can check its documentation to see a list of supported providers.Share and EnjoyThis package would not have been possible without the contribution of the following people:Alejandro PereiraAndré NogueiraCleber J SantosHéctor VelardeJoão S. O. BuenoJuan Pablo GiménezRodrigo Ferreira de Souzaet aliiDevelopment sponsored bySimples Consultoria.ChangelogThere’s a frood who really knows where his towel is.1.5.1 (2021-01-21)Fix error 403 on YouTube’s oEmbed endpoint (Ref.#95).
[idgserpro]1.5.0 (2019-05-07)Allows Embedder content to be linkcable in TinyMCE.
[idgserpro]Addcssselectas pakage dependency.
[idgserpro]1.5b2 (2017-10-10)Code clean up;
enforce usage of Products.PortalTransforms >=2.1.10 as<iframe>must be listed as a valid tag.
[hvelarde]Remove hard dependency on collective.dexteritytextindexer.
[hvelarde]UpdateSearchableTextindex for Embedder objects.
[hvelarde]1.5b1 (2017-09-20)Fix i18n and update Brazilian Portuguese and Spanish translations.
[rafahela, hvelarde]SearchableTextindex for Embedder content type now includes object id and keywords.
[hvelarde]Remove dependency on collective.dexteritytextindexer.
[hvelarde]1.4b1 (2017-09-06)Add Related Items behavior to Embedder content type by default (closes#80).
[hvelarde]Add Embedder to TinyMCE’s list of linkable content types (closes#79).
[hvelarde]Remove hard dependency on Products.TinyMCE.
[hvelarde]Drop support for Plone 4.2.
[hvelarde]1.3b1 (2017-02-20)Use semantic markup on the Embedder view (for simplicity, we are usingWebPagetype).
[hvelarde]Remove references to Grok’swdictionary used on the view template (fixes#72).
[rodfersou]1.2b2 (2017-01-09)Update list of package dependencies.
[hvelarde]Fix width validator.
[hvelarde]Remove dependency on plone.directives.form and latest traces of Grok.
[hvelarde]1.2b1 (2016-12-16)Remove dependency on five.grok (closes#63).
[rodfersou]Package is compatible with Plone 4.2 again.
[hvelarde]AvoidTypeErrorwhile running upgrade step (fixes#58).
[hvelarde]1.1b2 (2016-04-25)ImplementSubresource Integrity(closes#55).
[cleberjsantos]Sanitize <iframe> tags to avoid including invalid HTML attributes;
an upgrade step is included to clean up existing objects (closes#44).
[rodfersou, hvelarde]Update Video.js to v5.8 and load it from CDN (closes#50).
[rodfersou]1.1b1 (2016-03-24)Remove hard dependency on plone.app.referenceablebehavior as Archetypes is no longer the default framework in Plone 5.
Under Plone < 5.0 you should now explicitly add it to theeggspart of your buildout configuration to avoid issues while upgrading.
[hvelarde]Fixes issue in TinyMCE plugin when clicked in Insert button (closes#16).
[idgserpro]Fix error in TinyMCE plugin if the property icon_visibility is disabled (closes#42).
[rodfersou]1.0b5 (2015-11-18)Fix the stripping of embed code when it has more than one tag, like in Facebook videos (closes#39).
[rodfersou]Use “application/javascript” media type instead of the obsolete “text/javascript”.
[hvelarde]Remove Chrome Frame fromX-UA-CompatibleHTTP header as it’s deprecated.
[hvelarde]Allow use of percent sign (%) on width properties (closes#6).
[rodfersou, hvelarde]Added italian translation
[keul]1.0b4 (2015-09-03)Add Embedder tile for collective.cover (closes#32).
[rodfersou]Brazilian Portuguese and Spanish translations were updated.
[rodfersou, hvelarde]Add portal message instead of log info on HTTP request errors (closes#14).
[rodfersou]Add validation in URL field to avoid hiding errors when using the Load button (closes#20).
[rodfersou]Remove dependency on collective.oembed (closes#3).
[hvelarde]Drop support for Plone 4.1 and 4.2; remove dependency on unittest2.
[hvelarde]1.0b3 (2013-07-23)Fix a couple AJAX quoting/unquoting problems on the TinyMCE plugin.
[jsbueno]Add helper methods image_thumb and tag in order to be listed in
folder_summary_view [ericof]Fix an UnicodeDecodeError with our plugin for TinyMCE [ericof]1.0b2 (2012-12-03)Fix a conflict with plone.formwidget.namedfile NamedImage widget
implementation. [jpgimenez]1.0b1 (2012-11-27)Update package dependecies for Plone 4.3 compatibility. [hvelarde]Fix functional tests. [hvelarde]Rename package: was sc.content.embedder and now is sc.embedder. [hvelarde]Support for VideoJS as fallback if static file and no supported provider.
[jpgimenez]Fixed the rendering of the embedded code to not break the main view.
[jpgimenez]Allow selecting, embedding and rendering sc.embedder content into TinyMCE
widgets as if it were images. [jpgimenez]VideoJS embedder code implemented as an iframe, to simplify the integration
with TinyMCE. [jpgimenez]1.0a3 (2012-10-04)Fixed KeyError: ‘width’ when saving embeded HTML with percentages.
[davilima6]1.0a2 (2012-09-05)Functional tests were updated to run with robotframework-selenium2library.
[hvelarde]i18n was fixed and Spanish translation was updated. [hvelarde]Brazilian Portuguese translation was fixed. [agnogueira]1.0a1 (2012-09-05)Initial release.