Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrome Support, Cursor position and allow full screen #16

Open
OmarNegm opened this issue Sep 18, 2018 · 3 comments
Open

Chrome Support, Cursor position and allow full screen #16

OmarNegm opened this issue Sep 18, 2018 · 3 comments

Comments

@OmarNegm
Copy link

Hi there,

First of, Thanks a lot for your great work (y)

Actually.. I'm using the plugin for displaying 360 videos and it works like a charm.

But I'm facing some issues right there which defined in points below:

1-I need to read the cursor position in the video world to be able to trigger another method, Is there is an event or a property that allow me to read the current cursor position in the video world?

2-How do I activate 'fullscreen' mode to the player problematically (without the need of full screen button)

3-I don't know why it's not working with chrome, Only opera, edge. Is there is some settings need to be set in chrome?

Thank you so much.

@thiagopnts
Copy link
Owner

Hello!

Answering:
1- You mean the position the camera is looking at or the mouse cursor?
2- You can't, you need a user interactive(a click/tap in some button on the page) in order to enter fullscreen
3- Hmm weird, I'll take a look

@OmarNegm
Copy link
Author

Hi thiagopnts

Thanks for your answers, Regadring to question 1:

Imagine that you have a 360 video for a room and sure you have a door -room's door) inside that 360 video, and you need to trigger such a message if the user click on door, so i need to know the point of the position that the mouse cursor hovering on.

NOTE. We have the door area coordinates don't worry, we don't need to detect the door from the video :)

Thanks again.

@thiagopnts
Copy link
Owner

Hmm I see, its possible to do but it would be a bit of effort. For this I think pannellum is a better alternative!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants