Video

Using the QVideo component makes embedding a video like Youtube easy. It also resizes to fit the container by default.

TIP

You may also want to check our own HTML 5 video player component: QMediaPlayer, which is far more advanced than QVideo (which essentially is an iframe pointing to embedded Youtube videos).

QVideo API

Usage

Basic




With aspect ratio




Markup equivalent