From ec9b3aa34840fe2a948c622aabdac898987b01c4 Mon Sep 17 00:00:00 2001 From: Ansel Santosa <568242+anstosa@users.noreply.github.com> Date: Tue, 8 Dec 2020 14:39:31 -0800 Subject: [PATCH] docs: Update README.md to include CSS instructions for npm --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index e9e36f5..431e31c 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,12 @@ var videojs = require('videojs'); require('@silvermine/videojs-quality-selector')(videojs); ``` +Remember to also add the CSS to your build. With most bundlers you can: + +```js +require('@silvermine/videojs-quality-selector/dist/css/quality-selector.css') +``` + ### Providing video sources Sources can be provided with either the `` tag or via the `src` function on the