Open DJaeger opened 7 years ago
All supported transforms have been moved to config options. I kept the most useful ones that related to 360 formats. I had intended to strip out the menu code to simplify the plugin - I didn't really see the utility of it other than novelty value. There is usually one "right" transform and that can be set in the config or passed as a query parameter if you adapt the code.
You are right, that it's now possible to set this in the config options. Then the code should be removed or it should be possible to enable the menu button for debugging purposes.
In addition the fullscreen and vr button should be moved to the controlBar.
I use the following code (using jQuery) myself to push the buttons into the buttonBar:
// Append the webvr buttons to the video.js control bar
$(".webvr-button")
.appendTo(".vjs-control-bar")
.attr('style','')
.addClass("vjs-control")
.addClass("vjs-button");
What is projectionSelection for and how can it be used? I can not figure out, how to display and use the menu button.