yanwsh / videojs-panorama

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

The VR icon doesn't appear on control bar #101

Open luxiano3990 opened 7 years ago

luxiano3990 commented 7 years ago

Hello,

I installed the vjs panorama, but the VR icon doesn't appear on control bar. If I click on the place where is supposed to be the VR icon, it switch successfully to VR mode but no VR icon appear on the bar, it is like to be invisible button even if the functionality works.

Thanks in advance

yanwsh commented 7 years ago

Hey, you have to enable it, by default, vr button only show on mobile.

{
   VREnable: true
}
luxiano3990 commented 7 years ago

Yanwsh,

Thanks for your reply. With all the default settings, and for all the browsers, the VR mode functionality works, It is just only the VR icon who is missing. If you click or tap where the VR icon should supposed to be, the video player switch to VR mode. It is just the icon who doesn't load or show. Could you please help on this ?

bhartendukumar12 commented 7 years ago

https://s3.ap-south-1.amazonaws.com/viyatrademo/Viyatra.html go to these link and check the source code

kevinrogerteng commented 7 years ago

I can't seem to get this to work either. The button is definitely there, but seems like the icon isn't showing.

screen shot 2017-06-23 at 11 06 18 am
yanwsh commented 7 years ago

Hey, did you add videojs-panorama.min.css file as well?

yanwsh commented 7 years ago

@bhartendukumar12 sorry for late reply, the vr icon shows on my laptop. Did you fix the issue?

kevinrogerteng commented 7 years ago

@yanwsh that was embarrassing.... I forgot to add videojs-panorama.min.css thank you!

bhartendukumar12 commented 7 years ago

@yanwsh ya its working fine , i was asking @kevinrogerteng to have a look on my source code for the issue. :)

luxiano3990 commented 7 years ago

Hi,

I just copied the demo code and everything works fine.

2017-06-24 0:18 GMT+02:00 Kevin Roger Teng notifications@github.com:

@yanwsh https://github.com/yanwsh that was embarrassing.... I forgot to add videojs-panorama.min.css thank you!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yanwsh/videojs-panorama/issues/101#issuecomment-310785358, or mute the thread https://github.com/notifications/unsubscribe-auth/AbEpROeUR0fXoBarMzNqbnxc1c1lMYTqks5sHDnTgaJpZM4NqYso .