Add binding variable to the HTML5 Video widget
Hello
I'm working to modify the HTML5 video widget
I was able to add an input event "Play" (bindable to a mashup event) that does the play of the video.
I'm now trying to add a bindable output parameter that is the length of the video (this is available with the "duration" property of the HTML5 video object)
I added this param correctly (VideoLength), I can see this on the mashup and I bound it to a label to see the value),
I can set and see a "test" value with this.setProperty('VideoLength', 100); executed when a new video file is set
but I don't know how to retrieve the "duration" DOM property ... it should be somethign like
this.setProperty('VideoLength', ???.duration???);
can someone help ?

