Solutions

Allowing only specific videos from Vimeo

Solutions ID:    KB4745
Version:    1.0
Status:    Published
Published date:    11/11/2011
 

Problem Description

You would like to restrict access to Vimeo to certain videos only.

Resolution

This solution works for both direct viewing and embedded videos.

CPL

<proxy>
url.domain=//av.vimeo.com allow
url.substring=27474438 allow
url.domain=//vimeo.com/ deny

VPM

define condition vimeo_av.vimeo.com
 url.scheme="http" url.host.substring="av.vimeo.com"
end condition vimeo_av.vimeo.com

define condition vimeo_moogaloop
 url.scheme="http" url.host.substring="vimeo.com" url.path.substring="moogaloop"
end condition vimeo_moogaloop

define condition vimeo_playerURL
 url.host.substring="player.vimeo.com"
end condition vimeo_playerURL

define condition vimeo_ID27474438
 url.path.substring="27474438"
end condition vimeo_ID27474438


Notes:
• CPL takes priority over VPM so if vimeo is blocked/used/configured for other users within VPM, use the VPM solution.
• The second entry in the CPL code and the last entry in the VPM section provides an example of a video ID. Replace with the ID’s of the videos you would like to allow. The ID can be obtained from the URL in vimeo. Example: http://vimeo.com/27474438


Rate this Page

Please take a moment to complete this form to help us better serve you.

Did this document help answer your question?
 
 
If you are finished providing feedback, please click the RATE CONTENT button. Otherwise, please add more detail in the following text box and then click RATE CONTENT.
 
 

Your response will be used to improve our document content.

Ask a Question