Skip to content

Commit

Permalink
upgrade.md file updated
Browse files Browse the repository at this point in the history
  • Loading branch information
ferserc1 committed Nov 8, 2019
1 parent 3c8a93c commit 39e1da1
Showing 1 changed file with 25 additions and 4 deletions.
29 changes: 25 additions & 4 deletions doc/upgrade.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,32 @@
---
---

# Upgrading from paella 6.1.x to 6.2.x
# Upgrading from paella 6.2.x to 6.3.x

*Optional changes*:
In principle it should not be necessary to modify anything to upgrade to version 6.3.x. However, video360 videos, which were an unsupported test feature in previous version, are now supported in Paella 6.3.x, but are defined using the new videoCanvas feature.

In principle it is not necessary to do anything to upgrade from version 6.1.x to version 6.2.x, but if you want to use the new lazy load feature you have to modify the `load` function by `lazyLoad`, in the `index.html` file.
- Video360 streams no longer exist. Instead, a normal video stream is used (currently mp4 and hls streams are implemented).
- For the video to be represented with the 360º viewer, a 'video360' canvas is used for the equirectangular format, and 'video360theta' for the raw format of the Ricoh Theta S camera.

NOTE: if the browser does not support autoplay in the videos, the lazyLoad function will not be activated.
```json
"streams": [
{
"sources": {
"mp4": [
{
"src": "https://repository.paellaplayer.upv.es/video360/video360.mp4",
"mimetype": "video/mp4",
"res": {
"w": "4096",
"h": "2046"
}
}
]
},
"preview": "https://repository.paellaplayer.upv.es/belmar-multiresolution/preview/presenter_cut.jpg",
"content":"presenter",
"canvas":["video360"]
}
],
```

0 comments on commit 39e1da1

Please sign in to comment.