Dynamic Playlist with XML generated thumnails
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Macromedia Flash Server > Dynamic Playlist with XML generated thumnails




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Dynamic Playlist with XML generated thumnails  
Asai


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-24-06 12:59 PM




I've been working with the newly updated Lisa Larsen article in the
FMS Dev Center.  She gives an example of generating a playlist
dynamically with and XML file and custom component.  I'm trying to
take this and adapt it to a site I'm currently working on.  The
problem is is that it only seems to work half the time.  That is, the
thumbnails only render one out of every three four times and they're
all inconsistent.  It also seems that the thing is causing FMS to
crash sometimes. When I point the XML file to my local streams, it
seems to jam up and stop delivering any stream, even though the
console says it's working fine.  Does anyone have any experience with this?

thanks guys


 ________________________________________
_______
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






[ Post a follow-up to this message ]



    RE: Dynamic Playlist with XML generated thumnails  
John Rauchert


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-27-06 11:47 AM

We have been trying to use it for a piece we are doing as well and have
run into some problems.

The first issue was that it was opening 5 connections automatically per
user and then fluctuated between 6 and 7 connections when playing back
the video.

After awhile the connections on the video clips would drop out
unexpectedly (similar to what someone was reporting earlier).

We removed the thumbnail functionality and that cleaned up our number of
connections, but we are still experiencing connections dropping suddenly
on vide clips.

Any suggestions on what might be happening would be appreciated.  I have
not yet gotten around to checking the log files but will do so this
week.

The original article is here.

http://www.macromedia.com/devnet/fl..._player.html=20

Thanks in advance

-----Original Message-----
Message: 8
Date: Sun, 23 Apr 2006 19:31:52 -0700
From: Asai <Asai-GXSq7f5MMRaMoCwsdGbDa77nWZmokUtd@public.gmane.org>
Subject: [FlashComm] Dynamic Playlist with XML generated thumnails
To: FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@publi
c.gmane.org>
Message-ID:
<6.2.3.4.2.20060423192016.03b0ceb0- C5v0Q9nL4ij58NQu0lqr2OOqBgL1YeyqHZ5vskTn
x
NA@public.gmane.org>
Content-Type: text/plain; charset=3D"us-ascii"; format=3Dflowed




I've been working with the newly updated Lisa Larsen article in the=20
FMS Dev Center.  She gives an example of generating a playlist=20
dynamically with and XML file and custom component.  I'm trying to=20
take this and adapt it to a site I'm currently working on.  The=20
problem is is that it only seems to work half the time.  That is, the=20
thumbnails only render one out of every three four times and they're=20
all inconsistent.  It also seems that the thing is causing FMS to=20
crash sometimes. When I point the XML file to my local streams, it=20
seems to jam up and stop delivering any stream, even though the=20
console says it's working fine.  Does anyone have any experience with
this?

thanks guys

 ________________________________________
_______
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






[ Post a follow-up to this message ]



    RE: RE: Dynamic Playlist with XML generated thumnails  
David Simmons


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-27-06 11:47 AM

I played with that example a while back and found it buggy as well.   I
don't remember all the details, but some of the stuff I recall was:

* adding a NetConnection onStatus handler (really a must for any
FMS app, you'll never figure out what's happening otherwise)
=09
* adding trace() statements in the onStatus events for streams
as well as the new NetConnection handler.
=09
* cleaning up some really odd ActionScript (like the
ns.connect() call, an non-existing function)

* adding a "snapshottime" attribute to the file XML, as the
start frame of most videos is a pretty useless thumbnail (how many black
screens or copyright notices do you want to see?)

I think the overall concept of that example is good, but I have to admit
I was disappointed at the quality of the code, lack of testing and how
unreliable the app ran.  Our examples and technical articles should work
better.

I sorry but I can't post the fixed source as it's morphed into another
project and would take too much time to extract.

- Dave Simmons
Adobe Engineering



-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.
org] On Behalf Of John
Rauchert
Sent: Monday, April 24, 2006 9:39 AM
To: flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
Subject: [FlashComm] RE: Dynamic Playlist with XML generated thumnails

We have been trying to use it for a piece we are doing as well and have
run into some problems.

The first issue was that it was opening 5 connections automatically per
user and then fluctuated between 6 and 7 connections when playing back
the video.

After awhile the connections on the video clips would drop out
unexpectedly (similar to what someone was reporting earlier).

