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
Comment #1
ncy commentedsorry, 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
Comment #2
stella commentedMaybe 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?
Comment #3
AlexisWilke commentedTry putting the url() back in and let us know whether that works again... 8-)
Comment #4
stella commentedComment #5
ncy commentedah 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