• MODX.com

    49 downloads

noembed

noembed is an extra by matdave, first released on 2018-05-31.

Package Description

Use this as a snippet or output modifier to quickly turn links into embeds.

Usage/Installation Instructions

The noembed Snippet / Output Modifier can be used as an output modifier for placeholders or as a stand alone snippet with provided &link=``

[[noembed?link=`http://www.youtube.com/watch?v=bDOYN-6gdRE`]]

Or

[[+video:noembed]]

By default noembed just outputs an iframe of your video, but you can customize it further by passing either &tpl=`yourtpl`or by passing a tpl name to the output modifier's options

[[+video:noembed=`yourtpl`]]

The tpl will give you the following placeholders:

PlaceholderDescription[[+width]](int) Width of the returned resource[[+author_name]]The name of the author/owner of the resource.[[+author_url]]A URL for the author/owner of the resource.[[+version]]The noembed version number.[[+provider_url]]The url of the resource provider.[[+provider_name]]The name of the resource provider.[[+thumbnail_width]](int) Thumbnail width[[+thumbnail_url]]URL to default thumbnail[[+height]](int) Height of the returned resource[[+thumbnail_height]](int) Thumbnail height[[+html]]Resource iframe embed (default output)[[+url]]URL to the resource (default output if no html)[[+type]]The resource type (photo, video, link, rich)[[+title]]A text title, describing the resource.

To learn more about noembed visit https://noembed.com/

Details

Developer(s)
matdave
Released
2018-05-31
First seen
2018-05-31
License
MIT
Supported databases
MySQL
Minimum MODX Requirement
2.5

noembed Releases

Vendor Signature Released on
MODX.com 1.0.0-pl 2018-05-31 (3 months ago)