c3d2-web/content/static/candy/plugins/inline-videos
2015-07-22 01:01:23 +02:00
..
candy.js candy 2.0 + plugins 2015-07-22 01:01:23 +02:00
README.md candy 2.0 + plugins 2015-07-22 01:01:23 +02:00

Inline Videos Plugin

If a user posts a URL to a youtube video, that video gets rendered directly inside of Candy.

Usage

Include the JavaScript file:

<script type="text/javascript" src="path_to_plugins/inline-videos/candy.js"></script>

Call its init() method after Candy has been initialized:

Candy.init('/http-bind/');

CandyShop.InlineVideos.init();

Candy.Core.connect();