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>
FormControl Options
type - required
Define the type of the resource. Be careful though, youtube-urls for example are of type website! Videofiles are links to actual videofiles (eg. mpeg files)
How to use:
type: 'website'
Type:
'website' | 'videofile'
url - required
URL to the resource that should be presented in the webview control.
How to use:
url: 'https://www.youtube.com/embed/xF6pEMT97W4'
Type:
string
height
The height of the webview ctrl in pixels; if no value is provided, the webview is set to 100 % of the containing element.
How to use:
height: 270
Type:
number
width
The width of the webview ctrl in pixels; if no value is provided, the webview is set to 100 % of the containing element.
How to use:
width: 460
Type:
number