|
Home > Archive > Macromedia Flash Server > April 2006 > [Q] Video Player related question...
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
[Q] Video Player related question...
|
|
|
| Hi... I need some direction from you guys... 
Let's say that I need to creat a video player that load FLV file over FMS...
One of the functionality is to be able to click on the video itself to save
the position and put it into a list or something so that the user can click
on the element of the list to play from the saved position...
So, basically I need to
#1 save the position of the video
and
#2 play the video from the given position...
Can somebody give me the list of the commands that I am looking for so that
I can go on and do some additional search???
Thank you very much... 
CyanBlue
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
| |
| Bill Sanders 2006-04-27, 6:47 am |
| Jason,
Saving the position on a video is pretty easy using NetStream.time.
Just pass the time property to a storage variable when you stop
playing. Something like this:
var storeThis:Number;
function stopNow()
{
storeThis = ns.time;
ns.close();
};
When you get ready to play, add something like,
function resumeNow()
{
ns.seek(storeThis);
}
starts where you left off. You can save the storage variable using a
persistent shared object or any other file-writing code you want.
As for clicking the video to start it, just put the video into a
Movie Clip and click on the MC to get it stared again.
HTH,
Bill
On Apr 24, 2006, at 11:58 PM, <Jason-KRHSgQQ45+w/N4CUxbK1KQ@public.gmane.org> wrote:
> Hi... I need some direction from you guys... 
>
> Let's say that I need to creat a video player that load FLV file
> over FMS...
> One of the functionality is to be able to click on the video itself
> to save the position and put it into a list or something so that
> the user can click on the element of the list to play from the
> saved position...
>
> So, basically I need to
> #1 save the position of the video
> and
> #2 play the video from the given position...
>
> Can somebody give me the list of the commands that I am looking for
> so that I can go on and do some additional search???
>
> Thank you very much... 
>
> CyanBlue
>
> ________________________________________
_______
> FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
bill sanders | www.sandlight.com | bloomfield, ct | 860-242-2260
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
| |
|
| Thanks, Bill...
Just what I was looking for plus all the information...
I don't even need to do any further Googling...
Much appreciate... 
Have a nice day!!!
CyanBlue
----- Original Message -----
From: "Bill Sanders" <wdsanders-Wuw85uim5zDR7s880joybQ@public.gmane.org>
To: "FlashComm Mailing List" <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
Sent: Tuesday, April 25, 2006 4:42 AM
Subject: Re: [FlashComm] [Q] Video Player related question...
> Jason,
>
> Saving the position on a video is pretty easy using NetStream.time.
> Just pass the time property to a storage variable when you stop
> playing. Something like this:
>
> var storeThis:Number;
> function stopNow()
> {
> storeThis = ns.time;
> ns.close();
> };
>
> When you get ready to play, add something like,
>
> function resumeNow()
> {
> ns.seek(storeThis);
> }
>
> starts where you left off. You can save the storage variable using a
> persistent shared object or any other file-writing code you want.
>
> As for clicking the video to start it, just put the video into a
> Movie Clip and click on the MC to get it stared again.
>
> HTH,
> Bill
>
> On Apr 24, 2006, at 11:58 PM, <Jason-KRHSgQQ45+w/N4CUxbK1KQ@public.gmane.org> wrote:
>
>
> bill sanders | www.sandlight.com | bloomfield, ct | 860-242-2260
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
|
|
|
|
|