Hi travis,
Congratulation for this great module.. that s exactly what i was searchin for.
I have actually a problem... i enabled flashvideo settings for blog content, as well as page content,
and defined the same parameter for each one. The problem, is that the "Video Upload" does not appear in the blog content creation node, but it appears in the "page" content creation node.
I havn't any error when creating a new blog entry...
When creating a page entry, the title "Video upload" appears in 1st position as describe in the -10 weight i set up.
Do you have an idea where it could come from ?
For pages, the modules, cron jobs converting the avi file, works great, and display nicely in the page nodes...
Just the blog problem, and it s exactly the node type i am using.
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | flashvideo.module.patch | 55.39 KB | awidarto |
Comments
Comment #1
travist commentedI didn't test it on the blog node type before releasing. I will run some tests over the course of next week and see if I can figure out whats going on.
Glad to hear you got it working on the page node type...
Thanks,
Travis T.
Comment #2
travist commentedI have tested this module on Blog content types, and it seems to be working for me. I guess I will need some more information regarding what version of Drupal you are using, etc...
Thanks,
Travis T.
Comment #3
borniol commentedThanks travis for your help
Here is some additionnal information about my site :
using drupal 5.1
- falshvideo 1.2 enabled
- DB Maintenance 5.x-1.1 enabled
- Blog API 5.1 is disabled
- Upload 5.1 enabled
- Javascript tools 5-x.0-3 with Collapsiblock & Activeedit enabled
- Autosave 5.x-1.1 enabled
- TyniMCE 5.x-1.x-dev enabled
- Video HEAD (i tested some days ago the video module, but do not use it anymore...)
Could it comes from french locales i enabled ? blog entry is named "billet de blogue"...
I enabled slideshow content for blog entries. I removed this option but it s the same, it does not display
i tested flashvideo on page and story content, and it works fine. Not lucky, because i want to use for the users only blog content.
If you need more information, contact me on admin@pochpower.org, i could then create you an administrative account on my web site.
Thanks Travis for your support.
Comment #4
borniol commentedAny idea with the information i submitted ?
Comment #5
travist commentedThat's interesting... I am thinking that the foriegn language thing might have something to do with it. I will probably have to check out your site and see for myself. One thing that I might want you to do for me is to show me your all the 'flashvideo_' variables in the variable table of your Drupal database. Basically the information that I need is what it is claiming to be the name of these variables...for example in the variable table of my database, I have a variable called 'page_flashvideo_ffmpeg_path' as the variable for my Page node type.... What I will probably have to do to fix this issue is just use the node type ID as the prefix for these variable instead of the name.... this shouldn't be very hard to do, but will kill some reverse compatability for this module....
Please let me know what you find out...
Thanks,
Travis.
Comment #6
travist commentedTry the new release and see if this fixes your problem...
Thanks,
Travis T.
Comment #7
borniol commentedHi travis,
Thanks for your support. I tested the 5.X-3 flashvideo version, after uninstalling the 5.x-2 version. But it still the same problem.
I could not see the upload video when editing a blog entry.
If it comes from the french locale, blog is translated as "billet" and the text description is "billet de blogue"
I extracted all the flashvideo variables regarding blog entry... and here is what i have in the variable table.
billet_flashvideo_enable i:1;
billet_flashvideo_require i:0;
billet_flashvideo_upload_title s:12:"Video Upload";
billet_flashvideo_weight s:1:"5";
billet_flashvideo_player_download i:0;
billet_flashvideo_attachment_links i:0;
billet_flashvideo_search_thumbnails i:0;
billet_flashvideo_search_video i:0;
billet_flashvideo_use_ffmpeg_php i:0;
billet_flashvideo_ffmpeg_path s:15:"/usr/bin/ffmpeg";
billet_flashvideo_output_dir s:24:"/files/slideshow/videos/";
billet_flashvideo_flash_player s:10:"Player.swf";
billet_flashvideo_thumbnail_size s:7:"130x100";
billet_flashvideo_thumbnail_time s:8:"00:00:02";
billet_flashvideo_max_num_failures s:1:"5";
page_flashvideo_enable i:0;
page_flashvideo_require i:0;
If you need that i attach or send you all the variable table in a mysql export file... it could be possible. Else contact me directly by mail at admin@pochpower.org and i will give you access to the server (shell or whatever stuff you need).
Else you can contact me with instant messaging at tony.oger@gmail.com, so we can debug php code, because i m not an expert
Thanks for your support.
Comment #8
kenwen commentedI have the same problem and so far have only been able to activate FV on pages.
This is a GREAT module though! Once I get it working properly will be having a lot of fun with this, mucho appluse to Travis for writing it
Comment #9
awidarto commentedI use plain vanilla version 5.1, default english language, newest release
aside from FlashVideo, additional modules are contemplate and easyfilter.
flashVideo version is 5.x-1.5 ( downloaded yesterday , March 21, 2007 )
the problem is still there, Video Upload does not show up on Blog content type.
Any lead on where to look for the bug ? I'm pretty much new to Drupal development, but enough PHP experience, I might help with debugging... :)
I might test or maybe extend this wonderful module to be able to work with Blog API modules too... post the result later :)
However , Great work !!
Comment #10
awidarto commentedGuys,
here's the error that make FlashVideo upload doesn't appear on blog entry form :
it should be :
The link generator should use $type->type instead of $type->name, otherwise it will setup all the wrong content type, as $type->name refer to human readable name of the content type, not machine readable. What happening now is that blog module uses different name for these two field/properties i.e : "Blog Entry" & "blog", so the FlashVideo module keep setting up "blog_entry" content type which is actually not exist, while real blog entry uses "/node/add/blog" whenever we add new blog entry. So it will never match.
I tested using CCK and it worked fine, not tested with different languange setting though.
the patched flashvideo.module attached.
Cheers
Comment #11
travist commentedAgain, Thank you so much!!! I will release a new version of FlashVideo as soon as I get the chance with this new fix.
Comment #12
travist commentedFixed in version 1.6! Thanks awidarto!
Comment #13
(not verified) commentedComment #14
joessoft commentedversion 6.2
Shows up in forums and works fine.. but the field to upload/attach, no matter what I have tried, does not appear in blogs.
http://www.patriotsrevolt.com
best
Comment #15
joessoft commentedJust read.. thanks.. will see if this fixes..
Comment #16
joessoft commentedIt's already there: