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>
| Property | Type | How to use | Description |
|---|---|---|---|
| url | String | url: 'https://www.youtube.com/embed/xF6pEMT97W4' | URL to the resource that should be presented in the webview control. |
| type | String | type: '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) |
| height | Number | height: 270 | The height of the webview ctrl in pixels; if no value is provided, the webview is set to 100 % of the containing element. |
| width | Number | width: 460 | The width of the webview ctrl in pixels; if no value is provided, the webview is set to 100 % of the containing element. |