When I was using this I needed more information to:
1) identify when video was being processed
2) allow full screen
3) update the options to include api.
If you would like, this is the patch I'm using.
# This patch file was generated by NetBeans IDE
# It uses platform neutral UTF-8 encoding and \n newlines.
--- media_vimeo.js (Today 11:38:53 AM)
+++ Current File
@@ -51,11 +51,14 @@
// Replace the object embed with Vimeo's iframe. This isn't done by the
// theme function because Vimeo doesn't have a no-JS or no-Flash fallback.
- var video = $('
');
- var src = 'http://player.vimeo.com/video/' + settings.video_id;
+ var video = $('
');
+ var src = '//player.vimeo.com/video/' + settings.video_id;
// Allow other modules to modify the video settings.
settings.options = settings.options || {};
+ settings.videoWrapper = videoWrapper;
+ settings.video = video;
+ settings.src = src;
\ No newline at end of file
$(window).trigger('media_vimeo_load', settings);
// Merge Vimeo options (such as autoplay) into the source URL.
Comments
Comment #1
judahtanthony commentedComment #2
devin carlson commentedMedia: Vimeo no longer includes any JavaScript.