Available in the OSS Version

Video Player - Fallback Video

This sample demonstrates how to manage video playback by replacing the jQuery video player with an appropriate media control if the end user’s browser does not support HTML5 video.

This sample is designed for a larger screen size.

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

With the browserNotSupported event of the jQuery video player control, you can execute custom code to manage playback when an end user tries to browse the web page with a browser that does not support HTML5 video. In this sample, the jQuery Video Player is replaced with a Microsoft Silverlight media control to enable playback. Please view the sample in a browser without HTML5 video support (e.g., Internet Explorer 8) to best understand how this sample works. The video used for this sample does not contain audio. 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