yanwsh / videojs-panorama

a plugin for videojs run a full 360 degree panorama video.
http://yanwsh.github.io/videojs-panorama/
Other
485 stars 160 forks source link

Video only moving left and right #75

Open kassemEzz opened 7 years ago

kassemEzz commented 7 years ago

Hi Wensheng Yan. I got an issue that is driving me mad. I got a normal 360 video in a wordpress site, I set "clickAndDrag" to false so the movie pans on mouse movement without clicking, but when I hover the mouse, the video is only rotating around one point (just rotating and not actually moving) and only when I move the mouse horizontally. When I move the mouse vertically, the movie doesn't move at all. The funny thing is when I do the same video and same code and use it outside wordpress, its working normal. I know the issue could be caused by wordpress, but do you think that is caused by something in css or in js? Thanks

yanwsh commented 7 years ago

interesting, could you send me a demo to debug? yanwsh@gmail.com

kassemEzz commented 7 years ago

thanks for yout quick reply, you can check it here: http://new.laduma.co.uk/?page_id=539

kassemEzz commented 7 years ago

If the video comes as black screen, just move the slider and it will appear. I don't know why the happens. maybe because of the sizing

yanwsh commented 7 years ago

Looks like it's a bug for my plugin, working on a fix.

kassemEzz commented 7 years ago

oh ok thanks very much for the help and for the great work

yanwsh commented 7 years ago

This should be fixed by latest version, thank you.

kassemEzz commented 7 years ago

Thanks for the update, but it sill not working on my side. I set a demo here http://test.downloadpit.com/test/ The video will only move on mouse motion when the window is resized to a smaller size. Thanks