<HTML dir=ltr><HEAD><TITLE>Re: [Xerte] VideoIcon -> playheadTime</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6000.17063" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText29973 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>You should be able to - what does it say VideoIcon inherits from? UICOmponent? Then it's a UI component. It has a member VideoDisplay - thats the thing doing the actual video presentation. I haven't looked, but unless somethig is wron, tha's how the documentation should be...</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> xerte-bounces@lists.nottingham.ac.uk on behalf of Peter Huppertz<BR><B>Sent:</B> Thu 24/06/2010 09:25<BR><B>To:</B> Xerte discussion list<BR><B>Subject:</B> Re: [Xerte] VideoIcon -> playheadTime<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>I think wrapping is not needed, because it creates a whole lot of more work on your side?!<BR><BR>But how can I see, regarding the documentation, the difference between properties I can apply directly to the videoicon and the properties that I need to apply to videoicon.videoDisplay?<BR><BR>myVideoIcon.iconID works, myVideoIcon.playheadTime does not work. But I can't see a difference in the documentation.<BR><BR>Peter<BR><BR>On 22.06.2010, at 12:34, Julian Tenney wrote:<BR><BR>>> At the moment one really thinks it is a property of the VideoIcon.<BR>><BR>> Because that's what it is. Now you're getting into the OO debate -<BR>> should we wrap the VideoDisplay class's methods / properties (there are<BR>> a lot), or should the icon itself inherit from VideoDisplay? If you<BR>> extend VideoDisplay I don't know if you can still do<BR>> addChild(myControls) to build the interface?<BR>><BR>> Mostly OO good practice says favour composition over inheritance.<BR>><BR>> In any case, it's a job for another day,<BR>><BR>><BR>><BR>> On 22.06.2010, at 11:45, Julian Tenney wrote:<BR>><BR>>> myIcon.videoDisplay.playheadTime;<BR>>><BR>>> The icon itself is all the things you see - the video playback, the<BR>>> button, slider and so on - you need to reach in there for what you<BR>> want.<BR>>> Eventually it might be nice to wrap all those methods and expose them<BR>>> via myIcon<BR>>><BR>>> -----Original Message-----<BR>>> From: xerte-bounces@lists.nottingham.ac.uk<BR>>> [<A href="mailto:xerte-bounces@lists.nottingham.ac.uk">mailto:xerte-bounces@lists.nottingham.ac.uk</A>] On Behalf Of Peter<BR>>> Huppertz<BR>>> Sent: 22 June 2010 10:44<BR>>> To: Xerte discussion list<BR>>> Subject: [Xerte] VideoIcon -> playheadTime<BR>>><BR>>> Another question: I want to use the property playheadTime to jump to<BR>>> various points in my video. But if I enter myVideoIcon.playheadTime =<BR>> 30<BR>>> it does not jump to 30 seconds in my video. Also regardless of where I<BR>>> am in the video if I check debug(myVideoIcon.playheadTime) it always<BR>>> displays 0. Any ideas?<BR>>><BR>>> Peter<BR>>><BR>>> ==================================<BR>>> Peter Huppertz<BR>>> E-learning and IT Specialist<BR>>> International Centre for Asset Recovery<BR>>> Basel Institute on Governance<BR>>> Phone: +41 61 205 55 18<BR>>> Fax: +41 61 267 55 19<BR>>><BR>>> _______________________________________________<BR>>> Xerte mailing list<BR>>> Xerte@lists.nottingham.ac.uk<BR>>> <A href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</A><BR>>> _______________________________________________<BR>>> Xerte mailing list<BR>>> Xerte@lists.nottingham.ac.uk<BR>>> <A href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</A><BR>><BR>> ==================================<BR>> Peter Huppertz<BR>> E-learning and IT Specialist<BR>> International Centre for Asset Recovery<BR>> Basel Institute on Governance<BR>> Phone: +41 61 205 55 18<BR>> Fax: +41 61 267 55 19<BR>><BR>> _______________________________________________<BR>> Xerte mailing list<BR>> Xerte@lists.nottingham.ac.uk<BR>> <A href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</A><BR>> _______________________________________________<BR>> Xerte mailing list<BR>> Xerte@lists.nottingham.ac.uk<BR>> <A href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</A><BR><BR>==================================<BR>Peter Huppertz<BR>E-learning and IT Specialist<BR>International Centre for Asset Recovery<BR>Basel Institute on Governance<BR>Phone: +41 61 205 55 18<BR>Fax: +41 61 267 55 19<BR><BR>_______________________________________________<BR>Xerte mailing list<BR>Xerte@lists.nottingham.ac.uk<BR><A href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</A><BR></FONT></P></DIV></BODY></HTML>