drupal-6


Lightbox2 and youtube videos


I'm looking for an example by which I can understand how to can I open a youtube video in lightbox2 in drupal.
Any type of help is appreciated.
Thanks
You can do it easily with these modules (for Druplal 7)
Media
Media Video Embed
Colorbox
Embedded Media Field
Media Colorbox
Maybe some more, such as requirements, but with those modules you can get the job done. You must install all of these module. The colorbox module needs the jquery.colorbox-min.js plugin.
What you do is this:
enable "colorbox load" of the colorbox config
create a new field for your content-type with an "embedded video" field
in the display setting for the field, choose "thumbnail with colorbox" of something to that effect
if it's not working then your missing a module or js plugin, or something is ill-configed, or you need to wait for the Media Internet field to fetch the thumbnail
Oh, here's an example: http://sunumusic.com/videos
You can achieve this by using the rel attribute.
<a href='http://path/to/your/youtube/vid' rel='lightframe'><img src='/path/to/video/thumbnail.jpg' /></a>

Related Links

need to pipe between menu items in drupal (non-css)
Drupal multisite setup
transferring drupal site from localhost to live server
drupal 6 : node.tpl.php $links variable, where to configure the content?
Drupal: Create menu item for a view
How to render block programmatically with standard theme
Login to drupal
Apache Solr search index problem
drupal database backup [closed]
Drupal url alias and views and clear urls for taxonomy issues
Drupal 6: How do you print Taxonomy Terms as a CSS Body Class?
Drupal cck checkbox with global setting
How to update Customer Information messages in Drupal :: Ubercart
Hide username and date in Drupal page
How to add custom blocks in drupal?
Imagefield Crop – use existing file [closed]

Categories

HOME
xamarin
amazon-ec2
magnific-popup
single-sign-on
kde
tinymce
read-eval-print-loop
echarts
convolution
iggrid
gnupg
communication
quickbooks
zend-framework3
leiningen
uitypeeditor
serilog
excel-vba-mac
custom-wordpress-pages
graphicsmagick
kudan
xpages-ssjs
cas
fabric8
key-value-observing
contact-form
protovis
phpfreechat
textmate
xmlreader
language-concepts
atl
normal-distribution
force-layout
devextreme
dosbox
hot-module-replacement
abstract-class
jna
ncalc
gulp-sourcemaps
powershell-dsc
vao
menuitem
xml-documentation
jquery-validate
idisposable
aurelia-validation
nstextview
jxcore
sqlclient
nsarray
smart-table
angular-cache
xml-attribute
autorest
pagedlist
superstack
oauth2client
unity-networking
thredds
intellij-14
comobject
muse
sframe
method-parameters
composite
qpainter
rdl
zend-route
xojo
eol
rebol3
system.net.webexception
valuechangelistener
centos5
industrial
quartz-graphics
back-stack
spring-validator
flashvars
ocunit
gnustep
qt-jambi
propagation
sql-server-profiler
visitor-statistic
digest-authentication
gamma
ext3
backcolor
text-coloring
multiple-languages
ntvdm.exe

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App