Hi,
Since my previous request was a little confused and unclear, this is a breakdown:

When you click on the video thumbnail on Digg.com, AND if that video is from a recognised site like YouTube, what will happen is that the video will open up and play in a Thickbox -- (so you don't actually leave that page) ... (it's a very-very nice feature... worth adopting into Drigg)

[see the attached screenshot]

Thickbox module is here http://drupal.org/project/thickbox
Examples of all the goodness that can be achieved with Thickbox is here http://jquery.com/demo/thickbox/

I'm wondering if Drigg's Embeded Videos can be displayed in a Thickbox once the user clicks on the video thumbnail?

CommentFileSizeAuthor
Digg_videos_played_in_a_Thickbox.gif81.33 KBdrupalina

Comments

mercmobily’s picture

Hi,

Thickbox does seem very nice...
Trouble is, I don't know Javascript. I really need a Javascript/JQuery master to come along and help out with this. I think it's actually very possible, and in fact very easy to do - if you know Javascript.

What I don't know, is if I actually provide enough information for this to happen. That is, COULD a CSS/JQuery guru do it? I think I would need to somehow export the video ID in the HTML, so that the javascript can do that.

I am convinced this is a CSS/JQuery issue, and Drigg needs to changed very little to make it happen.
For any changes, I am here...

Merc.

drupalina’s picture

an update:
if it helps, I've been snooping around Digg.com with firebug and it appears that they're using Lightbox for that effect. Using Firebug one can actually see the precise code that is used on Digg.com.
Drupal has Lightbox module too http://drupal.org/project/lightbox2
it also provides 2 input format filters: Lightbox G2 filter (Turns g2_filter links into Lightbox.V2 appropriate links), and Lightbox filter (Image links with 'rel="lightbox"' in the <a> tag will appear in a Lightbox when clicked on.)

I'm thinking whether it would be possible to put a tag around that thumbnail or video ... and maybe get it to work that way? For anybody who knows javascript this sould be a piece of cake.

Any Javascript gurus out there if you know how to embed a YouTube video in a Thickbox or Lightbox, please write here. Please...

mercmobily’s picture

Priority: Normal » Minor
mercmobily’s picture

Status: Active » Closed (won't fix)

Hi,

This is purely a theme issue, Drupalina. There is really nothing I canchange in Drigg to facilitate this.
Will mark it as "won't fox" since it's a css/theming/personalisation issue.

HOWEVER, if you -- or anybody -- are able to get this to work, it would be great if you could write a tutorial. If the changes are minimal and _always_ work, and people vote it up, it will then become part of Drigg-distr. However, I am resistant to allow Thickbox to be a _requirement_ for Drigg...

Bye,

Merc.