Skip to main content

Self Host Static HTML page that handles the player

Prior to v2.0.0, this package would generate HTML required for the youtube iframe and serve it as raw HTML string. This meant that the base URL would be 'about:blank' and leading to a number of videos showing a "embed not allowed" error message.

To mitigate this - the webpage had to be uploaded on to a trustable remote source (github pages). The source code of the static HTML is minified and uploaded as a part of the documentation website here.

For whatever reason, if you would like to host this page on your own web server - the static HTML source can be hosted as it is. (not recommended since manual update will be required)