[Xerte] Controlling an flv

Dave Burnett d_b_burnett at hotmail.com
Tue Jan 4 14:12:28 GMT 2011



Hi Andrew;

I didn't get a clear picture of the issue.

The time indexes work fine now with the addition of the flvPlayer object in the call (apparently the wrapper is not present for the straight movieicon.seek() call).
common_video.flvPlayer.seek(2);

Works a treat now.


From: andrew.lian at andrewlian.com
Date: Tue, 4 Jan 2011 07:56:19 -0600
Subject: Re: [Xerte] Controlling an flv
To: xerte at lists.nottingham.ac.uk

Hello

I have asked this question many times in various fora and the answer seems to be that the points only work with *real* streaming servers - otherwise cuepoints are essential. Don' t know if this helps, but I kind of despair with this as it is critical for the sorts of things I try to do. The only ray of sunshine in this scenario is to construct something with VLC which seems to work with both local and remote media (when it actually calculates the seekpoints correctly). I suspect it works because VCL is a streamer itself - not sure if it works with FLV files - it does work with mp4/mpg.



Hope this helps a bit - at least that is my experience of something I would love to be able to do.

Cheers
Andrew Lian

On Tue, Jan 4, 2011 at 05:31, Dave Burnett <d_b_burnett at hotmail.com> wrote:








themovieid.seek(2) just doesn't seem to do boo.
Although it does trip an onMovieSeek event, which is supposed to mean it is finished seeking.

Tried stopping/pausing prior to calling it and nothing.
Tried putting it below a button to be sure the flv was loaded prior to call.


Tried removing the controls, no stream, etc.
Nothing.   

Maybe the cue points are de rigeur?
e.g. won't do anything with a time index?
Anyone have it working with a time index? 


From: Julian.Tenney at nottingham.ac.uk


To: xerte at lists.nottingham.ac.uk
Date: Tue, 4 Jan 2011 09:16:19 +0000
Subject: RE: [Xerte] Controlling an flv





Under the hood is the FLVPlayback component, which you can access directly if needed. The user controls just access what you can access, so I’m not sure it makes any odds: you might want to call stop() before seeking, not sure.

 Use seek to jump to a particular point. 

You can use addASCuePoint to set up an event at a particular point on the movie’s timeline and handle onASCuePoint to pause / stop / reset the movie

 

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett


Sent: 03 January 2011 16:49
To: Xerte list
Subject: [Xerte] Controlling an flv 


Anyone have a template or hints on controlling which slice of an flv to show?

I have flvs that are used in multiple places, just using different segments.

Figure it uses seek and stop, but I'm sure I'll be re-inventing something, like when to determine it's OK to use seek, what's the effect if the clip is also under user control etc.



Happy New Year all!

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.






-- 
Professor Dr Andrew Lian
Vice-President of AsiaCALL
Chair, Dept. of Foreign Languages
Western Illinois University
Macomb, IL, 61455, USA
e-mail: AP-Lian at wiu.edu; website: http://www.andrewlian.com


Phone: +1 (309) 298-1558; Fax: +1 (309) 298-1060

We don't see things as they are, we see things as we are. (Anaïs Nin)
The universe is made up of stories, not atoms (Muriel Rukeyser)

When you change the way you look at things, the things you look at change (Max Planck)




_______________________________________________
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/20110104/17183175/attachment.html


More information about the Xerte mailing list