diff --git a/player/html/README.md b/player/html/README.md new file mode 100644 index 0000000..7851983 --- /dev/null +++ b/player/html/README.md @@ -0,0 +1,30 @@ +## What is this example + +This is an example of using the Twitch player and adding a number of Controls to it. + +It uses [Embed Everything](https://dev.twitch.tv/docs/embed/everything) + +Since it uses the JS Embed Library, you do not need to specify the `parent` as the JS Library will work it out for you + +This example is based on this ["Web" Example](https://twitch.extensions.barrycarlyon.co.uk/temp/player_test.html) that exists on my Extensions Website for test purposes + +## TRY THIS EXAMPLE NOW! + +This example is also available via GitHub Pages! + +Give it a [whirl here](https://barrycarlyon.github.io/twitch_misc/player/html/) + +## Reference Documentation + +- [Embed Everything](https://dev.twitch.tv/docs/embed/everything) +- ["Dumb" iFrames](https://dev.twitch.tv/docs/embed/video-and-clips) + +## Running the example + +This is so rough that you need to upload it somewhere or know how to start a WebServer on 127.0.0.1 port 80 locally + +If you have PHP installed + +> sudo php -S 127.0.0.1:80 + +Will get you going real quick diff --git a/player/html/index.html b/player/html/index.html new file mode 100644 index 0000000..b009da9 --- /dev/null +++ b/player/html/index.html @@ -0,0 +1,196 @@ + + + Twitch Embed example + + + + + +

Get the code for this example on Github or just View the source instead

+ + +
+ +
+
+ + + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+
+
+ + + + +