VRdirect Studio 2.2.0 opens the door for external content. With the new update, you’ll be able to integrate videos, that are hosted on another system, into your VR project. Check out this blog article and learn how to use the new feature.
We recently introduced you to the newest feature of our VRdirect Studio regarding external links in the last blogpost.
But obviously, that was not all. Here comes part two of our product update!
VRdirect Studio now enables creators to integrate external videos, that are hosted on another system.
For the integration, all you need is the video URL. By using the web address and linking to the video you are saving storage as well as keeping the experience smaller. This also means that you don’t have to re-upload and publish the VR project when updating the videos. Please note that the display of the external videos relies on a stable and working internet connection. It cannot be used offline.
It is also possible to integrate live video streams. Simply add an HLS (.m3u8) enabled streaming URL provided by your live stream provider into the VRdirect Studio. Watch this how-to video to learn more about integrating a live stream URL.
How the feature works:
- Add new object to your VR project
- In the object properties sidebar, switch from “media file” to “external video”
- Object will switch to “external video” – meaning also the object graphic + video settings will be adapted
- A text field will appear, where you have to insert the video URL that should be opened
- Object position and interaction events can be adapted as with all normal objects
- Use preview to check your VR project
- After uploading & publishing, users will be able to see your video, coming from an external online source (that you specified)
- Please test your published project on web, smartphone (app) and Oculus (app) to ensure full correspondence with your external hosting system!
Video URL format must
- start with https://
- end with .mp4 or .m3u8
- contain at least one character between https:// and the format ending
- be hosted on a web hosting server
- point to a secure connection (https / SSL protected)
What video URLs can I insert?
The video file must be uploaded and hosted on a web hosting server (e.g. IONOS, GoDaddy, Hostinger, bluehost). Systems like Google Drive, Sharepoint, Dropbox etc. are file-sharing services and therefore will not work.
Please make sure that access to 3rd party services is allowed on the web hosting server of your choice. When using the external videos feature in VRdirect, the VRdirect server is sending the request and therefore acts as a 3rd party service.
Some web hosting servers allow this kind of access, some have a built-in blocker by default. If your web hosting server blocks the VRdirect request then you must manually allow access.
To do so, the configuration file (where all configurations and settings are stored) of the web hosting server has to be modified. We highly recommend contacting your internal IT department to proceed with such modifications.
Please note that thorough testing on all platforms (web, smartphone, VR glass) is very essential when using this feature! Make sure to always test the published VR project, not only a Studio preview of the project.
Example IONOS:
When using IONOS as a web hosting server, the configuration file (.htaccess file) has to be modified to allow access to VRdirect. To do so, a new response header has to be added. This response header is “access-control-allow-origin”.
After adding the response modification, the IONOS server allows VRdirect to send requests. Therefore, the external video will successfully be played via the VRdirect server.