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.
1 Answers