AR /VR /360 VR Video for Beginners
< Cloudinary LabsVisit Cloudinary
  • About Cloudinary Labs
  • Lab 1
    • Developing AR/VR with Unity
      • Build Your First AI AR App on Unity
      • Getting Started in Unity
      • Add the Watson Unity SDK
      • Add/Enable Vuforia
      • Add CyberSoldier Asset
      • Configure Vuforia Image Database
      • Add C# Script & Watson Credentials
      • Add Apple ID to Xcode
      • Deploy to iOS
      • Troubleshooting & Gotchas
  • Lab 2
    • Delivering 360VR Video with Cloudinary
      • Introduction to 360VR Video
      • Setting up Cloudinary
      • Uploading Video
      • Delivering Video
      • Cloudinary Video Player
      • VideoJs-Panorama Plugin
      • Source Code
Powered by GitBook
On this page
  1. Lab 2
  2. Delivering 360VR Video with Cloudinary

VideoJs-Panorama Plugin

PreviousCloudinary Video PlayerNextSource Code

Last updated 7 years ago

The plugin we’re going to be using is called .

Incidentally – this is not a plugin made specifically for Cloudinary’s player. But Cloudinary built its player on top of the widely used framework, and plugins for VideoJS work on the Cloudinary Player, as well.

INSTALL PLUGIN:

Replace the Cloudinary options with one containing the plugin object configured for the panorama plugin:

var options = {
  publicId: "tropical360_qjbr2d",
  plugins: {
    panorama: {
      clickAndDrag: true,
      clickToToggle: true,
      autoMobileOrientation: true
    }
  },
  sourceTypes: ["mp4"]
};

See the Pen by Eric Portis () on .

videojs-panorama
VideoJS
Cloudinary 360 Player
@eeeps
CodePen