Show a node (content) in a light box D7 I need to show a video in a light box on a site and am having difficulty. I thought I would create a normal page with the proper code but when I go to load the video the screen grays out then goes and loads the page but gets stuck as if it cannot do it. I also tried just creating an html file and loading it directly but it couldn't read it or failed or something. I am using fancy box and html 5 if that matters.
How would I do this? If you need more info please let me know
Thanks for any help guys

Edit:
I have tried the solution below which is what i need it just isn't quite working yet.
the url of the node is: http://fourcemag.com/homme/video and http://www.fourcemag.com/homme/video-0/video
so the last part of the url is video

This is the code:

function fource_preprocess_page(&amp;$vars) {
  $path = $_GET['q'];
  $path = drupal_get_path_alias($path, $path_language = '');
  $patharray = explode('/', $path);

  if ($patharray[2] == 'video') {
    $vars['template_files'][] = 'page--video';
  }
}


This is the error:




page--video.tpl.php 


not sure what is wrong here.
Please help
Same error as before
You will likely want to define a custom page.tpl.php for use in the lightbox so it doesnt conflict with your normal site pages where you would like sidebar content etc.

Think of having 2 differently themed versions of the same page, your traditional page and a cut down version which is only the node content area.

To do this, add a theme_preprocess_page() so it creates a unique url argument to trigger the content only display via its own tpl.php:

function YOURTHEME_preprocess_page(&amp;$vars) {
  // Get the path (eg node/#) and split it into an array ([node][#][video])
  $path = $_GET['q'];
  $path = drupal_get_path_alias($path, $path_language = '');
  $patharray = explode('/', $path);

  // If the last part of the path is "frame" use the page-content.tpl.php
  if ($patharray[2] == 'video') {
    $vars['template_files'][] = 'page--video';
  }
}


Then copy your exiting page.tpl.php into a page--video.tpl.php and trim out all the content you dont wish to see in your lightbox.

EDIT: (include details on using the video only page) In your iframe load your node page with "video" appended to the drupal url. For example "node/135/video" so it using the page--video.tpl.php

I have been using this solution to embed content from our nodes into another application and it works well. :)