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

drupal6 hook_order($op, &$arg1, $arg2) the third argument is alway coming empty
drupal 6: write to 2 different tables for user account registration form
Drupal 6: How to use form_set_error on specific cell when using tablefield module
Multiple location in single GMAP
Drupal 6 site not displaying image links
How to display a calendar in Drupal?
Drupal 6 - Passing variable between functions specifically - Passing menu name to phptemplate_menu_item
What procedure does default form submit button handler follow?
wamp reinstall - how to replace new files with old files
URL based breadcrumbs display
How to remove the duplicate items from the Taxonomy terms view in Drupal-6?
Changing Drupal module template doesn't take effect
How to show list of custom objects in a page in Drupal
Some cck fields not turning into HTML
Drupal 6 Registration Password Field Missing
Drupal 6 To 7 Migration

Categories

HOME
winforms
hive
mediawiki
fluentd
push-notification
tinymce
iterator
stock
relayjs
spagobi
dxl
jpeg
retrofit
angular-ui-bootstrap
gnupg
row
qt-creator
nstableview
google-cloud-spanner
dynamics-crm-online
jsprit
foselasticabundle
highlight.js
fatal-error
contextmenu
nodatime
reverse-proxy
opencover
kudan
autosys
icloud-api
vlsi
pepper
webkitspeechrecognition
subdomains
react-chartjs
catel
textmate
http-referer
atl
overriding
bitbucket-pipelines
multilingual
neuroscience
leading-zero
particles.js
ruby-on-rails-3.1
sql-server-agent
google-closure
arena-simulation
long-polling
user-accounts
chain-builder
qsslsocket
titanium-android
or-tools
gnome-shell-extensions
time-and-attendance
ableton-live
dstu2-fhir
merge-conflict-resolution
impresspages
fputcsv
lua-5.1
testng-dataprovider
sdf
cloudbees
energy
jfugue
collapse
jmeter-maven-plugin
map-projections
sankey-diagram
npapi
nstableviewcell
knuth
contenttype
jquery-layout
didselectrowatindexpath
monomac
ivyde
ms-project-server-2010
soundtouch
django-nonrel
sabredav
dice
gnu-prolog
vdsp
file-comparison
asp.net-mvc-areas
web-application-design
icanhaz.js
rescale
memory-size
backcolor

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App