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.
| Comment | File | Size | Author |
|---|---|---|---|
| #18 | vimeo-no-player.png | 11.43 KB | artatum |
| #6 | Screen shot 2011-06-06 at 22.04.10.png | 43.81 KB | steinmb |
| #6 | Edit Video Delete me, debugging | ELMCIP Drupal 7 version.png | 75.09 KB | steinmb |
| #6 | Delete me, debugging | ELMCIP Drupal 7 version.png | 527.88 KB | steinmb |
| #4 | media_vimeo_field_formatter-0.patch | 5.66 KB | idflood |
Comments
Comment #1
safetypinHave 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.
Comment #2
Anders Hansen commentedI 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
Comment #3
Anders Hansen commentedApplying the patch did nothing for me.
Comment #4
idflood commentedI 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).
Comment #5
Anders Hansen commentedidFlood 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.
Comment #6
steinmb commentedSame 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:
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?Comment #7
kreynen commentedI'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.
Comment #8
steinmb commentedHi, great news :) Pls, push upstream early, so we can clone out a local copy and have a look if that is possible?
Comment #9
kreynen commented@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..
Comment #10
steinmb commentedPulled 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
Comment #11
kreynen commentedSince @steinmb never indicated otherwise after getting some sleep, I believe this has been fixed. Feel free to reopen the issue if it isn't.
Comment #12
nuncium commentedI am still having that strange ?v= inside hyperlink
instead of correct http://vimeo.com/24304832 I am getting wrongly http://vimeo.com/?v=24304832
Comment #13
steinmb commentedSorry @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?
Comment #14
kreynen commented@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?
Comment #15
jackalope commentedJust tried the most recent dev version (from 2011-Jun-06) and that seems to have resolved the problem. Thanks!
Comment #16
rob c commentedConfirming #15 jackalope
Current dev seems to fix this.
Comment #18
artatum commentedI'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...
Comment #19
emergencyofstate commentedSame 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.
Comment #20
artatum commentedAbout autoplay check this:
http://drupal.org/node/1273236
Comment #21
kreynen commented@artatum see http://aaronwinborn.com/
@emergencyofstate the module was never designed to accept the embed code
Comment #22
emergencyofstate commentedApologies. 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??
Comment #23
hockey2112 commentedI 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?
Comment #24
carl.ben commentedAm experiencing the same as #23
Comment #25
RobW commentedSee 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.
Comment #26
headkit commentedhm, same here. I only see a link to the video.
Comment #27
headkit commenteddev2 solves the problem.