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/
Install and activate the module.