# Dojo VideoPlayer Widget Demo

VideoPlayer Widget:

Widget Usage Example:

    <dojo:VideoPlayer
        aflaxRef="aflax1"
        videoFile="/examples/video/autocross.flv"
        width="300"	height="225"
        onCueEvent="onCue" />

View page source: video.html
View widget source: VideoPlayer.js

Please note:

I had to make a fix to the dojo-0.2.2-widget/dojo.js file. In the uncompressed version (dojo.js.uncompressed.js), I made the following change:

    OLD Line 12159:
    	}else if((fragment[item][0])&&(fragment[item][0].value!="")){
    NEW Line 12159:
    	}else if((fragment[item][0])&&(fragment[item][0].value!="")&&(fragment[item][0].value!=null)){