Available in the OSS Version

Video Player - TypeScript

This sample demonstrates how to configure the video player widget in TypeScript.

This sample is designed for a larger screen size.

On mobile, try rotating your screen, view full size, or email to another device.

The sample shows some features of the video player control including bookmarks and related videos. Note: When running this sample on a mobile device, the default device video player controls are rendered, unless the Modernizr JavaScript library is undefined. If for some reason you don't have the Modernizr library available on your page, the igVideoPlayer control is rendered, which in some cases may have fewer touch capabilities than the default device video player. That's why this sample uses the Modernizr library and in mobile contexts the igVideoPlayer falls back to the default device video player.

Code View

Copy to Clipboard