Rotate a video

Rotate a video by setting the angle parameter (a_ in URLs). Positive values for clockwise and negative for counterclockwise. Very useful if you want to change the view from “portrait” to “landscape” when shooting videos in mobile -

Ruby:
Copy to clipboard
cl_video_tag("dog", :angle=>90)
PHP:
Copy to clipboard
cl_video_tag("dog", array("angle"=>90))
Python:
Copy to clipboard
CloudinaryVideo("dog").video(angle=90)
Node.js:
Copy to clipboard
cloudinary.video("dog", {angle: 90})
Java:
Copy to clipboard
cloudinary.url().transformation(new Transformation().angle(90)).videoTag("dog");
JS:
Copy to clipboard
cloudinary.videoTag('dog', {angle: 90}).toHtml();
jQuery:
Copy to clipboard
$.cloudinary.video("dog", {angle: 90})
React:
Copy to clipboard
<Video publicId="dog" >
  <Transformation angle="90" />
</Video>
Vue.js:
Copy to clipboard
<cld-video publicId="dog" >
  <cld-transformation angle="90" />
</cld-video>
Angular:
Copy to clipboard
<cl-video public-id="dog" >
  <cl-transformation angle="90">
  </cl-transformation>
</cl-video>
.Net:
Copy to clipboard
cloudinary.Api.UrlVideoUp.Transform(new Transformation().Angle(90)).BuildVideoTag("dog")
Android:
Copy to clipboard
MediaManager.get().url().transformation(new Transformation().angle(90)).resourceType("video").generate("dog.mp4");
iOS:
Copy to clipboard
cloudinary.createUrl().setResourceType("video").setTransformation(CLDTransformation().setAngle(90)).generate("dog.mp4")

Ruby:
Copy to clipboard
cl_video_tag("dog", :angle=>-45)
PHP:
Copy to clipboard
cl_video_tag("dog", array("angle"=>-45))
Python:
Copy to clipboard
CloudinaryVideo("dog").video(angle=-45)
Node.js:
Copy to clipboard
cloudinary.video("dog", {angle: -45})
Java:
Copy to clipboard
cloudinary.url().transformation(new Transformation().angle(-45)).videoTag("dog");
JS:
Copy to clipboard
cloudinary.videoTag('dog', {angle: -45}).toHtml();
jQuery:
Copy to clipboard
$.cloudinary.video("dog", {angle: -45})
React:
Copy to clipboard
<Video publicId="dog" >
  <Transformation angle="-45" />
</Video>
Vue.js:
Copy to clipboard
<cld-video publicId="dog" >
  <cld-transformation angle="-45" />
</cld-video>
Angular:
Copy to clipboard
<cl-video public-id="dog" >
  <cl-transformation angle="-45">
  </cl-transformation>
</cl-video>
.Net:
Copy to clipboard
cloudinary.Api.UrlVideoUp.Transform(new Transformation().Angle(-45)).BuildVideoTag("dog")
Android:
Copy to clipboard
MediaManager.get().url().transformation(new Transformation().angle(-45)).resourceType("video").generate("dog.mp4");
iOS:
Copy to clipboard
cloudinary.createUrl().setResourceType("video").setTransformation(CLDTransformation().setAngle(-45)).generate("dog.mp4")

by Maor Gariv