Showing videos/photos in an iframe.

The microsite that users are directed to for the viewing of their videos/photos can be easily embedded into your existing site or virtual event using an iframe.


To display the correct photo/video for each user the iframe will need to include code to pass their unique ID included in the URL through the iframe.


For example, the URL included in the email/SMS messages sent to users would feature your website address where the iframe is locationed plus a ID appended onto the end of the URL.  For example;


https://yoursitename.com/iframelocation/?id=lMNlICqlFkqTz7vT3Mxpvg%3D%3D



You would then need to direct your iframe contents to our server with the same ID appended to the URL, for example;


https://videobooth2.tv/p?id=lMNlICqlFkqTz7vT3Mxpvg%3D%3D



The code for this example iframe is:


<iframe src="https://videobooth2.tv/p?id=<?php echo urlencode($_GET['id']) ?>"></iframe>




Showing the gallery in an iframe.


The gallery can be embedded using a static URL, here is an example... 


<iframe src="https://yourevent.videobooth2.tv">




Adding the virtual booth via an iframe


The capture web-app can be easily embedded into your existing site or virtual event using an iframe.


The capture web-app can be embedded using a static URL, here is an example...


This is the URL of the capture web-app: https://vbovideophotocam.videobooth2.tv 

This is an example of the capture web-app inside an iframe: https://cam.videobooth2.tv/iframedemo/


The code for this iframe is:


<iframe src="https://vbovideophotocam.videobooth2.tv" allow="camera;microphone"></iframe>


NOTE:  Ensure the page you are embedding the iframe into also allows for the required camera and microphone permissions.



Passing user data through to the virtual booth


If you'd like to pass user data into our platform, for example to avoid the user having to re-enter their name or email address, this can be done by appending it onto the URL.


https://www.cam.videobooth2.tv/?sender=<<USER_EMAIL_ADDRESS>>&firstname=<<FIRST_NAME>>&lastname=<<LAST_NAME>>


For example...


https://www.cam.videobooth2.tv/?sender=bob@testing.com&firstname=Bob&lastname=Smith


You can send the following data into our platform via the URL


sender = User's email address

firstname = User's first name

lastname = User's last name

cd#= Custom Data can be used to send additional custom data into our platform.