The jQuery Video Player control supports inserted advertisement videos which are played at specified times during the initial video playback. Setting a property can make these advertisements appear every time the end user replays the video. The following sample demonstrates both how the inserted advertisements are played and how the property can be set to a desired value. 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, then 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.

Always Play Commercials