Due to the code output JS for page loaded only, content that are dynamically loaded/generated will not have the FitVids working on them. Example are content loaded via ajax or popup.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | fitvid-dynamic_content-1570516-4.patch | 924 bytes | ckng |
| #1 | fitvid-dynamic_content-1570516-0.patch | 822 bytes | ckng |
Comments
Comment #1
ckngAttached patch a quick fix to wrap the js code inside Drupal.behaviors.
Comment #2
derekahmedzai commentedThanks - does that solve the ajax/popup issue?
Comment #3
ckngOf course. ;-)
Comment #4
ckngJust noticed I missed something.
Added the context to selector.
Comment #5
derekahmedzai commentedA new release should be visible soon... thanks for the patch.
Comment #6
gurvan commentedThx for this patch, really useful when we work with exposed filters.
But... this is not working with this module : http://drupal.org/project/views_infinite_scroll :-(
But you're here guys !!!
thx in advance ;-)
Comment #7
derekahmedzai commentedHmm, sounds like it's related to this http://drupal.org/node/1116146 - will have a look.
Comment #8
ckngDon't hijack the issue :)
Please create a new one.
Have a quick look, based on the comments, it seems views_infinite_scroll will need some special treatment. So not really related to this issue.
Comment #9
derekahmedzai commented