Warning, /webapps/ocs-webserver/library/HTMLPurifier/ConfigSchema/schema/URI.SafeIframeRegexp.txt is written in an unsupported language. File is not indexed.

0001 URI.SafeIframeRegexp
0002 TYPE: string/null
0003 VERSION: 4.4.0
0004 DEFAULT: NULL
0005 --DESCRIPTION--
0006 <p>
0007     A PCRE regular expression that will be matched against an iframe URI.  This is
0008     a relatively inflexible scheme, but works well enough for the most common
0009     use-case of iframes: embedded video.  This directive only has an effect if
0010     %HTML.SafeIframe is enabled.  Here are some example values:
0011 </p>
0012 <ul>
0013     <li><code>%^http://www.youtube.com/embed/%</code> - Allow YouTube videos</li>
0014     <li><code>%^http://player.vimeo.com/video/%</code> - Allow Vimeo videos</li>
0015     <li><code>%^http://(www.youtube.com/embed/|player.vimeo.com/video/)%</code> - Allow both</li>
0016 </ul>
0017 <p>
0018     Note that this directive does not give you enough granularity to, say, disable
0019     all <code>autoplay</code> videos.  Pipe up on the HTML Purifier forums if this
0020     is a capability you want.
0021 </p>
0022 --# vim: et sw=4 sts=4