I'm using the Media module version 7.x-1.0-beta5 and media_vimeo 7.x-1.0-beta3. The embedded video formatter isn't working. It shows a regular link to the vimeo page, not the embedded flash player.
I started to track it down, but I haven't actually found the crux of the issue yet. So I'll share what I've found so far.
If I go to "Manage Displays" and fumble around the display settings for "Format", it lists "Defaults" and a bunch of stuff related to the image field I have enabled. But no choices for embedded vimeo.
I was looking at the media module's file_view_file function. By line 188, the file_displays stuff should all be sorted out and we should have a Display available for this. Instead, $displays is an empty array.
I haven't figured out why that is yet. Probably some api change between media betaX and beta5.
Comments
Comment #1
Frederic wbase commentedbump
Comment #2
queenvictoria commentedI think you'll find if you select `large` in `manage displays` you might get what you want. You can look at what each of the display types are doing here. By default it looks like `preview` and `large` are the two that implement vimeo displays. I'm looking for another option–a thumbnail linked to the vimeo page. let me know if you find that.
admin/config/media/file-types/manage/video/file-display/media_large
ps: i'm using dev
Comment #3
galaxor commentedAha. Yes, I went to admin/config/media/file-types/manage/video/file-display and found out that no displays were "enabled". I enabled "vimeo video" and now we are lookin' good.
Is this step in the documentation and I missed it? Maybe I forgot to RTFM altogether. It's certainly not obvious or intuitive.
Comment #4
drupalninja99 commentedSo I found those settings which are buried and I thought I would be good. But I still don't have any formatters on the display fields page of my video content type, all I have is 'media' as my option. Shouldn't have some of these formatters under manage display? Right now on my node detail page nothing shows up.
Comment #5
kreynen commentedTwo things:
1) While no longer a dependency of the Media module, you need File Styles and Styles UI http://drupal.org/project/styles for those options.
2) If you are using the dev snapshot of the Media module, you should also be using the dev version of the provider modules. At least the ones I'm involved in. I'm trying to keep the releases in sync with Media.
Comment #6
drupalninja99 commentedExcellent! I didn't realize I needed styles, thanks!
Comment #7
ziadvictor commentedThanks!
you saved my day
Comment #8
jessepinho commentedI was able to do this without Styles. @ziadvictor, I'm guessing this refers to an older version of Media: Vimeo. PM me if you need help.