We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1eaa3fd commit 946b251Copy full SHA for 946b251
themes/contribute.jquery.org/functions.php
@@ -0,0 +1,8 @@
1
+<?php
2
+
3
+// Allow loading a Vimeo video on
4
+// https://local.contribute.jquery.org/markup-conventions/
5
+add_filter( 'jq_content_security_policy', function ( $policy ) {
6
+ $policy[ 'frame-src' ] = "'self' player.vimeo.com";
7
+ return $policy;
8
+} );
0 commit comments