All Projects → Tour-360 → tour-player

Tour-360 / tour-player

Licence: other
Virual tour player

Programming Languages

javascript
184084 projects - #8 most used programming language
stylus
462 projects
HTML
75241 projects

Tour-player

A simple 360° tour viewer for web & VR Web Player - HTML5

Build Status

tour-player demo

Example: tour-player.herokuapp.com

Getting started

Add between tags head

<link rel="stylesheet" href="https://github.com/tour-player/latest/tour-player.css">
<script src="https://tour-360.ru/tour-player/latest/tour-player.js"></script>

Add JavaScript

Tour.init({
  title: "Tour name",
  panorams: [
    {
      id: "0", // folder name
      title: "First pano",
    }
  ]
}, {
    controlPanel: false,
    gallery: true
});

Tour.on('load', function(data) {
    this.controls.autoRotate();
})

See example code

Development

Clone this repository

git clone https://github.com/Tour-360/tour-player.git && cd tour-player

npm install -g gulp bower

npm install

Run server (browserSync)

gulp serve

Build

gulp build

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].