Active
Project:
Lightbox2
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
23 May 2012 at 09:35 UTC
Updated:
12 Dec 2014 at 22:49 UTC
Jump to comment: Most recent
Comments
Comment #1
Anonymous (not verified) commentedI've hacked the module and solved my problem as following.
1.Step:
Lightbox 2 settings/ FLV Player flashvars:
config={"playlist":[{"url":"fileurlToReplace"}]}2.Step.
I edited in the file lightbox2/js/lightbox_video.js "startVideo" function.
line 18:
fileurl=href;
line 42:
variables = variables.replace(/fileurlToReplace/, fileurl);(Replacing the string "fileurlToReplace" from flashvars with "fileurl" (video url ) )
It works now.
Comment #2
pinin4fjords commentedExactly the same issue as http://drupal.org/node/369032 for D6, and fix is equivalent.
Comment #2.0
pinin4fjords commentedadded code tag