google / marzipano

A 360° media viewer for the modern web.
http://www.marzipano.net
Apache License 2.0
2.01k stars 999 forks source link

Need Help config #405

Closed angularbinh2020 closed 3 years ago

angularbinh2020 commented 3 years ago

image Hi, thank everyone for make a usefull project.

i have a task to embedded video or gif (like embedded hotspot). i am stuck with how can get correct radius, and hotspot position like exams.

container.createHotspot(document.getElementById('iframespot'), { yaw: 0.0335, pitch: -0.102 }, { perspective: { radius: 1640, extraTransforms: "rotateX(5deg)" }});

i have searched, but don't get luck. so, can some one help me to resolve this?

360-panorama-1 exam: i want to embedded a video in to this picture to cover the tv or painting. but i can not get correct radius and hotspot position. how can i do it?

Thank for help :D