We have embedded Vimeo videos on a site accesible only to logged in users. Because of different firewalls, using different types of blocks, the videos sometimes do not work for the client.
We cannot:
- know which kind of block the videos trigger on these firewalls
- ask the clients to change any settings on their browsers
- ask the clients to request a change to firewall settings settings
For cases where the firewall blocks Vimeo explicitly, as opposed to blocking all video streaming, we would like to do the following:
- our application detects Vimeo is being blocked
- tells the browser to load up a different player
- this new player loads every needed resource (video, JS, json, etc) from domains that we control (and thus have valid SSL certificates for), instead of Vimeo/Akamai domains.
The actual video, which will also be loaded from a domain we control, will be fetched from Vimeo to our server and then served from our server to the client. Everything is over SSL, but this is not MITM, as the client will be requesting the video stream, along with the other needed resources for the player, from our domains.
Could this be called a transparent proxy? More importantly, can we accomplish the above using Squid? If not Squid, how would we accomplish this? We do not want to store the video anywhere else but on Vimeo, but we are ok with caching the videos for a couple hours on our servers.