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:
commit
7b244d4ff1
1 changed files with 5 additions and 1 deletions
|
@ -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/).
|
||||
|
||||
Install
|
||||
----------------
|
||||
Install it via bower with `bower i --save videojs-rotatezoom`
|
||||
|
||||
|
||||
Using the Plugin
|
||||
----------------
|
||||
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({
|
||||
rotate: 90,
|
||||
zoom: 1.5
|
||||
}
|
||||
});
|
||||
|
||||
or
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue