Okay
  Public Ticket #800565
Adding video fails
Closed

Comments

  • Phil started the conversation

    I'm trying to add a video (HTML5 type) to my gallery on Drupal 7 using Plugin version 1.6.7 b2 but every time I try I get the following error:

    SQLSTATE[HY000]: General error: 1364 Field 'imageid' doesn't have a default value

    I'm adding mp4, webm and ogv versions and a preview image from my own site at /sites/default/files and it's finding the image and generating a thumbnail in the expected places. Is this a bug or am I doing something wrong?

    Update: I tried uploading the video to Vimeo and adding it from there instead and I get the same result. Everything looks fine until I press "Add Video" then I get this error. There's a spinning "Adding Item..." indicator at the bottom left that never resolves. Also tried different browsers, a different web site (also Drupal 7), different videos...wasted a lot of time, help would be appreciated.

  •   Max replied privately
  • Phil replied

    Thanks but I get a 404 error:

    That file isn’t here anymore 
    Someone might’ve deleted the file or disabled the link.

  •   Max replied privately
  • Phil replied

    The new download link worked and the release log shows "fixed mysql_error issue" and the version now shows "Plugin verson 1.7.12 b2" but the problem is still there I'm afraid. I tried clearing the cache and using an incognito window in case it was remembering the old session or something.

  •   Max replied privately
  •   Phil replied privately
  •   Max replied privately
  •   Phil replied privately
  •   Max replied privately
  •   Phil replied privately
  •   Max replied privately
  •   Phil replied privately
  •   Phil replied privately
  •   Phil replied privately
  •   Max replied privately
  •   Max replied privately
  •   Phil replied privately
  •   Max replied privately
  • Phil replied

    So far it seems to be working, thank you very much.

    For self-hosted videos, would it be possible to make the ogv version optional? I think mp4 and webm is enough these days.

  •  82
    Max replied

    HI. In this version it should be already optional. Please check (I did it in wp version, and copied it ti drupal version. This change should be there too. Please do ctrl+f5 to refresh js files to see the change.

  •   Phil replied privately
  •   Phil replied privately