problem with tutorial:Creating a dynamic playlist forstreaming flash video

Ask a Question related to Macromedia Flash Flashcom, Design and Development.

  1. #1

    Default problem with tutorial:Creating a dynamic playlist forstreaming flash video

    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

    free23 Guest

  2. Similar Questions and Discussions

    1. FMS2 Tutorial - Creating a Dynamic Playlist forStreaming Flash Video
      Hi, I would really appreciate any guidance on getting video streaming working. I used default settings and ports for the installation. I then...
    2. Creating a Dynamic Playlist for Streaming Flash Video
      Hello, I have been trying the tutorial given Lisa Larson in order to create a dynamic playlist for streaming Flash video files. I don't have any...
    3. Dynamic Playlist for Streaming Video Errors
      I'm using Lisa Larson's tutorial on the adobe website to create a dynamic playlist from an XML file to work with out FMS server. After playing...
    4. Dynamic Playlist for streaming video
      This is my first attempt at building a dynamic playlist for streaming flash video and I'm following the tutorial at...
    5. WZ2K Tutorial Update - Latest Dynamic Dreamweaver video tutorial
      Hi, The latest Dreamweaver video tutorial has been added this evening, covering the following techniques: Expanding the MySQL database...
  3. #2

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

    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
    [url]www.lonhosford.com[/url]
    May many happy bits flow your way!
    "free23" <webforumsuser@macromedia.com> wrote in message
    news:e3q68h$4ca$1@forums.macromedia.com...
    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


    Motion Maker Guest

  4. #3

    Default Re: problem with tutorial:Creating a dynamic playlistfor streaming flash video

    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...

    free23 Guest

  5. #4

    Default Re: problem with tutorial:Creating a dynamic playlistfor streaming flash video

    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

    aasimmomin Guest

  6. #5

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

    .....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 [url]http://yourdomain.com/yourmovie.html[/url] 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
    [url]www.lonhosford.com[/url]
    May many happy bits flow your way!
    "free23" <webforumsuser@macromedia.com> wrote in message
    news:e4a37a$ak5$1@forums.macromedia.com...
    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...


    Motion Maker Guest

  7. #6

    Default Re: problem with tutorial:Creating a dynamic playlistfor streaming flash video

    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;
    }
    }
    }

    JMStanley Guest

  8. #7

    Default Re: problem with tutorial:Creating a dynamic playlistfor streaming flash video

    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

    aasimmomin Guest

  9. #8

    Default Re: problem with tutorial:Creating a dynamic playlistfor streaming flash video

    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

    banski Guest

  10. #9

    Default Re: problem with tutorial:Creating a dynamic playlistfor streaming flash video

    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:
    [url]www.*****.com/fms/videosources2.html[/url]
    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




    rica_help Guest

  11. #10

    Default Re: problem with tutorial:Creating a dynamic playlistfor streaming flash video

    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.


    splatter2 Guest

  12. #11

    Default Re: problem with tutorial:Creating a dynamic playlistfor streaming flash video

    Hi Guys,

    It is the main.asc well for me anyway.

    Copy it in and importantly RESTART the server
    splatter2 Guest

  13. #12

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

    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 [url]http://www.developmentnow.com/g/73_2006_5_0_0_752825/problem-with-tutorialCreating-a-dynamic-playlist-for-streaming-flash-video.ht[/url]

    Posted via DevelopmentNow.com Group
    [url]http://www.developmentnow.com[/url]
    garghe Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139