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
Add getSphericalProperties function for 360 videos #86
Conversation
This function returns an object. When a 360 video is loaded, the object has values like so: ```json { "fov": 100.00004285756798 "pitch": 0 "roll": 0 "yaw": 0 } ``` See: https://developers.google.com/youtube/iframe_api_reference#Spherical_Video_Controls
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should probably make an entry in types.js for getSphericalProperties
@gajus the build failure seems unrelated to the commit but I'm not sure. |
@gajus thank you for the rapid response! I've added a further function definition and added the typing's as suggested. Thank you. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!
@resistdesign I have raised another PR that addresses the issues with the Jenkins build. See #87 If that gets approved, I'll merge into this PR. 👍 |
@zymotik ok, build fix is merged! Now you just need to update this branch and resolve the conflicts and then it should be good!!! |
@resistdesign Thank you so much for getting this PR through so quickly! 🙇♂️ |
@gajus Please can you help us with a release of this new version? I am not sure on how to do this. |
🎉 This PR is included in version 5.6.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This function returns an object. When a 360 video is loaded, the object has values like so:
See: https://developers.google.com/youtube/iframe_api_reference#Spherical_Video_Controls