Embedding webcaStudio player in a web page

Frank Carmona API, SSO Leave a Comment

Introduccion the tag <iframe>  </iframe> is perhaps one of the simplest and most compatible ways of integrating a player within your webpage. This Post covers the integration for any of the access systems in webcaStudio Open free and open free registered Embeding the open free acces URL’s is the simplest way to do it as it requires no programing . Altough you can embed the whole programe page, the recommended way is to embed the session URL’s. To do this, click on the session links to get the session URL’s for any of these acccess systems. Depending on the player Template chosen for this session, dimensions may be different. Observe that dimensions are specified next to each session’s name. In above’s example dimensions are 1018px width and 670px height. The iframe code is built as follows: In case you want to use the Open Access-Registration Required access mode, the iframe will show up the login page as well. Remember that the aspect of the different pages can be personalized within the “Program” tab From this point ahead the event cycle live behavior is the same as when you use the URL’s directly within a browser; If the event is not live yet, a landing page with a disabled access button will appear. If the user waits with this page opened, the access button will enable itself automatically as soon as the producer gives the appropriate order either publish live or on-demand When an event is opened in live or on-demand mode, any user trying to access the event will open it directly in the page where the event session is embedded Single Sign On In this case you can not use directly the session’s URL’s as webcaStudio receives user data and URL’s via POST and an iframe works as an embedded window within another, so the browser will use GET for this call. In order to embed a session’s player using the SSO you must build a small piece of code, “middleware”, which essentially will gather the user info and together with a PSK “Pre-Shared-Key” and some other information make a unique encrypted call to webcaStudio platform. The player will build the same hash to check whether the call is valid or not. A PHP middleware sample follows   Finaly, we specify the URL to the middleware program within the iframe: User/Password Validation Lists The system works the same way …