1
0
Fork 0
mirror of https://github.com/xbgmsharp/videojs-rotatezoom synced 2025-10-05 19:42:05 +02:00
No description
Find a file
2016-06-06 09:03:33 +01:00
example Fix example 2015-07-31 16:40:12 +01:00
src Update VideoJS to version 4.1.0 2013-07-03 13:43:15 +09:00
video-js Update VideoJS to version 4.1.0 2013-07-03 13:43:15 +09:00
video.js Add video.js version 5.10.2 2016-06-06 09:03:33 +01:00
README.md Update README 2013-06-27 15:42:45 +09:00

Video.js Zoom Rotate

A plugin that allows you to set the Zoom level and a rotation for video and poster with Video.js.

Using the Plugin

The plugin automatically registers itself when you include videojs.zoomrotate.js in your page:

<script src='videojs.zoomrotate.js'></script>

Once you have your video element created, you can activate the zoomrotate plugin. The plugin take 2 options rotate and zoom. It use the CSS scale property and the rotate property.

video.zoomrotate({
  rotate: 90,
  zoom: 1.5
  }
});

or

data-setup='{ "plugins": { "zoomrotate": { "rotate": "90", "zoom": "1.5" } } }'

Known Issues

It won't work when using the flash fallback.

Thanks

Thanks to codepo8, https://github.com/codepo8/rotatezoomHTML5video