Up until the 7.x-1.0-beta5 I had been using the filename in views to construct a url so as to open the Vimeo player directly in a colorbox. With the change in this version to use the video title as the filename it breaks. I realise it is a bit of a hack in the first place for this very reason.

What would be the correct way to obtain and use the Vimeo video id in Views?

The url I'm trying to construct is as follows:
http://player.vimeo.com/video/[filename]?width=90%&height=90%&iframe=true

Where [filename] is the Vimeo video id, eg 34293503.

Thanks.

Comments

kreynen’s picture

I haven't tried this yet, but I think media_colorbox may support effect you want with a more Drupal centric approach.

http://drupal.org/project/media_colorbox

What's the advantage of loading the Vimeo player from Vimeo?

kempoller’s picture

Thanks for the link kreynen, unfortunately I'm using Media 1.x so can't use that project straight away, though it does seem there's a patch on the way to make it possible.

I'm already using the Drupal Colorbox module for the Colorbox side of things.

The advantage of loading the Vimeo player for me is that only loads the player and not the entire page, it's essentially the same as the embed code.

devin carlson’s picture

Issue summary: View changes
Status: Active » Fixed

As kreynen mentioned, you'll want to use a module that integrates with File Entity/Media such as Nivo Lightbox which allows you to specify a File view mode for both the target and the lightbox content.

Status: Fixed » Closed (fixed)

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