Closed (fixed)
Project:
Video
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
13 Feb 2008 at 06:11 UTC
Updated:
20 Mar 2008 at 04:51 UTC
I just upgraded from 5.x-1.x-dev 2007-08-10 to 2008-02-13. Following this all my video nodes no longer contained the video display part. All the other info (title, #plays, size, duration, etc.) was displayed. But no window with the video, play button, etc. There were no corresponding items in the log. Any thoughts?
(I've since reverted to the previous version and everything is working fine.)
Comments
Comment #1
fax8 commentedsee http://drupal.org/node/220929
Comment #2
dshaw commentedAs 220929 has been closed and I still have a problem, I'm re-opening this one.
I followed the detailed steps (from 220929) including the latest patch. The contents of the database at the end look ok. I've got values for vtype of 'upload' and 'youtube'. I've enabled several video modules (including params, upload, youtube, custom fields, url). But unfortunately, no joy. I get "Video type not supported" errors and when I edit the video nodes, only two fields appears under "Video Information" and one under "HTML object parameters". No other fields are present to help me manage settings like file size and so on.
Comment #3
fax8 commentedSeems that the value of the video_fid serialized data has been loaded as NULL. This is causing your issue. Would you please post the result of these queries?
Comment #4
dshaw commentedQuery results:
A) 73 273 files/video/FSoT.flv 480 360 11830151 1 211 0 0 0 233 0 0 a:1:{s:9:"video_fid";N;} upload
B) nil
C) nil
Comment #5
fax8 commentedcan you try:
SELECT * FROM files WHERE filepath='files/video/FSoT.flv'Comment #6
dshaw commentedResult: nil
Now that I think about it, I think the reason for this is that these files were "uploaded" via ftp. That is, because they're so large, ie. >50MB, we ftp'ed them to the server, moved them into the files directory tree and then created video nodes for them. So they weren't "uploaded" through Drupal. So they presumably therefore don't have entries in the "files" table.
This makes me wonder if perhaps they shouldn't have a different vtype?
Any other thoughts?
Comment #7
fax8 commentedsure.. a vtype="upload" means that the files where uploaded using drupal's uploading infrastructure. If you used ftp you should insert "url" as vtype.
Fabio
Comment #8
dshaw commentedOK. That's an improvement. I can now watch my url-based and youtube-based videos.
However, when I go to edit them, I don't see any of the parameters I used to see. There's only the URL for the file or the youtube video. The size, duration, etc. are all missing. How do I get them back?
Comment #9
vhmauery commentedFor youtube and google videos, the size and file length should be determined automatically via a XML API.
Comment #10
dshaw commentedFair enough for the youtube video. But what about my URL videos? I remember entering size, duration, and so on for them. Now I can't see, let alone edit, that information. Similarly when I go to create a new video, I don't get the opportunity to add that information. Is that the way things are now? Or is something broken somewhere?
Comment #11
fax8 commentedThe idea for the file size and duration of the new code was to follow the approach used now for the resolution stuff.
Now video types which can automatically get the resolution doesn't ask it to the user, while video types who can't ask it to the user.
The same approach will be followed on the size and duration.. but this is still a work in progress and I'm working on this right now.
Fabio
Comment #12
fax8 commentedJust committed the code to enable again the playtime informations.
Comment #13
dshaw commentedSo I have to enter the video type first? That is, if I picked a media type where this info can't be extracted from it, then more form fields would appear?
Comment #14
fax8 commentedVideo module currently have 4 video types: youtube, google video, upload, url.
With the most recent -dev version (yesterday) it support automatic playtime info from youtube and upload+ffmpeg_helper.
Other video types will display a field for inserting the playtime (hh, mm, ss).
Comment #15
dshaw commentedMuch better! The latest dev version now seems to have the same level of functionality as 5.x-1.x-dev 2007-08-10. Thanks for all the help.
Comment #16
fax8 commentedsetting this as fixed. Feel free to reopen if you still have problems.
Comment #17
jorisx commentedYES !! Thanx for the fix !
I went to the update.php and selected "update #1" from the video module ...
although it gave lot's of errors, it went trough update #1 to #9
and now all my video's are playing again !
super sweet !
Comment #18
fax8 commentedwell.. I'm happy for this but.. it shouldn't give you errors..
Can you please post them? I want to be sure that nothing bad is happening underway..
Comment #19
fax8 commentedOps.. understand.. if you have selected to update from schema #1 it obviously will give you errors when trying to update an already updated table.
Comment #20
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.