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
2013-06-27 09:41:51 +09:00
example Initial release 2013-06-26 13:29:04 +09:00
src Rotate poster as well 2013-06-27 09:41:51 +09:00
video-js Initial release 2013-06-26 13:29:04 +09:00
README.md Add credits 2013-06-27 09:41:11 +09:00

Video.js Zoom Rotate

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

Using the Plugin

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

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

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

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

Known Issues

It won't work when using the flash fallback.

Thanks

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