We removed the thumbnail functionality and that cleaned up our number of
connections, but we are still experiencing connections dropping suddenly
on vide clips.

Any suggestions on what might be happening would be appreciated.  I have
not yet gotten around to checking the log files but will do so this
week.

The original article is here.

http://www.macromedia.com/devnet/fl..._player.html=20

Thanks in advance

-----Original Message-----
Message: 8
Date: Sun, 23 Apr 2006 19:31:52 -0700
From: Asai <Asai-GXSq7f5MMRaMoCwsdGbDa77nWZmokUtd@public.gmane.org>
Subject: [FlashComm] Dynamic Playlist with XML generated thumnails
To: FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@publi
c.gmane.org>
Message-ID:
<6.2.3.4.2.20060423192016.03b0ceb0- C5v0Q9nL4ij58NQu0lqr2OOqBgL1YeyqHZ5vskTn
x
NA@public.gmane.org>
Content-Type: text/plain; charset=3D"us-ascii"; format=3Dflowed




I've been working with the newly updated Lisa Larsen article in the=20
FMS Dev Center.  She gives an example of generating a playlist=20
dynamically with and XML file and custom component.  I'm trying to=20
take this and adapt it to a site I'm currently working on.  The=20
problem is is that it only seems to work half the time.  That is, the=20
thumbnails only render one out of every three four times and they're=20
all inconsistent.  It also seems that the thing is causing FMS to=20
crash sometimes. When I point the XML file to my local streams, it=20
seems to jam up and stop delivering any stream, even though the=20
console says it's working fine.  Does anyone have any experience with
this?

thanks guys

 ________________________________________
_______
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






[ Post a follow-up to this message ]



    RE: RE: Dynamic Playlist with XML generated thumnails  
Elliot Mebane


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-27-06 11:47 AM

Is anyone on the list in Los Angeles?  I run the Los Angeles Flash
Extension Adobe User Group, focused on Flash-enabled technologies like
Media Server/Breeze/Flex, etc...  If you are a local developer doing
Flash-enabled work and are interested in giving a presentation about
your work or the technology, please contact me.  We can also support
remote presentations using Breeze.

Look forward to hearing from you.  Please contact me off-list -

Elliot Mebane
Manager, LAFX | Los Angeles Flash Extension Adobe User Group |
www.lafx.org
elliot-iAPh/i3NputAfugRpC6u6w@public.gmane.org

President, Roguish
Roguish.com
info-TzTj+L1upg9BDgjK7y7TUQ@public.gmane.org




 ________________________________________
_______
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






[ Post a follow-up to this message ]



    RE: Dynamic Playlist with XML generated thumnails  
Steve Krichten


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-27-06 11:48 AM

Sorry I can't help with the dynamic thumbnail part.  We opted to make thumbn
ails manually.  However I might know what's happening with the video clips d
ropping out unexpectedly.

It took some digging into Macromeida's FLV Playback code to figure this out.
  Under the hood, the FLV Playback component creates an instance of a video 
player object each time you ask it to play a new video.  It seams that the c
omponent does not do a good
job of making sure responses from the server only affect the associated vide
o.  So what happens is if you switch to a new video before it ends when that
 previous video stops playing it also stops playing any current video that m
ight be playing.  Maybe th
is is what is happening in your case.  If it is here is how I fixed it...

// Note: I have a n instance of an FLVPlayback component named "player"
private function _playVideo(url:String) {
// Before we start playing a new video, first delete the current video objec
t
// Note: you can't delete the default video object that resides at index 0
// Also I start the player using index 1 so that the one at 0 never interfer
es
if (player.activeVideoPlayerIndex > 0) {
player.closeVideoPlayer(player.activeVideoPlayerIndex);
delete player.getVideoPlayer(player.activeVideoPlayerIndex);
}
// Set a new video player index and make it the active and visible video pla
yer object
// Note: in my class i have a field to keep track of the index (nextVPIndex)
player.activeVideoPlayerIndex = ++nextVpIndex;
player.visibleVideoPlayerIndex = nextVpIndex;
//Now we can play the next video
player.play(url);
}

Hope that helps,
Steve

------------------------------------------------------------
We have been trying to use it for a piece we are doing as well and have
run into some problems.

The first issue was that it was opening 5 connections automatically per
user and then fluctuated between 6 and 7 connections when playing back
the video.

After awhile the connections on the video clips would drop out
unexpectedly (similar to what someone was reporting earlier).

 ________________________________________
_______
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






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:29 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register