I installed the module and it worked great over "Page" node types. Then I enabled it for "Classified Ad" module and it doesnt seem to show the video attach menu in classified ad node type. Digging through the problem i've found..
If node name and node type are different, the flash module fails to attach to the node form. For example: it will work fine if node name is "Page" and node type is "page". But it will not work if node name is "Classified Ads" and node type is "ed_classified".
To solve the problem, when i browsed the flashvideo.module code, I see that its always using node name (and not node type). Instead of using node_get_types() type->name , I started using node_get_types() type->type and finally i got it working on my side.
I would like the module developers to verify if I did it correctly or please correct me if im wrong. Because im not a proffesional developer of drupal modules.
Thanks
Comments
Comment #1
travist commentedYou have just solved the most elusive bug to date for my module. I owe you a big one! When I get a chance to really look into what you have done, I will release a new version of FlashVideo with this fix, which should put to rest all major issues with this module. Thanks again!
Comment #2
travist commentedComment #3
travist commentedFixed in version 1.6! Thanks adnanshareef!
Comment #4
(not verified) commented