Hi Peter,
You can load an iframe to a widget of type scriptwindow on the page.
To do so, add a scriptwindow to your web page, open the script editor, and apply for instance this example in there.
Obviously you can change the URL to another URL for including other pages than this YouTube example.
//*******************************************************************************/
//* Rocket Software makes no warranty, express or implied, with regard to */
//* this material, including fitness for use. Additionally, Rocket is not */
//* responsible for maintaining compatibility of this information with future */
//* releases. Rocket provides this as an example only. */
//* Customers using this information do so at their own risk. */
//* The items provided to you are identified as Type II material */
//* as per the Professional Services Agreement. For the */
//* avoidance of doubt, this means that Rocket owns the IP in */
//* any such deliverables. */
//*******************************************************************************/
//
// To use the host api uncomment the following lines:
//
var api = this;
// To retrieve the DOM element of this script window uncomment the following line:
//
var element = api.target;
var video_id = "Mssg6SQdCJM";
var autoplay=1;
var autohide=1;
// Make the script window responsive
element.style.width = "100%";
element.style.height = "100%";
// Create an iFrame with autoplay set to true
var iframe = document.createElement("iframe");
iframe.setAttribute("src", "https://www.youtube.com/embed/" + video_id + "?autoplay="+autoplay+"&autohide="+autohide+"&border=0&wmode=opaque&enablejsapi=1");
// Set the size
iframe.style.top = 0;
iframe.style.left = 0;
iframe.style.width = "100%";
iframe.style.height = "100%";
// Add it to the script window
element.appendChild(iframe, element);
Regards,
Roger.
------------------------------
Roger Van Valen
Rocket Internal - All Brands
Dordrecht, The Netherlands
------------------------------
Original Message:
Sent: 11-16-2021 16:28
From: Peter Cheng
Subject: Webpage widget embed inside a legasuite page?
Is there a widget for that I can use to embed a web browser page directly inside a Legauite webpage? Maybe a iFrame? Please let me know, thanks.
------------------------------
Peter Cheng
Software Engineer
Amber Road Inc
Parsippany NJ US
------------------------------