Can the Media player UI controls be created by opengl like youtube VR mode controls?

I want to display the media player controls (with play/pause button and seek bar) for 360 video player, i want to display it into the world where the user clicks. Is it possible to do it by opengl, if so pls direct me to some guides or examples. Im very new to opengl programming.