<commit_before># Iframely plugin for Redactor

## About

This is a plugin for [Imperavi's Redactor](http://imperavi.com/redactor) editor that allows rich media and image embeds via oEmbed with default API at [Iframely](http://iframely.com) endpoint. 

The plugin recognizes the http links in editor as the user types it and grabs embeds on the fly.

You can either [self-host](https://github.com/itteco/iframely) Iframely, or get the API Key from the [hosted version](http://iframely.com). As a bonus of hosted version, Iframely also gives the responsive embed codes for over 1500 domains.

## Demo

Please, see demo at [http://itteco.github.io/redactor-oembed/](http://itteco.github.io/redactor-oembed/)

## Sample & Config

Example plugin setup configuration (except usual things):

    <!-- Setup iframely redactor plugin. -->
    <script src="redactor_iframely_plugin.js"></script>

    <!-- Call Redactor --><commit_msg>update doc<commit_after># Iframely plugin for Redactor

## About

This is a plugin for [Imperavi's Redactor](http://imperavi.com/redactor) editor that allows rich media and image embeds via oEmbed with default API at [Iframely](http://iframely.com) endpoint. 

The plugin recognizes the http links in editor as the user types it and grabs embeds on the fly.

Also there is 'Embed' button in the toolbar to open the dialog with url input and embed preview.

You can either [self-host](https://github.com/itteco/iframely) Iframely, or get the API Key from the [hosted version](http://iframely.com). As a bonus of hosted version, Iframely also gives the responsive embed codes for over 1500 domains.

## Demo

Please, see demo at [http://itteco.github.io/redactor-oembed/](http://itteco.github.io/redactor-oembed/)

## Sample & Config

Example plugin setup configuration (except usual things):

    <!-- Setup iframely redactor plugin. -->
    <script src="redactor_iframely_plugin.js"></script>

    <!-- Call Redactor -->
{'fraction_non_alphanumeric': 0.106426735218509, 'fraction_numerical': 0.004113110539845758, 'mean_word_length': 4.175531914893617, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2287638', 'n_tokens_mistral': 592, 'n_tokens_neox': 564, 'n_words': 223}