I have created a gallery, added videos to it (not uploaded, but youtube links). And now this gallery always try to get a random thumbnail from it!
Of course, it cant get one, so it screws up the display.

Comments

softtouch’s picture

Title: Stupid thumbnail fiunctions... » Stupid thumbnail functions...

If I disable video_image,it stops trying to get a thumbnail, but then, how can I add manually one?

softtouch’s picture

Any support here?

vhmauery’s picture

Title: Stupid thumbnail functions... » option to regenerate video thumbnails
Project: Acidfree Albums » Video
Assigned: Unassigned » vhmauery
Category: support » feature

The latest version of Video Image from Video module grabs the thumbnail from youtube.com.

It might be possible to regenerate thumbnails in a similar method that Image module regenerates derivatives. I will try to look into it.

softtouch’s picture

I downloaded just now the latest version.
Will try it now and report back.

softtouch’s picture

Getting:

* user warning: Table 'socialnet.video' doesn't exist query: INSERT INTO video (vid, nid, vtype, vidfile, size, videox, videoy, video_bitrate, audio_bitrate, audio_sampling_rate, audio_channels, playtime_seconds, disable_multidownload, download_folder, use_play_folder, custom_field_1, custom_field_2, custom_field_3, custom_field_4, custom_field_5, custom_field_6, serialized_data) VALUES (284, 284, 'youtube', 'http://www.youtube.com/watch?v=Jek6iP6AuAQ', 0, 425, 350, 0, 0, 0, '', 0, 0, '', 0, '', '', '', '', '', '', 'a:1:{s:3:\"iid\";i:283;}') in C:\apache\htdocs\social\includes\database.mysql.inc on line 172.

* user warning: Table 'socialnet.video' doesn't exist query: SELECT * FROM video WHERE vid = 284 in C:\apache\htdocs\social\includes\database.mysql.inc on line 172.

* user warning: Table 'socialnet.video' doesn't exist query: UPDATE video SET play_counter = play_counter + 1 where vid = 284 in C:\apache\htdocs\social\includes\database.mysql.inc on line 172.

softtouch’s picture

Uninstalled it, made sure no table or anything related to "video" exist in the database, then re-installed it and it does not create the video table...

fax8’s picture

Status: Active » Postponed (maintainer needs more info)

Did it throws an DB error? (Also check in the Drupal logs..)

softtouch’s picture

Db errors in drupal log are:

Table 'socialnet.video' doesn't exist query: DELETE FROM video WHERE nid = 284 in C:\apache\htdocs\social\includes\database.mysql.inc on line 172.

Table 'socialnet.video' doesn't exist query: INSERT INTO video (vid, nid, vtype, vidfile, size, videox, videoy, video_bitrate, audio_bitrate, audio_sampling_rate, audio_channels, playtime_seconds, disable_multidownload, download_folder, use_play_folder, custom_field_1, custom_field_2, custom_field_3, custom_field_4, custom_field_5, custom_field_6, serialized_data) VALUES (284, 284, 'youtube', 'http://www.youtube.com/watch?v=Jek6iP6AuAQ', 0, 425, 350, 0, 0, 0, '', 0, 0, '', 0, '', '', '', '', '', '', 'a:1:{s:3:\"iid\";i:283;}') in C:\apache\htdocs\social\includes\database.mysql.inc on line 172.

I then checked with phpmyadmin, and no table was created.
What I then did was to create the table "by hand", which worked, but got issues with views integration (I posted another issue about it).

fax8’s picture

Yes.. sure.. if the table doesn't exists it throws errors on each CRUD operation..

I mean: did it throws error related to the creation of the video table? Why drupal video module wasn't able to create the table? This is the problem.

softtouch’s picture

No error during installation....
The error appeared after I tried to submit a video.
But thats minor for the moment, because I can manually create the table.
A bigger issue for me is the errors in the views integration, it calls functions which do not exist. I posted an issue about it.

iLLin’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)