videos stopped working, but everything else seems to work fine.

in lightbox2.module on line 681, i have to get rid of the url() function in order for videos to function. is there a reason for adding the url()? 1.9 didn't have it.

my flv player path setting is:

/files/players/flvplayer.swf

old code:

    $js_settings['flvPlayer'] = url(check_plain(variable_get('lightbox2_flv_player_path', '/flvplayer.swf')));

new code:

    $js_settings['flvPlayer'] = check_plain(variable_get('lightbox2_flv_player_path', '/flvplayer.swf'));

thanks,

-n

Comments

ncy’s picture

sorry, i should've bee more descriptive. what i mean by "not working" is i just got a white box with caption, close box, and arrows for video group

stella’s picture

Status: Active » Postponed (maintainer needs more info)

Maybe try removing the leading slash instead. However I can't reproduce the issue here. What sort of video file is it? Did you run update.php after upgrading?

AlexisWilke’s picture

Status: Postponed (maintainer needs more info) » Active

Try putting the url() back in and let us know whether that works again... 8-)

stella’s picture

Status: Active » Postponed (maintainer needs more info)
ncy’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

ah yea, the leading slash was it. adding url() back in and removing the leading slash in the FLV player path fixed it!

maybe should make a note in the help text of the admin page to leave out that leading slash.

yes, i did run update.php. it is a local .flv file.

:)

thanks stella!

-n