mirror of
https://github.com/xbgmsharp/videojs-rotatezoom
synced 2025-10-03 09:49:18 +02:00
Fix typo and added bower install instructions
This commit is contained in:
parent
8ca34cbb32
commit
41f57fd35d
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/).
|
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue