![]() We initialize the API when loading the HTML page and call the function to handle the click of the “Play” button function init_api() ).on(SESSION_STATUS.VR Player Pro Apk is a fully customizable media player for high definition VR video playback, immersive media experiences, and even 360° LIVE streams. Create a variable for WebSocket session var session ģ. Create the constant for the player’s operating status var SESSION_STATUS = _STATUS The full HTML code of the page looks like this ġ. ![]() ![]() Add a Play button, clicking on which will initiate a connection to WCS and start playing the VR stream from the VR camera in the player Play The necessary tags can also be copied in your account ħ. In this div, we place the Delight XR Player tags. Add a div element to which the video for our VR player will be mounted. You can copy this line in your personal account on the Delight XR project website Ħ. Import the script of our minimum VR player ģ. Let’s place the necessary elements in vr-player-min.html:Ģ. Let’s analyze the contents of the files HTML These files will contain the minimum code for the operation of our player. To embed a VR player on your web page, create two empty files vr-player-min.html and vr-player-min.js. They can also be integrated with WCS using the Web SDK. ![]() There are also other players that allow you to play a stream from a VR camera to web pages. To gain access to the player, you need to register on the official website of the project and gain access to your personal account, where will be all the necessary information for further implementation. Step-by-step instructions for implementing a VR player for a browserįor further work, we will use the Delight XR Player, a cross-platform solution for playing VR video in a browser. In addition to that, you can connect to our demo server to perform the tests. Use these instructions for quick installation and configuration of the server. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
February 2023
Categories |