You are hereForums / Bugs / VIMEO

VIMEO


1 reply [Last post]
Anonymous
VIMEO
Printer-friendly versionSend to friend

Hello,

I had problems with Vimeo. They use two different URLs to serve videos and also two video containers - flv and mp4.

So I modified python source and added additional squid rule for vimeo.

To squid.conf -> acl videocache_allow_url url_regex -i bitcast\.vimeo\.com\/vimeo\/v\/

In videocache.py

if host.find('bitcast.vimeo.com') > -1 and path.find('vimeo/v') > -1 and path.find('.flv') > -1:

change to

if host.find('bitcast.vimeo.com') > -1 and path.find('vimeo/v') > -1 and (path.find('.flv') > -1 or path.find('.mp4') > -1):

Thank you.

admin's picture
Online
Joined: Nov 2 2008

Hi Anon,

Thanks for contributing your findings here in the forum. And thanks for using videocahce :)

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <code>
  • Lines and paragraphs break automatically.
  • HTML tags will be transformed to conform to HTML standards.
  • Search Engines will index and follow ONLY links to allowed domains.

More information about formatting options

CAPTCHA
Are you a human visitor ?
Image CAPTCHA
Enter the characters (without spaces) shown in the image.

Buy Now

Videocache Bundle (RPM and tar archive) is available for just $39.99. Secure your copy now by clicking the button below.
For details, check this page.

Recent comments

Spread it

Thank you for spreading the word!

Who's online

There are currently 2 users and 110 guests online.