question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Confused about the framework integration

See original GitHub issue

From what i understand, it seems like Live-Tour can only be customized from a json file.

But this means that if i wanted to make a specific change later on that wasn’t available in the json props, then i wouldn’t be able to customize it.

What i’m asking is that do we always need this line <LiveTour tourURI='hello-world.json' > to be the top line in the render method? I know we can add custom components inside this, but can we change components like pano’s which are inside this LiveTour Component?

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ctoLarssoncommented, Sep 14, 2017

On your second question about speed: You can trade-off file size with loading speed, and resolution with device horsepower.

The demo uses a lot of 8192x4096 size files, which are fairly large but necessary for “Full HD” resolution:

  • With 90 degree field of view, you see 1/4 of a 360 picture/video.
  • Hence an 8k photo gives you a 2k view, equivalent to Full HD (1920px wide).

My recommended design guideline:

  • Design for latest devices, iPhone 8, a new Mac or latest Samsung. Then 8k should be no problem.
  • Once done, if old devices are important for your use case, just make a second version of the tour with down-scaled media, and send lower-end devices to that one based on UserAgent.

4k still looks good but not razor sharp, the equivalent of a 1000 pixels wide photo/video.

Just let me know if you have more queries.

1reaction
ctoLarssoncommented, Sep 14, 2017

Hi @TheMachineHere relevant question, let me clarify.

You could use the framework out of the box with no own code, say if a media agency or a property agent wants to make a live tour. In that case you just customize the tour using the json file.

But in you case, where you want to add own code, you have much more flexibility. You simply create your own component and mix those with the existing ones.

For example if you want a Pano component with some custom behaviour you can create a component MachinePano and refer to that one instead in the json file, as you define your tours.

I suggest follow the Hero example in the readme and I think it will be clear. Otherwise please don’t hesitate to ask more. Happy to help.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Understanding Integration: A Conceptual Framework
Key domains of integration are proposed related to four overall themes: achievement and access across the sectors of employment, housing, ...
Read more >
Integration Frameworks - Central Rivers AEA
This framework is called TPACK or Technological, Pedagogical, and Content Knowledge. It takes these three main forms and explores how they interact with...
Read more >
What is System Integration? Definition, Methods, Challenges
Integration is the act of bringing together smaller components or information stored in different subsystems into a single functioning unit.
Read more >
INTEGRATION ACTION FRAMEWORK Articulate the key ...
Introduction. Behavioral, physical and social health are inextricably intertwined; fragmentation of care into these artificial categories creates barriers.
Read more >
Validation of a conceptual framework aimed to standardize ...
Validation of a conceptual framework aimed to standardize and compare care integration initiatives: the project INTEGRATE framework.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found