[Xerte] Re: Movie icon
Julian Tenney
Julian.Tenney at nottingham.ac.uk
Fri Mar 25 15:00:18 GMT 2011
I think it must do, because I draw the controls in the ready handler. Let me know if it doesn't and I'll broadcast the other one as well.
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 25 March 2011 14:58
To: Xerte list
Subject: [Xerte] Re: Movie icon
I'm already waiting for onMovieReady, so not in this case.
Of course that assumes that onMovieReady also means MetadataLoaded.
________________________________
From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Fri, 25 Mar 2011 14:40:53 +0000
Subject: [Xerte] Re: Movie icon
Sorry meant to add: do you want that event broadcasting xerte-side?
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 25 March 2011 14:32
To: Xerte discussion list
Subject: [Xerte] Re: Movie icon
The engine does it like this:
this.metadataReceived = function() {
this.flvPlayer.totalTime = this.flvPlayer.metadata.duration;
};
this.flvPlayer.addEventListener('metadataReceived', this);
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 25 March 2011 14:32
To: Xerte list
Subject: [Xerte] Re: Movie icon
Yes:
common_video.flvPlayer.metadata.duration
It's a bugger to know when it's icon or icon.flvPlayer.
Cheers.
________________________________
From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Fri, 25 Mar 2011 14:15:31 +0000
Subject: [Xerte] Re: Movie icon
It's in the metadata - I think you have to fish it out of there?
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 25 March 2011 14:15
To: Xerte list
Subject: [Xerte] Movie icon
Trying to build some custom controls for the movie icon to match the ones I have for the sound icon:
The scrubber bar needs the media length to move ratio-wise.
This is the audio version:
tot_length = common_sound.sound.duration;
Video equivalent?
Can't see anything close when I inspect.
Thnx,
Dave
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
_______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
_______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110325/4df43bb6/attachment-0001.html>
More information about the Xerte
mailing list