Message Boards

Virtual tour on LifeRay

Gabriel Ziaja, modified 4 Years ago.

Virtual tour on LifeRay

New Member Post: 1 Join Date: 7/14/19 Recent Posts
Hello!
We have a client that wants to implement a 360 virtual tour player based on 360 videos (not still panorama images) on his website, which is hosted on LifeRay CE 6.2.
Since we have zero knowledge of what LifeRay is, and how to develop for LifeRay. I'm looking for any information regarding this topic.
Is it possible to do, are there any examples how to set up WebGL applications, etc.
This is a sample virtual tour:
https://vrtour.elisaiot.com/ABB/CH/
The videos will be hosted elsewhere and streamed into the app.
Thanks in advance!
thumbnail
Christoph Rabel, modified 4 Years ago.

RE: Virtual tour on LifeRay

Liferay Legend Posts: 1554 Join Date: 9/24/09 Recent Posts
You either get a javascript snippedĀ from the company that created that vr and put it on a page or you need to embed it using an Iframe.

The simplest solution for both options is probably to create a structure and a template. The structure defines fields for the editor (e.g. a headline, the url of the vr page, ...). The template is written in a scripting language called freemarker. You can put your html and javacript code in it.
https://portal.liferay.dev/docs/6-2/user/-/knowledge_base/u/advanced-content-with-structures-and-templates
Note: There are several youtube videos showing how to create structures and templates.