Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Latest commit

 

History

History

inline-videos

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Inline Videos Plugin

If a user posts a URL to a Youtube, Dailymotion, Vine or Vimeo 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>
<link rel="stylesheet" type="text/css" href="candyshop/inline-videos/candy.css" />

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

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

CandyShop.InlineVideos.init();

Candy.Core.connect();