Hi all,

Coming from a working "media" enviroment (7.x-2.0-unstable6), I've just made the following upgrades:

  1. MEDIA to latest 7.x-2.0-unstable7,
  2. MEDIA_YOUTUBE to latest 7.x-2.x-dev,
  3. MEDIA_VIMEO to latest 7.x-2.x-dev
  4. DRUPAL core to latest 7.17

And now, only for Vimeo video, I can't add video from vimeo url (see screnshot in attachment)

I'm missing something?

Thank you very much

CommentFileSizeAuthor
vimeo-error.png39.01 KBmxt

Comments

netrics’s picture

I'm getting the same issue but for the Youtube (on rc1, not dev). I think this bug is related to the recent changes to the latest File Entity module, that or the Media module. It just seem to ironic for this same bug to be occurring across most external asset media modules.

peteruithoven’s picture

Priority: Normal » Major

After quite some searching I found out that somehow the mimetype isn't added.
Running the following once fixes the problem:

$video_type = file_type_load('video');
$video_type->mimetypes[] = 'video/vimeo';
// maybe also add stream if is not there already?
file_type_save($video_type);

I got this from media:youtube's install:

/**
* Update Media YouTube files to the new video file_entity type.
*/
function media_youtube_update_7202() {
  $video_type = file_type_load('video');
  $video_type->mimetypes[] = 'video/youtube';
  // maybe also add stream if is not there already?
  file_type_save($video_type);

  // Update existing files
  db_query("UPDATE {file_managed} SET type = 'video' WHERE type = 'undefined' AND filemime = 'video/youtube'");
}
esbon’s picture

Thank you, this fixed the same problem I was having. Does anybody know why the vimeo movie can only be seed by the admin and not anonymous user? The movie opens and shrinks to a small window and does not play

peteruithoven’s picture

Hi esbon,

Maybe you could start a seperate issue for that?

esbon’s picture

Thanks for posting the above solution

threadsniper’s picture

The above does not fix the issue for me. It is resolved in the YouTube module, but not here...any further guidance?

peteruithoven’s picture

Quite possibly you could add "video/vimeo" to the mimetypes of video trough the following form as well:
admin/structure/file-types/manage/video/edit

ParisLiakos’s picture

Status: Active » Closed (duplicate)

this is a duplicate of this #1823078: Create video/vimeo mimetype