I'm using to configure htmlpurifier at my system. i can authorize youtube iframes, but when i put a youtube-nocookie url, it is purified. the code above is whats i am doing. help me please? here is the code.
$config->set('HTML.SafeIframe', true);
$config->set('URI.SafeIframeRegexp', '%^(https?:)?(\/\/www\.youtube(?:-nocookie)?\.com\/embed\/)%');
can u help me please?