|
Home > Archive > Macromedia Flash Server > May 2006 > FLV Playback problems.
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 |
FLV Playback problems.
|
|
| Aasim Momin 2006-05-25, 7:11 am |
| Hi,
=20
I am using an FLV Playback component inn my file for streaming videos
from FMS. I need to changes the videos on the click of a button. This I
have achieved by changing the contentPath parameter dynamically. The
contentPath values are coming from an XML file.
If I place the FLV Playback component on the stage, it shows the first
video but when I try to move to the next video on clicking Next, The
video does not play.
Currently I have made it work by using the attachMovie() function and
not keeping the FLV Playback component on the stage.
I am using Flash 8 Professional and FMS 2.
=20
Could I be missing something?
=20
Regards,
Aasim Momin
=20
=20
=20
________________________________________
_______
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-05-25, 7:11 am |
| Aasim,
It's hard to know w/o seeing some key code. What is the code for
getting data from the XML file and passing it to the contentPath?
Once you're sure that you're getting the right FLV name from the XML
file, it sounds like a pretty straightforward problem, but like you I
may be missing some complexity in your application. I'm assuming
you're using the XML class for reading the XML file, no?
Bill
On May 25, 2006, at 5:09 AM, Aasim Momin wrote:
> Hi,
>
> I am using an FLV Playback component inn my file for streaming videos
> from FMS. I need to changes the videos on the click of a button.
> This I
> have achieved by changing the contentPath parameter dynamically. The
> contentPath values are coming from an XML file.
> If I place the FLV Playback component on the stage, it shows the first
> video but when I try to move to the next video on clicking Next, The
> video does not play.
> Currently I have made it work by using the attachMovie() function and
> not keeping the FLV Playback component on the stage.
> I am using Flash 8 Professional and FMS 2.
>
> Could I be missing something?
>
> Regards,
> Aasim Momin
>
>
>
> ________________________________________
_______
> 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
| |
| Stefan Richter 2006-05-25, 7:11 am |
|
When you call the second file, what syntax do you use? Do you specify the
filename.flv or just filename (no .flv)?
If you are using .flv for the first video then try subsequent ones without
it:
second url: rtmp://myserver/flv_test/disco
and not rtmp://myserver/flv_test/disco.flv
Load the first one using .flv extension.
Stefan
> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
> Aasim Momin
> Sent: 25 May 2006 10:10
> To: Flashcoders mailing list; FlashComm Mailing List
> Subject: [FlashComm] FLV Playback problems.
>
> Hi,
>
> I am using an FLV Playback component inn my file for
> streaming videos from FMS. I need to changes the videos on
> the click of a button. This I have achieved by changing the
> contentPath parameter dynamically. The contentPath values are
> coming from an XML file.
> If I place the FLV Playback component on the stage, it shows
> the first video but when I try to move to the next video on
> clicking Next, The video does not play.
> Currently I have made it work by using the attachMovie()
> function and not keeping the FLV Playback component on the stage.
> I am using Flash 8 Professional and FMS 2.
>
> Could I be missing something?
>
> Regards,
> Aasim Momin
>
>
>
> ________________________________________
_______
> 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
>
________________________________________
_______
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
| |
| Aasim Momin 2006-05-25, 7:11 am |
| Stefan,
Thanks! Your solution has surely worked out.
The videos do play now without the .flv extension.
Regards,
Aasim Momin
-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Stefan
Richter
Sent: Thursday, May 25, 2006 2:49 PM
To: 'FlashComm Mailing List'
Subject: RE: [FlashComm] FLV Playback problems.
When you call the second file, what syntax do you use? Do you specify
the
filename.flv or just filename (no .flv)?
If you are using .flv for the first video then try subsequent ones
without
it:
second url: rtmp://myserver/flv_test/disco
and not rtmp://myserver/flv_test/disco.flv
Load the first one using .flv extension.=20
Stefan
> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org=20
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of=20
> Aasim Momin
> Sent: 25 May 2006 10:10
> To: Flashcoders mailing list; FlashComm Mailing List
> Subject: [FlashComm] FLV Playback problems.
>=20
> Hi,
> =20
> I am using an FLV Playback component inn my file for=20
> streaming videos from FMS. I need to changes the videos on=20
> the click of a button. This I have achieved by changing the=20
> contentPath parameter dynamically. The contentPath values are=20
> coming from an XML file.
> If I place the FLV Playback component on the stage, it shows=20
> the first video but when I try to move to the next video on=20
> clicking Next, The video does not play.
> Currently I have made it work by using the attachMovie()=20
> function and not keeping the FLV Playback component on the stage.
> I am using Flash 8 Professional and FMS 2.
> =20
> Could I be missing something?
> =20
> Regards,
> Aasim Momin
> =20
> =20
> =20
> ________________________________________
_______
> FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>=20
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training=20
> http://www.figleaf.com http://training.figleaf.com
>=20
________________________________________
_______
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
________________________________________
_______
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
| |
| Stefan Richter 2006-05-25, 7:11 am |
| I presume that this is a bug with FLVPlayback, it shouldn't require this
workaround.
Glad it works for you.
Stefan
> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
> Aasim Momin
> Sent: 25 May 2006 10:39
> To: FlashComm Mailing List
> Subject: RE: [FlashComm] FLV Playback problems.
>
> Stefan,
>
> Thanks! Your solution has surely worked out.
> The videos do play now without the .flv extension.
>
> Regards,
> Aasim Momin
>
________________________________________
_______
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
| |
| Peter Burke 2006-05-29, 4:57 pm |
| Stefan Richter wrote:
> When you call the second file, what syntax do you use? Do you specify the
> filename.flv or just filename (no .flv)?
>
> If you are using .flv for the first video then try subsequent ones without
> it:
> second url: rtmp://myserver/flv_test/disco
> and not rtmp://myserver/flv_test/disco.flv
>
> Load the first one using .flv extension.
>
> Stefan
I have a hunch this is related to a problem I have with access log analysis. The
lack of extensions reported there makes it really hard to analyze for file
access. How is a log analyzer supposed to know that /disco is actually a movie
file and not an mp3, or even a file at all and not part of the path?
I'm trying to use Funnelweb with these logs and really am getting nowhere.
Funnelweb is quite flexible (works well with Real, Quicktime, Windows Media and
web logs), even lets me add the .flv extension as a media type, but it does not
recognize most of the fields in the log. And even if I hack the logs manually by
adding extensions, it seems to ignore file access and most other columns. Does
anyone know of a tool that actually works with these logs?
Peter
________________________________________
_______
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
| |
| Asa Whillock 2006-05-29, 4:57 pm |
| Hi all,
Just a reminder, FMS lets you name the files whatever you want - the way
you specify type of playback is like so
flv:streamName
not=20
streamName.flv
why? Because oddly enough streamName.flv.mp3 is a valid name of an mp3
file - but it becomes rather difficult for the server to tell how to
play this file then. We'd have to build rules and what not, so it's
rather unpleasant.
mp3:streamName will play a file called streamName.mp3 sitting on disk. =20
Before you say, 'when did all this happen' - it's been that way since
1.5. I realize it's not as pneumonic as it might be, but hey them's the
breaks. BTW the flv: type on the front of a stream playback is assumed
if not included, so usually for flv's you don't have to include a type
specifier.
Cheers,
Asa
-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Bill
Sanders
Sent: Thursday, May 25, 2006 2:16 AM
To: FlashComm Mailing List
Subject: Re: [FlashComm] FLV Playback problems.
Aasim,
It's hard to know w/o seeing some key code. What is the code for =20
getting data from the XML file and passing it to the contentPath? =20
Once you're sure that you're getting the right FLV name from the XML =20
file, it sounds like a pretty straightforward problem, but like you I =20
may be missing some complexity in your application. I'm assuming =20
you're using the XML class for reading the XML file, no?
Bill
On May 25, 2006, at 5:09 AM, Aasim Momin wrote:
> Hi,
>
> I am using an FLV Playback component inn my file for streaming videos
> from FMS. I need to changes the videos on the click of a button. =20
> This I
> have achieved by changing the contentPath parameter dynamically. The
> contentPath values are coming from an XML file.
> If I place the FLV Playback component on the stage, it shows the first
> video but when I try to move to the next video on clicking Next, The
> video does not play.
> Currently I have made it work by using the attachMovie() function and
> not keeping the FLV Playback component on the stage.
> I am using Flash 8 Professional and FMS 2.
>
> Could I be missing something?
>
> Regards,
> Aasim Momin
>
>
>
> ________________________________________
_______
> 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
________________________________________
_______
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
|
|
|
|
|