From 650374ca427d85473481ee548729c1b7b9269f7a Mon Sep 17 00:00:00 2001 From: Jake Lee Kennedy Date: Tue, 17 Oct 2017 23:53:52 +0100 Subject: [PATCH] Add usage documentation to README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index faa4990e..39931e3b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,16 @@ # h5p-standalone Display H5P content with plain old HTML +## Usage + +```javascript +$('.h5p-container').h5p({ + frameJs: '../dist/js/h5p-standalone-frame.min.js', // OPTIONAL if you move the location of h5p-standalone-frame.min.js + frameCss: '../dist/styles/h5p.css', // OPTIONAL if you move the location of h5p.css + h5pContent: '../workspace' // Location of the unpacked H5P content +}); +``` + ## Run The Demo (Gulp) Install dependencies