The modules I am using:
Views (6.x-2.11)
SWF Tools (6.x-3.0-beta4) ... configured to use the JW Media Player 4
Shadowbox (6.x-4.2)

Goal: Ultimately, to have an image link to and open an FLV (located on a remote server) using Shadowbox (or any lightbox for that matter).

The link is stored in a CCK text field "Flash (field_video_path_flash)" and I'm using Views/SWF Tools (with a "story_video" profile) to output fields from a node. I can't quite connect the dots between opening a SWFTools-profile video with a lightbox.

I want to be able to have the flexiblity of passing the video's width/height, as well as specify the "profile" (SWF Tools) at the same time.

Comments

naero’s picture

Project: SWF Tools » Shadowbox
Version: 6.x-3.0-beta4 » 6.x-4.2
Component: SWF Tools » Code

Moved this to the Shadowbox queue, since I think the issue has more to do with how to structure the "call" to the video.

hluna’s picture

Category: support » bug

Hi, maybe this help, i was able to create an output of a view with an image (formated on image cache), this image opens a flv video on shadowbox (with jwplayer), i only can pass the width/height to shadowbox once, take a look at http://www.noticiasnet.mx/portal/

naero’s picture

hluna, thanks for your reply.

Yes, that is very similar to what I'm trying to do, but I'm looking to link to the video, using Shadowbox, but dynamically the Flash video using code like this:


[swf="http://www.url.to.file.com/whatever.flv" width="320" height=" .....

... or ... code like this:

<?php
print swf('http://www.url.to.file.com/whatever.flv',
          array(
            'params' => array('width' => '$width', 'height' => '300'),
            'othervars' => array('profile' => 'story_video'),
          )
        );
?>

Notice the code:

            'othervars' => array('profile' => 'story_video'),

This is where the SWF Tools profile comes into play. More info on comments 14 & 15 here.

manfer’s picture

Category: bug » support