From 73d325cb2ba75531b28c44f1697a2a14313d50da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emil=20L=C3=B6fquist?= Date: Fri, 16 May 2014 14:25:18 +0200 Subject: [PATCH] Update readme --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f88735b..71b9bec 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,8 @@ bower install bg-video ## Test for HTML5 video support ```javascript -if($.supportsVideo()) { - // initialize code +if($.supportsVideo()) { + // initialize code } ``` @@ -31,7 +31,10 @@ $(function() { 'http://techslides.com/demos/sample-videos/small.mp4', 'http://techslides.com/demos/sample-videos/small.webm', 'http://techslides.com/demos/sample-videos/small.ogv' - ] + ], + cssPosition: 'absolute', // static|absolute|fixed + alignment: 'top left', // top left|top right|bottom left|bottom right + hideBodyScrollbars: true }, { autoplay: 'autoplay', controls: false, // default: 'controls' @@ -39,7 +42,7 @@ $(function() { muted: 'muted', poster: null, // default: url to image preload: 'auto' // auto | metadata | none - } + } ); } });