Video View

Overview

VIDEO view is a component that allows to play video in an app. It inherits from view.


Related sample: 11_others/04_video.html

Initialization

The following is an example of initialization with the commonly used parameters (to see a full list of VIDEO's parameters, please refer to the corresponding chapter of the manual):

dhx.ui({
 	view:"video",
        id:"topVideo"
	src:"movie.avi",
	autoplay:true,
	controls:false
})

Specify id if you're going to refer to VIDEO later.

API Reference

Related articles

A full list of articles.

To use ui functionality, touchui.css and touchui.js files must be included.