1
0
Fork 0
mirror of https://github.com/xbgmsharp/videojs-rotatezoom synced 2025-10-03 17:59:31 +02:00

Fix typo and added bower install instructions

This commit is contained in:
Gustavo Viegas 2016-12-28 10:56:53 -02:00 committed by GitHub
parent 8ca34cbb32
commit 41f57fd35d

View file

@ -2,6 +2,11 @@ Video.js Zoom Rotate
======================= =======================
A plugin that allows you to set the Zoom level and a rotation for video and poster with [Video.js](https://github.com/videojs/video.js/). A plugin that allows you to set the Zoom level and a rotation for video and poster with [Video.js](https://github.com/videojs/video.js/).
Install
----------------
Install it via bower with `bower i --save videojs-rotatezoom`
Using the Plugin Using the Plugin
---------------- ----------------
The plugin automatically registers itself when you include videojs.zoomrotate.js in your page: The plugin automatically registers itself when you include videojs.zoomrotate.js in your page:
@ -15,7 +20,6 @@ It use the CSS scale property and the rotate property.
video.zoomrotate({ video.zoomrotate({
rotate: 90, rotate: 90,
zoom: 1.5 zoom: 1.5
}
}); });
or or