Thursday, June 5, 2014

Youtube video gallery

Demo:http://flipit.im/showcases

modules used:
colorbox
Video Embed Field

Installation:
------------
1. Download and unpack the Libraries module directory in your modules folder
(this will usually be "sites/all/modules/").
Link: http://drupal.org/project/libraries
2. Download and unpack the Colorbox module directory in your modules folder
(this will usually be "sites/all/modules/").
3. Download and unpack the Colorbox plugin in "sites/all/libraries".
Make sure the path to the plugin file becomes:
"sites/all/libraries/colorbox/jquery.colorbox-min.js"
Link: https://github.com/jackmoore/colorbox/archive/1.x.zip
Drush users can use the command "drush colorbox-plugin".
4. Go to "Administer" -> "Modules" and enable the Colorbox module.


Make a view of your content type

and in manage fields of your content type select thumbnail preveiw with colorbox

When adding videos just enter youtube video url on Video Embed Field like https://www.youtube.com/watch?v=2DfmD6R-dt0

No comments:

Post a Comment