Why donate
API Explorer
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).

Loading QVideo API...

Usage

Basic

Basic



With aspect ratio

With aspect ratio



Markup equivalent

HTML markup