1
0
Fork 0
mirror of https://github.com/xbgmsharp/videojs-rotatezoom synced 2025-10-03 09:49:18 +02:00

Merge pull request #5 from gfviegas/master

Fix typo and added bower install instructions
This commit is contained in:
xbgmsharp 2016-12-29 18:59:33 +00:00 committed by GitHub
commit 7b244d4ff1

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