About Video Extension

iui-video.js is an extension for the iUI framework. It is currently EXPERIMENTAL

For info on how to use this extension see Instructions.

Sean Gilligan

Video Ext - instructions for use.

The Video Extension is easy to install into your iUI powered web app. It requires no changes to existing iUI components. Start by linking the iui-video.js to your main index file just like the you would iui.js.

You can now place compatible HTML5 video in iUI "pages".

Use the following markup for each iUI view ("page") that contains a video:

<div id="video1" >

    <a href="path/to/video.mp4" target="_self" rel="iuiposter" >

        <img src="path/to/poster.jpg" width="nnn" height="mmm" />

    </a>

</div>

The Video Extension will automatically create a video tag and play the video when the iUI view (aka "page") is active.