Skip to content

Commit

Permalink
Merge pull request #206 from Tour-360/dev
Browse files Browse the repository at this point in the history
Релиз v2.0.0
  • Loading branch information
Borodin authored Aug 27, 2016
2 parents af0f2a3 + 680d60d commit 87d6c41
Show file tree
Hide file tree
Showing 110 changed files with 1,545 additions and 245 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
node_modules/
bower_components/
build/
src/lib/
build/**/*.map
Thumbs.db
npm-debug.log
.ftppass
.ftppass
.DS_Store
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
language: node_js
node_js:
- '5.4.0'
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
tour-player
===========
[![Build Status](https://travis-ci.org/Tour-360/tour-player.svg?branch=master)](https://travis-ci.org/Tour-360/tour-player)

#### Demo
**[tour-player.herokuapp.com](http://tour-player.herokuapp.com)**

#### Getting started
```git clone https://github.com/Tour-360/tour-player.git && cd tour-player```
Expand Down
6 changes: 6 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "tour-player",
"scripts": {},
"env": {},
"addons": []
}
2 changes: 1 addition & 1 deletion build/tour-player.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 19 additions & 16 deletions build/tour-player.js

Large diffs are not rendered by default.

67 changes: 58 additions & 9 deletions example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,70 @@
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<link rel="stylesheet" href="../build/tour-player.css">
<script src="../build/tour-player.js"></script>
<title></title>
<title>Example Tour-360 player</title>
<style>
/* Цвет всех маркеров */
#markers .button {
background-color: rgba(0,0,0,.8);
}

/* Цвет информационных маркеров */
#markers .button.info{
background-color: #ed1c24;
}

/* Цвет полосы загрузки */
#control-panel .progress-bar .value {
background: #ed1c24;
}
</style>
</head>
<body>
<div id="markers">
<div class="marker down">
<div class="title">
<span>Хол</span>
<div class="popup-layout">
<div class="popups">
<div class="close"></div>
<div class="popup" id="lana-del-rey-born-to-die">
<img src="http://cdn1.umg3.net/89/files/2014/06/Lana-Del-Rey-Born-To-Die-Paradise-Edition-1500x1500-2012.png" alt="Lana Del Rey — Born To Die: Paradise Edition">
<div class="content">
<h1>Lana Del Rey — Born To Die: Paradise Edition</h1>
<p>Другой альбом: <a href="#lana-del-rey-ultraviolence">Lana Del Rey — Ultraviolence</a></p>
<p><b>«Born to Die: The Paradise Edition»</b> — переиздание американской певицы Ланы Дель Рей студийного альбома Born to Die (2012). Выпущен 9 ноября 2012 года под лейблами Polydor и Interscope. Также одновременно с переизданием был выпущен мини-альбом Paradise, в который вошли 8 новых треков, которыми был дополнен оригинальный альбом. Рик Новелл и Эмили Хейни были единственными, кто работал над двумя этими сборниками вместе.</p>
<ol>
<li>«Born to Die»</li>
<li>«Off to the Races»</li>
<li>«Blue Jeans»</li>
<li>«Video Games»</li>
<li>«Diet Mountain Dew»</li>
<li>«National Anthem»</li>
<li>«Dark Paradise»</li>
<li>«Radio»</li>
<li>«Carmen»</li>
<li>«Million Dollar Man»</li>
<li>«Summertime Sadness»</li>
<li>«This Is What Makes Us Girls»</li>
<li>«Without You»</li>
<li>«Lolita»</li>
<li>«Lucky Ones»</li>
</ol>
</div>
</div>
<div class="popup" id="lana-del-rey-ultraviolence">
<img src="http://cdn1.umg3.net/89/files/2014/06/Lana-Del-Rey-Ultraviolence-2014-1500x1500.png" width="100" alt="Lana Del Rey — Ultraviolence">
<div class="content">
<h1>Lana Del Rey — Ultraviolence</h1>
<p>Другой альбом: <a href="#lana-del-rey-born-to-die">Lana Del Rey — Born To Die: Paradise Edition</a></p>
</div>
</div>
</div>
</div>
<div id="notification">
<span>Мой текст</span>
</div>

