Closed (fixed)
Project:
Embedded Media Field
Version:
5.x-1.x-dev
Component:
Embedded Video Field
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Jan 2008 at 19:34 UTC
Updated:
29 Jan 2010 at 03:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
alex ua commentedThis has been requested before (see http://drupal.org/node/160988 ). If you could tackle it, that would be amazing. Currently, the main focus areas are (aaron can correct me if I'm missing anything) on the embedded audio field, two GHOP related tasks (better views integration and more embedded audio providers), standardizing the output of the embedded video field module so that it is xhtml compliant, and troubleshooting various bugs reported here (such as multiplying fields, problems with embedded media sets, etc).
Want to give it a go?
Comment #2
robomalo commentedI just started working on it. I'll have something to look at soon.
Comment #3
robomalo commentedUpdate: I have a working vimeo.inc with some cool options for embedding. I want to test it out some more, and maybe add a couple more features after returning to work early next week. I will submit it for review soon thereafter. Basically, don't work on this feature request :)
Comment #4
robomalo commentedAttached is a working vimeo.inc. You must remove the .txt extension and change the file to just vimeo.inc. Please review and provide feedback.
From http://example.com/admin/content/emfield you can administer the following:
This .inc does not utilize Vimeo's API which allows editing/uploading/etc. from your own site. It only allows for embedding video content into your site, which I thought was appropriate due to the project's name. Thanks for you guys' hard work and I hope this contribution helps!
Comment #5
radune commentedThis is great!
Is there a way to add a thumb for the video file as well?
Thanks a LOT.
Comment #6
robomalo commentedI'll have to look at this some more when I get some free time. When I made this .inc I looked for a way to add thumbs, and the only thing I could find was here: http://vimeo.com/api/simple-api/; and here: http://www.vimeo.com/api/. This module requires the video URL or embed code to add to a node. To get thumbs for the videos from Vimeo, it seems you need a much more complicated URL or request. If anyone knows an easy way, I'll add it. This patch/submission still needs to get reviewed/added.
Comment #7
aaron commentedComment #8
aaron commentedComment #9
darrenmothersele commentedAnyone able to get thumbnail images working for Vimeo?
Comment #10
lupus78 commentedI'm also interested
Comment #11
darrenmothersele commentedI've managed to get this working with thumbnails, and it uses the API - so you need to sign up to Vimeo and request an API key.
I've added three options to the settings page: API Key, API Shared Secret, and the size of thumbnail to request from Vimeo.
I've also added the implementation of hook video_cck_vimeo_thumbnail
Note - this uses SimpleXML to parse the API result, so it will only work on PHP 5
Comment #12
alex ua commentedThanks for this! I think we'll have to try and figure out a way to make this compatible with PHP4 before we commit it to CVS though...
Comment #13
darrenmothersele commentedI think the answer will be using this API function instead of SimpleXML...
http://api.drupal.org/api/function/drupal_xml_parser_create/5
I'm just looking at aggregator.module as an example of how to use this, and will try and update vimeo.inc accordingly.
Comment #14
darrenmothersele commentedcreating XML parsers seemed a bit overkill... how about just using regex?
version attached should be PHP4 compatible, replaced use of SimpleXML with preg_match
Comment #15
alex ua commentedI checked it out, and it worked as advertised. Lets try to get one more user to test and mark as RTBC. As soon as it's been tested once more I'll commit.
Comment #16
amariotti commentedWorks perfectly! Thanks!
Comment #17
alex ua commentedMarking as RTBC. I'll add this to the supported provider in the list later today...
Comment #18
wescoughlin commentedInsanely Awesome! Thanks for the contribution.
Comment #19
alex ua commentedThis has been committed. Thanks robomalo & darrenmUK!
Comment #20
robomalo commentedI'm glad we were able to contribute something that got committed! Thanks for the great set of modules!
Comment #21
iaminawe commentedHi,
I am using the latest dev version of the Embedded media field plugin (updated today) and I have added the Vimeo patch from #14 into my providers folder and have renamed it to vimeo.inc
I can see the vimeo options in the Embedded Media field configuration page and I have made sure that the "allow content from vimeo" checkbox is checked. I have left the other settings at default and have provided the advanced api key that I received from Vimeo to get thumbnails working.
The problem is when I Add video content, the list of providers allowed does not show vimeo and when I paste in the url of the video from vimeo into the emfield it is not automatically recognised and nothing show up on the frontend.
Anyone have any ideas what could be causing this?
Thanks
Comment #22
alex ua commentedVimeo should have already been present in the latest dev version.
Comment #23
iaminawe commentedI have just downloaded the latest dev version at http://drupal.org/node/154638 , updated today and when I look in emfield>>contrib>>video cck>>providers there is no vimeo.inc file.
Am I missing something?
Thanks
Comment #24
iaminawe commentedanyone else encountering this?
Comment #25
robomalo commentedYes, the include is missing.
Comment #26
iaminawe commentedanyone able to fix this... sorry but I have a site hanging in the balance without vimeo support
Comment #27
wescoughlin commentedDownload the vimeo.inc from post #14
Comment #28
alex ua commentedWe had a small problem with our versions. This now should be found in the version linked to as "dev".
Comment #29
iaminawe commentedI still have the same issue reported in #21 above with the new dev version.
Basically the vimeo configuration shows up in the "Embedded Media Field Configuration" and I set the api and secret, make sure that the checkbox to use Vimeo as a content provider is checked and save the settings.
When I got to Create Content>>Video there is no sign of Vimeo in the "Following services are provided" list and when I paste in a vimeo address the node does not recognise or display the video.
I am using the latest dev of Emfield and an up to date Drupal 5.7
This problem is really frustrating and I would appreciate any help that anyone has to offer.
Thanks
Gregg
Comment #30
alex ua commentedI cannot recreate this problem. I have the videos working on my site with thumbnails, and it works as expected.
What version of PHP are you using? I wonder if this still requires PHP5...
Comment #31
iaminawe commentedI am using PHP 5.25...
very strange... setup is fine in backend and still invisible on frontend...
let me keep poking around..
thanks for your help
Comment #32
darrenmothersele commentedI can't see why this would need PHP5 - it no longer uses SimpleXML to parse the result of the Vimeo API call. It uses regex that's also available in PHP4.
Comment #33
alex ua commentedYeah, I couldn't either. I just wanted to start canceling out variables.
Comment #34
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #35
designbysoil commentedI am getting the same problem as #29, did anybody figure it out?
Comment #36
iBrainiac commentedHow do install this please?
Comment #37
alex ua commentedPlease do not reopen this issue. Vimeo support is part of the 5.2 and 5.x-1.x-dev packages. If you want to know about the 6 version, which is not ready to be used, please refer to that issue.
Comment #38
ts230 commentedPlease make this work! I have a site( theocas.net ) that uses Drupal, WYSYWIG and Vimeo for the videos. It's a paint having to switch to HTML view just to put in the video...
Also, how do I use it in Drupal 6?