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