all groups > macromedia flash flashcom > january 2008 >
You're in the

macromedia flash flashcom

group:

problem with tutorial:Creating a dynamic playlist for streaming flash video


problem with tutorial:Creating a dynamic playlist for streaming flash video free23
5/9/2006 1:42:41 PM
macromedia flash flashcom: hi, anyone tried the tutorial: creating a dynamic playlist for streaming flash
video?

i follow the instruction exactly as stated in the tutorial and test the fla
file, it worked perfectly well when i open the swf using the macromedia flash
8. Everything look fine. Nothing is changed except the url is changed to
"rtmp://localhost/videosource" in the xml file.

after i publish the file using the setting: access network only, i try to open
the swf and html file from the folder, the thumbnail did not appear and there
is no way i can click on any videos. What i see is only the list, and there is
no response from the flash media server 2. All the files is in the same folder.
Anyone please help with this problem???? thanks
Re: problem with tutorial:Creating a dynamic playlist for streaming flash video Motion Maker
5/14/2006 10:56:54 AM
Do you know if the XML file is actually being read? If not create a
TextField in the movie for tracing and debug.

--
Lon Hosford
www.lonhosford.com
May many happy bits flow your way!
[quoted text, click to view]
hi, anyone tried the tutorial: creating a dynamic playlist for streaming
flash
video?

i follow the instruction exactly as stated in the tutorial and test the fla
file, it worked perfectly well when i open the swf using the macromedia
flash
8. Everything look fine. Nothing is changed except the url is changed to
"rtmp://localhost/videosource" in the xml file.

after i publish the file using the setting: access network only, i try to
open
the swf and html file from the folder, the thumbnail did not appear and
there
is no way i can click on any videos. What i see is only the list, and there
is
no response from the flash media server 2. All the files is in the same
folder.
Anyone please help with this problem???? thanks

Re: problem with tutorial:Creating a dynamic playlist for streaming flash video free23
5/15/2006 2:28:58 PM
sorry but i don't understand what you mean....i debug the movie step by step
and realised that the xml file is being read by the code...
this is a sample of my log files:
#Fields: date time x-pid x-status x-ctx x-comment
2006-05-15 20:08:58 3072 (i)2651170 Unloaded application instance
videosource/_definst_ -
2006-05-15 20:48:19 3848 (s)2641173 FCApplication loaded successfully.
2006-05-15 20:48:19 3848 (s)2641173 Communication Framework loaded
successfully.
2006-05-15 20:48:19 3848 (s)2641173 SimpleConnect loaded successfully. -
2006-05-15 20:48:19 3848 (s)2641173 VideoConference loaded successfully. -
2006-05-15 20:48:19 3848 (s)2641173 Video Playback loaded successfully. -
2006-05-15 20:48:19 3848 (s)2641173 Communication Components loaded
successfully.
2006-05-15 20:48:19 3848 (s)2641173 Sending this message: Hello! You are
connected as: undefined -
2006-05-15 20:48:19 3848 (e)2641190 Error : command msg sent before client
connection has been accepted. -
2006-05-15 20:48:20 3848 (s)2641173 Sending this message: Hello! You are
connected as: undefined -
2006-05-15 20:48:20 3848 (e)2641190 Error : command msg sent before client
connection has been accepted. -
2006-05-15 20:48:20 3848 (s)2641173 Sending this message: Hello! You are
connected as: undefined -
2006-05-15 20:48:20 3848 (e)2641190 Error : command msg sent before client
connection has been accepted. -
2006-05-15 20:48:20 3848 (s)2641173 Sending this message: Hello! You are
connected as: undefined -
2006-05-15 20:48:20 3848 (e)2641190 Error : command msg sent before client
connection has been accepted. -
2006-05-15 20:48:20 3848 (s)2641173 Sending this message: Hello! You are
connected as: undefined -
2006-05-15 20:48:20 3848 (e)2641190 Error : command msg sent before client
connection has been accepted. -
2006-05-15 20:49:42 3848 (s)2641173 Sending this message: Hello! You are
connected as: false -

:frown; hope this help...
Re: problem with tutorial:Creating a dynamic playlist for streaming flash video aasimmomin
5/15/2006 4:11:32 PM
Hi,
I am also encountering the same problem. I can see the list box being
populated with thumbnails but the Video fail to start streaming.
"Error : command msg sent before client connection has been accepted." keeps
appearing in the log.

