A 360° media viewer for the modern web.
This is not an official Google product.
You can include Marzipano in your project in two different ways:
marzipano.swffiles from the latest release at http://www.marzipano.net and copy them into your project.
Install Marzipano as a dependency using the
npmpackage manager and
requireit as a module.
This is an
A Node.js installation is required for development.
Some dependencies expect the Node.js interpreter to be called
on Debian and Ubuntu systems, the binary installed by the
nodejs package is
nodejs. To work around this, install the
nodejs-legacy package, or
use nvm instead.
You also need a Java compiler to build the SWF file containing the Flash renderers (set 32-bit Java path in your PATH, as MXMLC does not support 64-bit Java).
npm install to install the dependencies. If you haven't in a while,
bring them up to date with
npm run dev to serve this directory at
While this script is running, the demos are live-reloaded whenever the source
files are edited.
npm test to automatically run the browser-based test suite on all
available browsers in your system.
npm run livetest to serve the browser-based test suite at
While this script is running, the test suite is live-reloaded whenever the
source or test files are edited.
Before preparing a release, make sure there are no uncommitted changes and verify that the tests pass and all of the demos work correctly.
CHANGELOG file and bump the version number in
Create a new commit containing only the changes to these two files, tag it with
git tag vX.Y.Z, and push it to GitHub with
git push --tags.
npm run release to prepare a new release.
npm run deploy to deploy the release to the website.
npm publish to publish the release to the npm registry.