Skip to main content
Version: 9.4

Webview

<div id="webview_ctrl"
data-win-control="HFWinJSCtrl.Webview"
data-win-options="{
url: 'https://www.youtube.com/embed/xF6pEMT97W4',
type: 'website',
height: 270,
width: 460
}"></div>
PropertyTypeHow to useDescription
urlStringurl: 'https://www.youtube.com/embed/xF6pEMT97W4'URL to the resource that should be presented in the webview control.
typeStringtype: 'website'Define the type of the resource. Values could be website or videofile. Be careful though, youtube-urls for example are of type website! Videofiles are links to actual videofiles (eg. mpeg files)
heightNumberheight: 270The height of the webview ctrl in pixels; if no value is provided, the webview is set to 100 % of the containing element.
widthNumberwidth: 460The width of the webview ctrl in pixels; if no value is provided, the webview is set to 100 % of the containing element.