-Aasim
Re: problem with tutorial:Creating a dynamic playlist for streaming flash video Motion Maker
5/17/2006 11:59:02 AM
.....i debug the movie step by step
and realised that the xml file is being read by the code...


Your original problem stated it worked but not when playing outside the
Flash authoring environment by simply loading the swf from the hard drive.

The Flash authoring environment is a trusted environment and so you really
need to test in the actual deployment mode which loading an swf from the
hard drive is not a valid deployment unless an installed Flash player is
available outside the web browser which you would have as you have the
authoring tool and your users will not.

Use a browser with http://yourdomain.com/yourmovie.html to do final
debugging.

In this regard you may need to debug the movie while running in real time
mode in a web browser with http:// A technique to trace I suggested is to
create a temporary TextField perhaps named out_txt and send trace message to
it such as out_txt.text += "My Trace Expression".



--
Lon Hosford
www.lonhosford.com
May many happy bits flow your way!
[quoted text, click to view]
sorry but i don't understand what you mean....i debug the movie step by step
and realised that the xml file is being read by the code...
this is a sample of my log files:
#Fields: date time x-pid x-status x-ctx x-comment
2006-05-15 20:08:58 3072 (i)2651170 Unloaded application instance
videosource/_definst_ -
2006-05-15 20:48:19 3848 (s)2641173 FCApplication loaded successfully.
2006-05-15 20:48:19 3848 (s)2641173 Communication Framework loaded
successfully.
2006-05-15 20:48:19 3848 (s)2641173 SimpleConnect loaded successfully. -
2006-05-15 20:48:19 3848 (s)2641173 VideoConference loaded successfully. -
2006-05-15 20:48:19 3848 (s)2641173 Video Playback loaded successfully. -
2006-05-15 20:48:19 3848 (s)2641173 Communication Components loaded
successfully.
2006-05-15 20:48:19 3848 (s)2641173 Sending this message: Hello! You are
connected as: undefined -
2006-05-15 20:48:19 3848 (e)2641190 Error : command msg sent before client
connection has been accepted. -
2006-05-15 20:48:20 3848 (s)2641173 Sending this message: Hello! You are
connected as: undefined -
2006-05-15 20:48:20 3848 (e)2641190 Error : command msg sent before client
connection has been accepted. -
2006-05-15 20:48:20 3848 (s)2641173 Sending this message: Hello! You are
connected as: undefined -
2006-05-15 20:48:20 3848 (e)2641190 Error : command msg sent before client
connection has been accepted. -
2006-05-15 20:48:20 3848 (s)2641173 Sending this message: Hello! You are
connected as: undefined -
2006-05-15 20:48:20 3848 (e)2641190 Error : command msg sent before client
connection has been accepted. -
2006-05-15 20:48:20 3848 (s)2641173 Sending this message: Hello! You are
connected as: undefined -
2006-05-15 20:48:20 3848 (e)2641190 Error : command msg sent before client
connection has been accepted. -
2006-05-15 20:49:42 3848 (s)2641173 Sending this message: Hello! You are
connected as: false -

:frown; hope this help...

Re: problem with tutorial:Creating a dynamic playlist for streaming flash video JMStanley
5/17/2006 5:02:13 PM
I'm having the same problem. It appears that the contentPath variable isn't
being passed to the FLVPlayback component when it's created. Anyone have any
ideas? The code looks like this...

listListener.change = function( evtobj ) {
var nav = list.dataProvider[list.selectedIndex];
var reset = true;
for ( var i = 0; i < nav.childNodes.length; i++ ) {
var stream = nav.childNodes<i>;
if ( stream.nodeName == "stream" ) {
attachMovie("FLVPlayback", "my_FLVPlybk", 10)
my_FLVPlybk.skin = "SteelExternalAll.swf";
my_FLVPlybk.clear();
my_FLVPlybk._firstStreamShown = true;
my_FLVPlybk.contentPath = nav.attributes.url + "/_definst_/" +
stream.attributes.name+".flv";
my_FLVPlybk.autoSize = true;
trace(my_FLVPlybk.contentPath);
reset = false;
}
}
}
Re: problem with tutorial:Creating a dynamic playlist for streaming flash video aasimmomin
5/18/2006 3:55:51 AM
Hi,

