I'm having a strange issue where I can display images in Shadowbox just fine but flv videos aren't doing anything at all. I've looked at the demo page (http://whyusedrupal.com/showcase) and have noticed that the settings line includes a path to the flv player.

jQuery.extend(Drupal.settings, { ... ... { "flv_player": "/sites/all/modules/contrib/shadowbox/shadowbox/flvplayer.swf", ... ... }

The site I'm working on, however, doesn't have this in the settings line. And I can't for the life of me find any place to specify the path in the module.

I've tried manually creating links to the player.swf file in various places that I've seen mentioned and have even tried changing /sites/all/plugins/shadowbox/players/shadowbox-flv.js to point directly to it. No joy.

I'm stumped. Anybody have any ideas?

Comments

anthonyvz’s picture

Could be the same problem I'm having ...

http://drupal.org/node/656420

EDIT: Adding a "/" to beginning of all the ' S.path+"SOME_PATH_HERE" ' seems to fix the "swfobject is not defined" error, however, now all I get is a blank shadowbox window when I click the link...

lorenlang’s picture

Thanks for the heads-up. I'm now getting the same result you are. I get the modal overlay but an empty player box. And it's not centered, it's pushed over to the right. Kinda odd. Still digging into the missing player info.

psynaptic’s picture

Status: Active » Closed (works as designed)

I vaguely remember something about flv_player being removed from Shadowbox itself. Setting to by design until it is shown this module is at fault.