I can't properly add a Vimeo video to my site. I've tried the old embed code, the new embed code, and the URL; all exhibit the same behavior: a file "name" (e.g. 13301021) is added, but no thumbnail is generated. After saving the content, the video does not play at all. I've tried every field display format available, and have tried tweaking those formats for Video at admin/config/media/file-types, to no avail.

YouTube videos work fine. When configuring the file display (e.g. admin/config/media/file-types/manage/video/file-display/media_original) I did notice that there is a "YouTube Video" option under "Enabled displays," but the YouTube videos worked fine without that enabled, and the Vimeo videos don't work either way.

Using Media 7.x-1.x-dev and Drupal 7.2.

Comments

safetypin’s picture

Have you applied the patch in #1172480: Fatal error using dev snapshot of media? I'm not sure if kreynen applied it to dev or not.

Anders Hansen’s picture

I experience the same error. I don't get thumb or video, just a link to Vimeo with the video id as title. I run latest dev version of both Media and Media:Vimeo. Don't know about YouTube, I only use Vimeo.

Media 7.x-1.x-dev and Drupal 7.0

Anders Hansen’s picture

Applying the patch did nothing for me.

idflood’s picture

Status: Active » Needs review
StatusFileSize
new5.66 KB

I had the same issue and noticed there was no media_vimeo_formatters.inc file like in the media:youtube. So I copied the youtube file and did a quick find and replace. Now when configuring the file display (e.g. admin/config/media/file-types/manage/video/file-display/media_original) there are "Vimeo video" and "Vimeo preview image". I did not made extended tests but things seems to be working (video and thumbs).

Anders Hansen’s picture

idFlood just tested your patch with no result, I still just see a link and no video. Its in the full content view I have the problem.

steinmb’s picture

Same problem on my site. In this example do I add http://vimeo.com/24722021
- Youtube work OK on this installation.
- No Vimeo settings on admin/config/media/file-types/manage/video/file-display/media_original
- No thumbnail adding Vimeo media.
- No ebedded code, this is all the HTML the field contain on node render:

<div class="field-item odd">
      <span class="file"><img src="/modules/file/icons/video-x-generic.png" title="video/vimeo" alt="" class="file-icon"> <a type="video/vimeo; length=0" href="http://vimeo.com/?v=24722021">24722021</a></span>
 </div>

I also notice that the hyperlink that it now uses is wrong http://vimeo.com/?v=24722021 does not work on Vimeo, is it supposed to be adding ?v=, this is Youtube code, right?

kreynen’s picture

Status: Needs review » Needs work

I've started reworking media_vimeo based on the latest commits to media. Adding Vimeo to a field or WYSIWYG works, but the display still has issues.

steinmb’s picture

Hi, great news :) Pls, push upstream early, so we can clone out a local copy and have a look if that is possible?

kreynen’s picture

@steinmb Dev snapshots can take as long at 12 hours to update. You should follow the git commits http://drupal.org/node/914910/commits and pull from there if you want to participate help with a module that is being actively developed..

steinmb’s picture

Pulled code with git and things are already looking better :)
- Thumbnail OK
- admin/config/media/file-types/manage/video/file-display is back
- Viewing video in nodes also seems to be working.

I'm pushing 2am and I need my sleep, so I have not had time to poked around a lot, but the bare bone seems to be working and that is the most important thing. Great work! :)

Cheers
Stein

kreynen’s picture

Title: Cannot display Vimeo content » Cannot display Vimeo content in Drupal 7
Status: Needs work » Fixed

Since @steinmb never indicated otherwise after getting some sleep, I believe this has been fixed. Feel free to reopen the issue if it isn't.

nuncium’s picture

I am still having that strange ?v= inside hyperlink
instead of correct http://vimeo.com/24304832 I am getting wrongly http://vimeo.com/?v=24304832

steinmb’s picture

Sorry @kreynen, did not know you where waiting for my feed back. I have tested the new code on two sites, install, uninstall, usage and it seems to be OK. Perhaps you could roll a new official version so people stop installing the old borked one?

kreynen’s picture

@nuncium Can you be more specific when you see that link? Are you using WYSIWYG integration? Are you seeing this where you expect to see a player?

And this is an issue with the current dev, not beta1 correct?

jackalope’s picture

Just tried the most recent dev version (from 2011-Jun-06) and that seems to have resolved the problem. Thanks!

rob c’s picture

Confirming #15 jackalope
Current dev seems to fix this.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

artatum’s picture

Status: Closed (fixed) » Active
StatusFileSize
new11.43 KB

I'm still experiencing the same concern and I hope for a workaround or a fix.
I cannot paste any "new code", nor "old code" from Vimeo. Only url works. The video is well played through Mediafront osmplayer. But not with its original player only(see attachement plz). Which is what I need and what is working with Youtube embed code...

emergencyofstate’s picture

Same here. This doesn't seem to work at all like it used to. I cannot input either of Vimeo's Embed code.

The "new" <iframe> embed code or their "old" <object> embed code both result in

"Unable to handle the provided embed string or URL."

As mentioned in the previous post, I can put in the direct URL: http://vimeo.com/somenumber

But, the video always auto plays! This makes it unusable in a page with a list of multiple videos.

artatum’s picture

Status: Closed (works as designed) » Active

About autoplay check this:
http://drupal.org/node/1273236

kreynen’s picture

Status: Active » Closed (works as designed)

@artatum see http://aaronwinborn.com/

@emergencyofstate the module was never designed to accept the embed code

emergencyofstate’s picture

Apologies. Perhaps my confusion about embed code stemmed from

"Input a url or embed code from one of the listed providers." in the Media Modules upload UI.

This implies to me you can in fact enter either. Perhaps a mod can be made to specify 'URL only for Vimeo' to avoid others from potential confusion??

hockey2112’s picture

Status: Active » Closed (works as designed)

I am using 7.x-1.0-beta5 and am experiencing the same issue... I add the vimeo link, and the page merely displays a title link to the video; it does not embed the video on the page.

I went ahead and installed the 2.x dev version, and the video does embed... but it embeds at its full size, instead of the "small" size I specified in the file types settings. Any fix for that?

carl.ben’s picture

Am experiencing the same as #23

RobW’s picture

See the Media YouTube readme (which needs to be ported here), the Media docs page http://drupal.org/node/1793548, and #1791104: Small size does not display. If you don't find the answers you need there, please post again.

headkit’s picture

hm, same here. I only see a link to the video.

headkit’s picture

dev2 solves the problem.