<script>
Tour.init();
Tour.init(false, {
controlPanel: true
});
Tour.on('load', function(data) {
this.controls.autoRotate()
})
</script>
</body>
</html>
93 changes: 85 additions & 8 deletions example/manifest.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,109 @@
{
"_specification": "https://github.com/Tour-360/tour-player/wiki/Формат-файла-Data.json",
"title": "Avant SHOP",
"start": 1,
"backgroundImage": "data:image/gif;base64,R0lGODdhCAAGAPIAAOjt86O4sp2np0tbTJKNi46gqLyyvcHK0iwAAAAACAAGAAADGhgGdxwiyFDEGaIckQ0mhtENhEBsFqFajJEAADs=",
"backgroundColor": "#a3aaac",
"panorams": [
{
"id": 0,
"title": "Стелаж",
"lon": 0,
"lat": 0,
"markers": [
{
"lon": -270,
"lat": 5,
"class": "up",
"lon": 0,
"lat": -5,
"icon": "up",
"action": {
"type": "panorama",
"id": 1,
"lon": -270,
"lat": 0
"id": 2
}
},{
"lon": 0,
"lat": -50,
"icon": "point",
"action": {
"type": "panorama",
"id": 1
}
},{
"lon": -90,
"lat": 16,
"icon": "info",
"title": "<a href=\"https://ru.wikipedia.org/wiki/Linkin_Park\" target=\"_blank\">Linkin Park</a> — A Thousand Suns",
"action": {
"type": "url",
"href": "https://ru.wikipedia.org/wiki/Linkin_Park"
}
}
]
},{
"id": 1,
"title": "Центр",
"lon": 0,
"lat": 0
"lat": 0,
"markers": [
{
"lon": 0,
"lat": -5,
"icon": "up",
"action": {
"type": "panorama",
"id": 2
}
},{
"lon": 180,
"lat": -5,
"icon": "up",
"action": {
"type": "panorama",
"id": 0
}
},{
"lon": 280,
"lat": 13.73,
"icon": "info",
"title": "Lana Del Rey — Born To Die: Paradise Edition",
"action": {
"type": "popup",
"id": "lana-del-rey-born-to-die"
}
},{
"lon": 292,
"lat": 3,
"icon": "info",
"title": "Lana Del Rey — Ultraviolence",
"action": {
"type": "popup",
"id": "lana-del-rey-ultraviolence"
}
}
]
},{
"id": 2,
"title": {"ru": "Касса", "en": "Сashbox"},
"lon": 0,
"lat": 0
"lat": 0,
"markers": [
{
"lon": 180,
"lat": -5,
"icon": "up",
"action": {
"type": "panorama",
"id": 0
}
},{
"lon": 180,
"lat": -40,
"icon": "point",
"action": {
"type": "panorama",
"id": 1
}
}
]
}
]
}
Binary file modified example/panorams/0/low/0.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/panorams/0/low/1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/panorams/0/low/2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/panorams/0/low/3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/panorams/0/low/4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/panorams/0/low/5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/panorams/0/standard/0.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/panorams/0/standard/1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/panorams/0/standard/2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/panorams/0/standard/3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/panorams/0/standard/4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/panorams/0/standard/5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/panorams/0/thumbnail/0.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/panorams/1/low/0.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/panorams/1/low/1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/panorams/1/low/2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/panorams/1/low/3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/panorams/1/low/4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/panorams/1/low/5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/panorams/1/standard/0.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/panorams/1/standard/1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/panorams/1/standard/2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/panorams/1/standard/3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/panorams/1/standard/4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/panorams/1/standard/5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/panorams/1/thumbnail/0.jpg
Binary file modified example/panorams/2/low/0.jpg
Binary file modified example/panorams/2/low/1.jpg
Binary file modified example/panorams/2/low/2.jpg
Binary file modified example/panorams/2/low/3.jpg
Binary file modified example/panorams/2/low/4.jpg
Binary file modified example/panorams/2/low/5.jpg
Binary file modified example/panorams/2/standard/0.jpg
Binary file modified example/panorams/2/standard/1.jpg
Binary file modified example/panorams/2/standard/2.jpg
Binary file modified example/panorams/2/standard/3.jpg
Binary file modified example/panorams/2/standard/4.jpg
Binary file modified example/panorams/2/standard/5.jpg
Binary file modified example/panorams/2/thumbnail/0.jpg
Loading

0 comments on commit 87d6c41

Please sign in to comment.