I guess the problem could be in the main.asc file placed in the
appliactions\app_name folder. Try replacing the main.asc file with the one at
the following location of your Flash8 installation.

c:\Program Files\Macromedia\Flash 8\Samples and
Tutorials\Samples\Components\FLVPlayback\

This worked out for me.

Regards,
Aasim
Re: problem with tutorial:Creating a dynamic playlist for streaming flash video banski
11/22/2006 12:00:00 AM
Hi,

I've the same problem as all of you. Listbox thumbnails shows but the movie
wont play. Ive tried to replace the main.asc without success.

Since it has been a while someone posted I hope some of you have an answer to
this problem.

Best regards
Thomas
Re: problem with tutorial:Creating a dynamic playlist for streaming flash video rica_help
11/23/2006 12:00:00 AM
Hi everyone:

Well, it took me 24 hours to make this thing work, and I'm beat. I hope this
helps someone out there, because making the Dynamic Playlist for Streaming
Flash Video function feels like a major accomplishment. I have literally tried
do to it on and off for months, and I finally succeeded. I'm posting how I
solved the problem here, because it took a combination of the tutorial, forum
advice, and sheer force of will to do it.

Here is what worked for me. Note that I did it off a dynamic ip address by
using free static ip program.
1. I updated FMS 2 to the latest developer's edition.
2. Since I have a dynamic IP address, I used no-ip.com to configure a static
ip address and used their module to maintain a static ip.
3. I used xampp to install apache, php, and mysql. I don't think that had any
influence on my success.
4. After downloading the dynamic playlist zip file from adobe, I extracted the
contents.
5. I followed the advice from a member of the forum and located the main.asc
file in c:\Program Files\Macromedia\Flash 8\Samples and
Tutorials\Samples\Components\FLVPlayback\
6. I copied the main.asc file from flash 8 (step 5)
7. I navigated to programs/macromedia/flash media server/applications folder
and MANUALLY created the folders called videostreams > streams and pasted the
flv files from the tutorial in the streams folder
8. I navigated back a step to the videostreams folder and deleted the old
main.asc file and replaced it with the new main.asc file from step 5 - 6.
9. I ftp'd into my website and created a folder called fms and copied the
videosource2.html, videosource2.swf, videoThumb.as, videoSource.as,
SteelExternalAll files.
10. Before I uploaded the playlist-demo-1.xml file, I modified it to reflect
my no-ip.com address for each video: rtmp://********.no-ip.***/videosource.
Then, I uploaded the xml file to the fms folder on my site.
11. I fired up the flash media server manager and specified my no ip address
for Server One and logged in.
12. I started and pinged Sever One, clicked on the add applications tab, and
located the videosources app and added it.
13. I opened my browser, typed in my domain name:
www.*****.com/fms/videosources2.html
14. I watched in awe as the thumbs loaded and the files streamed.
15. I passed out from overstimulation.

Needlesstosay, I'm pretty tired, so I may have messed up a step or two. I'm
also not going to spell check this thing. I'll check it over again in the
morning for errors, but I don't know if I'll ever be able to make this thing
work again.

Good luck. If you have questions, you're free to ask me, but I probably won't
be able to answer them. In all honesty, I suck pretty badly at Flash and
probably shouldn't be working with it at all.

CB



Re: problem with tutorial:Creating a dynamic playlist for streaming flash video splatter2
1/16/2007 11:17:22 AM
Hi,

I have the same problem.

Changed the main.asc
Running through localhost not "Test Video" in Flash 8

Thumbnails appear, but stream doesnt play.

If you wait for around 5 mins then the stream plays, looks like its maybe
progressive downloading.

Pitty the author wouldnt get on and answer the question, seems everyone has
the same problem.

Re: problem with tutorial:Creating a dynamic playlist for streaming flash video splatter2
1/16/2007 11:28:11 AM
Hi Guys,

It is the main.asc well for me anyway.

RE: problem with tutorial:Creating a dynamic playlist for streaming flash video garghe
1/16/2008 9:11:10 AM
Can sombody post a valid main.asc ?
I can load the thumbs but i can't stream any content (if i run the app from browser; from flash is all ok).


From http://www.developmentnow.com/g/73_2006_5_0_0_752825/problem-with-tutorialCreating-a-dynamic-playlist-for-streaming-flash-video.htm

Posted via DevelopmentNow.com Groups
AddThis Social Bookmark Button