Skip to content

X-Frame-Options override for H5P embed endpoint

Notifications You must be signed in to change notification settings

sisuloome/h5p_x_frame_options

Repository files navigation

H5P X-FrameOptions module

Checks if X-Frame-Options header is present for the H5P embed endpoint and removes it. This would allow the content to be embedded in any context.

The solution logic is based on x_frame_options module.

Current solution is required until the main H5P module implements something similar as part of its codebase.

Please note that check for the path is strict and would only allow two path variations to match: /h5p/<ID>/embed and /h5p/<ID>/embed/

Usage

Install and activate the module.

About

X-Frame-Options override for H5P embed endpoint

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages