New FLVPlayBack component and RTMP protocol

hi all
I'm using "FlvPlayBack" component that ships with Flash 8 to
play a bunch of FLV's from an XML file. According to the
documentation (given that my component on the stage is called X), I
can do:
X.contentPath = "rtmp://server/foo/bar.flv";
and i should be set. The problem is that the above doesn't
work
now the same program works if i feed it an XML with paths to
local FLV files (instead of over RTMP protocol) -- also I can
stream the files using Netconnection/Netstream combo
it's only when i do
X.contentPath = "rtmp://server/foo/bar.flv";
that i get into probelm

Did you configure the FMS properly? Did you put the main.asc
file in the application folder (check out this link:
http://livedocs.macromedia.com/flash/8/main/00003495.html).
Try to debug the issue. Start with FMS administration console
and check if you get any incomming connection.
If no, make sure your can access the "server" domain.
If yes, check you have placed the files in the application
folder as needed.
Check the logs from the FMS.
If still not working post some more details. My bet goes with
the main.asc which handle the connection with flvplayback
component.
//Bomolete

Similar Messages

  • FLVPlayback component and rtmp

    I have the flash media streaming server 3 installed on a
    server in our office. It is set up with a few sample flv/mp4 files
    and is working great with the vodtest html page that comes with it.
    I've now come to making my own flash file using the
    FLVPlayback component (at the moment i've just got a black document
    with a flvplayback instance in the middle, which i've given the
    correct rtmp path in the component inspector). It works fine in
    flash when using Test Movie, it buffers up the file and start
    playing almost immediately.
    Unfortunately, if I publish the flash file and open it in a
    web browser, all I get is an endless buffering bar. I'm hoping
    theres something simple I've missed out somewhere.

    Hello are you loading the webpage on that local machine ?
    theres a security thing in flash that wont let you play the
    video in that way. open the html file on a different computer to
    the streaming server

  • Loading a swf with FLVPlayback component, and the flv restarts playing by itself......

    Hi.
    i have an fla file with 5 keyframes. Each keyframe navigates forward to the following keyframe. On the fifth keyframe, a Loader loads an external swf. The external swf has an flv playback component with sound.
    The fifth keyframe, other than having a button to click to load the swf, has a movie clip that navigates you back to the first keyframe.
    The loaded swf, once loaded, may be removed using removeThis function which has removeChild code as well as a  _flv.stop(); which makes the flv stop when the swf is removed. So u're back on keyframe 5, no sound - good!.
    ASo, all is well and the user can navigate back to the first keyframe (from keyframe 5), and from there continue on to the 2nd, 3rd, 4th and 5th keyframes again,  problems start though, when you get to that 5th keyframe again: that keyframe has an FLVPlayback component playing an flv, which at that point becomes very sluggish as all the mc animations on that 5th frame. And worse, i realize, the flv in the external swf that was previously loaded, starts playing by itself, which i know, because i hear its sound track.
    I tried putting a conditional statement to tell the _flv to stop on keyframes 1 and 5, but that causes errors, considering that the flv is an undefined property from the perspective of those keyframes.
    Any help would be very appreciated:)
    thanks.

    var loader:Loader = new Loader();
    loader.load(new URLRequest("_.swf"));
    house.addEventListener(MouseEvent.CLICK, loadswf1);
    function loadswf1(event:MouseEvent):void
        addChild(loader);
    this is how i'm loading the swf. I tried using   Loader.unloadAndStop() inside that loadswf function but get an error -
    Scene 1, Layer 'a', Frame 75, Line 83
    1061: Call to a possibly undefined method unloadAndStop through a reference with static type Class.

  • Issues with flvplayback component and domain names

    I have fms running on linux with an apache webserver on the same machine and I'm have some issues regarding domain-names.
    I have done the Walkthrough 2. Simple FLVPlayback 2.5 component which works nicely on my local machine using linux (and also on virtualized Windows). Locally it doesn't matter if I use my IP-adress or my domain-name, it all works fine. However, when I host the swf (on my local machine) and access it from another computer the video does not play. The player doesn't seem to load the flv. However looking at the fms-access-log it looks like a succesfull atempt, it connects, starts playing and transfers some data. I have a crossdomain-file in my apache root. I have tried using both domain names and IP-adresses accessing the swf and the flv. Also copying the swf to the other computer doesn't seem to help.
    Another issue that might be the same problem(?) is that when I try loading an flv with another player (also hosted on my local machine) I can get it to work from that other computer (and locally), but only when giving the IP-adress. When using the domain-name it will not work and there is no activity in the access-log.
    I have searched quite a bit without finding anything that solves this.
    Any help is appreciated.
    /Erik

    I should add that the two computers are on the same local network. In the swf I access the app: rtmp://computer1.domain/vod/ or give the IP and then state the streams as in the tutorial.
    Also, has anybody had any issues with hostnames vs IPs in rtmp-urls?
    Feeling a bit lost tbh.
    /Erik

  • Where's the new video component?

    I just installed the 9.0.2 update (on my Mac Pro) which is
    supposed to have a new video component that allows the use of h.264
    video. However, there doesn't seem to be any new components and the
    old FLYPlayback component still doesn't recognize anything other
    than a .flv file. Is there a problem with the updater or am I
    missing something here?

    > try using NetStream/NetConnect on a video object. I
    haven't
    > tried this yet, but give it a shot.
    That's a good thought, and it certainly does work with a
    Video object
    and AS3. However, I did try this with the FLVPlayback
    component and, well
    ... it works -- but it's not especially intuitive. Not an
    ideal situation,
    unfortunately.
    For one, it's difficult to browse for the non-FLV file (in
    my case, an
    MP4). Why? Because the file filter only looks for FLVs. I'm
    on a Windows
    machine, so I just typed *.* into the "File name" field of
    the browse
    dialog. That overrides the "Files of type" filter and that's
    when I was
    able to see my MP4s. After that, I selected my video file by
    double-clicking on it. That updated the FLVPlayback.source
    parameter to the
    file path, as expected, but after I clicked OK (after a
    verrrrrry long
    pause), Flash gave me an error message, saying "Failed to
    load FLV: [name of
    file]." ("Hmm," I thought, "that would be because I didn't
    ask for an FLV
    file.") But I tested the SWF anyway, and the thing played
    just fine. Which
    means the IDE is now capable of using the latest Flash Player
    to display (to
    test, versus debug) SWFs. That part is good. I would have
    expected the IDE
    not to have such a hard time with it, though.
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Switching between FLVPlayback component at their playheadTime

    Hi There,
    I hope someone can save me with this.
    I am currently on a project (AS3), where I have 2 frames, with videos (using the FLVPlayback component).
    and I want to switch from one video to the next video, however the catch is when i switch to the next video I want the new video to play at the previous video time.
    example:
    Video 1 plays,  10 sec later, you click a button to go and see the next video (in another frame) and that new Video starts 10 sec into it.
    This is the codes I been using so far:
    import fl.video.VideoEvent;
    import fl.video.MetadataEvent;
    video1.addEventListener(VideoEvent.PLAYHEAD_UPDATE, timer);
    function timer(e:VideoEvent):void {
        var newTime = video1.playheadTime;
    nextFrame_btn.addEventListener( MouseEvent.MOUSE_UP, nextFrame);
    function nextFrame (MouseEvent):void
                gotoAndStop(2);
          video2.playheadTime = newTime;
    This doesn't work and I do not know what I am doing wrong.
    many thanks if you can help.

    yes there is another layer with codes but that is for the buttons.. that can work throughout the flash (in all frames). Sorry I forgot about that. Those buttons are just basic home, end buttons. In the other layer is the switch code for the button I am trying to make.
    This button/code for some reason does not like being in the main code layer. So I added it in another layer, which seem to make it work. (The part where I want it to gotoAndStop in another frame.)
    var newTime:int;
    switch_btn.addEventListener(MouseEvent.MOUSE_UP, switch1);
    function switch1 (MouseEvent):void // Function to turn on 3D mode
                        newTime = video1.playheadTime;     
                        this.addEventListener(Event.RENDER,renderF);
    trace("stage:",stage);
                        stage.invalidate();     <= that use to be line 15 before the trace was added.
            gotoAndStop(2);  
                        trace (newTime);
    function renderF(e:Event):void{
      video1.seek(newTime);
    the other layer has this code:
    cha1_btn.addEventListener(MouseEvent.MOUSE_UP, cha1);
    chan2_btn.addEventListener(MouseEvent.MOUSE_UP, chan2);
    function cha1 (MouseEvent):void
              gotoAndStop(10);
    function chan2 (MouseEvent):void
              gotoAndStop(11);
    They are on seperate layers because the switch function is used in all the frames, but to gotoAndStop in different frames.
    aka this one: is in frame 10, which goes to frame 2
    and there will be another one in frame 2 to go to frame 10.
    then there is another in frame 11, which goes to frame 3
    and then the same for frame 3 to goto frame 11.
    so thats why there were in seperate layers, to be able to change that. (sorry if this is getting confusing)

  • FLVPlayback component -- NetStatusEvent

    I'm trying to get the status of a RTMP stream that is being
    played in an FLVPlayback component, and it's not working to well.
    Using the ncMgr, you can't really get any pertinent information...
    I'm looking to catch all the events, such as, connecting,
    connected, playing.. etc... Would it be possible to extend the
    FLVPlayback class to accept these events? Is there something I'm
    missing?

    I got it by editing the NCManager class, and recompiling the
    FLVPlayer.

  • Is it possible to import YouTube videos into a flash FLVPlayback component...?

    Hi all,
    I'm now working on a flash website, i need to play a youtube video inside my flash movie.
    In this Flash file i have a FLVPlayback component and i tried to link the youtube video into this but did'nt work.
    Please help me...

    You should find what you need here: http://code.google.com/apis/youtube/flash_api_reference.html

  • FLVplayback component halts everything

    I've been working on getting video into my flash site with
    the "FLVPlayback component " and i've been able to get it to launch
    and play locally, however when it does launch when i'm "testing
    movie", my flash site quits working. I know this is a bit open
    ended and i'm no flash programmer, but I've been working on this
    all weekend. Can someone help me to integrate the FLVPlayback
    component correctly within my flash site? Thanks!
    -Matt

    It would help if you could explain how your "flash site" is
    structured.

  • FlvPlayback component not visually appealing

    Hi,
    Anyone out there know where a guy can put his hands on a good
    book or tutorial on creating video controls; the flvPlayback
    component and controls are not very pretty. I am creating a flv
    video player and want to provide some style while doing so.
    There must be others who would agree, that the flvPlayback
    componets are ugly.
    Kind Regards,
    Boxing Boom

    Actually the flvplayback component is not ugly.. it provides
    you with a pretty good basic layout to deliver your video as
    quickly as possible to the web.
    Regarding the design of a player.. it's upon your design
    skills to create an appealing player, looking at youtube,
    dailymotion and all those flash sites, they all have pretty simple
    playercontrols, but a book specially for that is not available,
    google for design videocontrols.
    I remember now that there was a book a while ago called
    interface design, not mentioned for "how to design my videocontrol
    interface" but more on the functionality and usability.

  • FLVPlayback Component video and skin as one swf

    Is it possible when publishing a Flash CS4 file to have the Video swf and the Skin swf be in one swf file?
    I have a Flash CS4 (AS2) file that has a FLVPlayback Component. When I publish or test movie 2 swfs are output. I need only 1 swf as I am then going to insert this 1 swf into a Captivate 4 project.
    When I insert the video swf by itself into Captivate 4, I do not have a play bar/skin.
    If it is not possible to publish as one swf, can someone please tell me how I can insert the 2 swfs into a Captivate file and get them to work?
    Thanks in advance.

    My project is called JumpVideo.
    The only 2 items in my library are the FLVPlaybackComponent and a Combo box.
    I have imported a video using the FLVPlaybackComponent and have selected the SteelExternalPlaySeekMute skin to go with the playback.
    The video has defined cue points. The combo box has two values. When the first is selected it jumps to the start of the video. When the second is selected it jumps to the cue point.
    When I publish there are two swfs that are produced; the project swf itself (JumpVideo.swf) and the skin (SteelExternalPlaySeekMute.swf).
    I would like there to be only one swf published (i.e. the skin is within the JumpVideo.swf).
    Is this possible?
    The swfs will then need to be inserted into Captivate 4 as animation.
    If 1 swf cannot be published, then can you perhaps help with how I can insert the JumpVideo.swf and the skin swf into Captivate and have it work as it does in Flash CS4?

  • Is Action Script for netStreaming and FLVPlayback component radically different, not interchangeabl?

    Hi.
    I am using NetConnection and NetStream to play back flv in Flash Pro CS5.5, and trying to add cue point to trigger events using Action Script, and to automatically rewind to the start at the end. There is no problem to trigger events via AS when the cue points are embedded, but i am unable to add cue points using AS.
    When i use an FLVPlayback component, there is no problem to add cue points (http://help.adobe.com/en_US/ActionScript/3.0_UsingComponentsAS3/WS5b3ccc516d4fbf351e63e3d1 18a9c65586-7feb.html) and to loop the playback using autoRewind (and fl.video.VideoEvent.AUTO_REWOUND which i got from Nafem at http://forums.adobe.com/thread/857036).
    However, i am failing to use this same code w/a netConnection and netStream, and would appreciate any help.
    thanks.

    Hello,
    Well, I've got some help from another helpful fellow at macscripter.net and I have a working script - albeit a bit more specific (ie, hardcoded extensions to look for) and a different approach.
    Here's the script:
    on adding folder items to thisFolder after receiving addedItems
    repeat with movieFile in addedItems
    set {Nm, Ex} to getName_andExtension(movieFile)
    set movieFilePath to (thisFolder as text) & Nm & ".avi"
    set subtitleFile to (thisFolder as text) & Nm & ".srt"
    if Ex is ".srt" then
    try
    tell application "iFlicks"
    import (movieFilePath as alias) with gui
    end tell
    end try
    else if Ex is ".avi" then
    if my FinderItemExists(subtitleFile) then
    try
    tell application "iFlicks"
    import (movieFilePath as alias) with gui
    end tell
    end try
    end if
    end if
    end repeat
    end adding folder items to
    on getName_andExtension(F)
    set F to F as Unicode text
    set {name:Nm, name extension:Ex} to info for file F without size
    if Ex is missing value then set Ex to ""
    if Ex is not "" then
    set Nm to text 1 thru ((count Nm) - (count Ex) - 1) of Nm
    set Ex to "." & Ex
    end if
    return {Nm, Ex}
    end getName_andExtension
    on FinderItemExists(thePath)
    try
    set thePath to thePath as alias
    on error
    return false
    end try
    return true
    end FinderItemExists

  • Importing a DC and Creating a new development component

    Hi,
    After importing a DC and Creating a new development component, my netweaver developer studio is complaining that the com.sap.tc.webdynpro.progmodel.api.* cannot be resolved.
    And the strange thing is that if i create a local project and then create a development component, the API can be resolved without any problem.
    Can anyone advise what i should do to fix this problem ?
    Thanks.
    Best Regards,
    Daniel

    Hi Daniel
        Go to your project properties and then go to Java build path and in that Libraries tab there you can find number of JARs included in it for reference of the project just compare both imported and newly created projects and try to add the missing JARs in the imported project
    thanks
    Ninad

  • FLVPlayback and RTMP streaming

    Hello,  I'm streaming a video on my websites Flash page using the FLVPlayback component. I have two questions however: when I unload the containing SWF file the video continues playing. According to the AS3.0 reference for CS4 I can use closeVideoPlayer(0) to remove the video file. I keep getting this error however:  VideoError: 1007: Cannot delete default VideoPlayer      at fl.video::FLVPlayback/closeVideoPlayer()      at Index/closeStreamPlayer()  The other question I have is...I need to have the player resort to a local flv file instead of streaming if the connection is refused by the streaming server or the file can't be found. If I were coding this I'd just create a NetStream and check the status. I'm wondering how I can append a status checker to the player to do the same thing. I can't find anything useful or apparent to me in the reference.  Thanks!  David

    Hello are you loading the webpage on that local machine ?
    theres a security thing in flash that wont let you play the
    video in that way. open the html file on a different computer to
    the streaming server

  • Stream live video - use http or rtmp protocols from player code?

    I'm trying to stream live video for the first time. I've installed FMIS 3.5 without Apache 2.2. I'm confused on the RTMP/HTTP protocol usage,
    I can only have port 80 opened on our FMIS 3.5 box.
    1. I've created a new directory under "C:\Program Files\Adobe\Flash Media Server 3.5\applications" called "livedev" as my publishing point.
    2. Question:
         Do I need to copy main.asc, Application.xml, allowedHTMLdomains.txt, allowedSWFdomains.txt to this directory as well?
    3. Question:
         Using FMLE 3 - FMS URL parameter which protocol do I need to use, does it matter 'http' or 'rtmp'? - http://localhost/livedev or rtmp://localhost/livedev
         Does RMTP use port 80.
    4. Question:
         In my Flash Player code. I dragged an instance of FLVPlayback component, what URL do I need for the 'Source' parameter?
         Which protocol do I need to use, does it matter 'http' or 'rtmp'? - "http://localhost/livedev/livestream" or "rtmp://localhost/livedev/livestream"
    Thanks,
    Dave

    A:
    2.  You don't need to copy main.asc unless you have logic in there that you want on your new application.  It's a text file so you can open and read it, get familiar.  allowedDomains is up to your security policy, but if you want it to apply to that application then yes.  Finally the Application.xml in there is an override of the default one in the server's conf directory - so you only need to include it if you plan on overriding settings from the default.
    3.  Chosing which type dictates whether or not you're doing HTTP (not streaming) or RTMP (streaming) however you've added a complication that you're only allowed to use port 80 - which RTMP does not by default.  FMLE doesn't support HTTP push to FMS, so the FMS URI must be fomr form of RTMP* so you're left with some good choices
    Use RTMP over port 80 like so rtmp://myServerName:80/appName/ <- notice the coded port number
    Use RTMPT which automatically uses port 80 and will get around most proxies that demand HTTP traffic - however there's more performance overhead than RTMP (think maybe 25% more overhead for a wild guess on my part)
    I dunno the answer for your FLVPlayback component but I'm going to take a guess that the issue is about the same here and you should use the same parameter that you're using for your RTMP ingest.  At worst I'm pretty sure that it will work and that's not so bad.
    Asa

Maybe you are looking for

  • [oracle 10.2.0.4] My view is not merged

    Hi, I have a view which is not merged by the CBO. I mean the CBO decides to apply the filter predicate after the execution of the view. Here is the definition of the view CREATE OR REPLACE VIEW VUNSCP AS SELECT X.DASFM,X.COINT,X.NUCPT,X.RGCOD,X.RGCID

  • No Web Authentication - but excluded client with reason code 4

    Hello, we are using a WLC 4400 with Software Version 5.0.148.0 and WCS Version 5.0.56.2. Access Points are AIR-LAP1131AG-E-K9. We have problems with one client (Windows XP SP3). The computer loses the wireless connection all the time, but we don't kn

  • Portal Menu - possibilty of export

    Hi, is there possibility of dynamic exporting and importing menu (or fragment of menu such a set of iViews assigned do role) to the portal (for example in xml file). The problem is that I want to develop portal application and present it on the porta

  • Stor.E TV+ file copy problems

    I have a Stor.E TV+ 2 tb and I have had problems copying files using the on-board system and copying from a USB stick or external HDD. Some file show as invalid. I have discovered that this does not happen or at least happens less if I connect via US

  • In Slideshow - teme:   SCRAP BOOK place q vertical photo in horisontal box

    hello when making a slideshow and choosing teme Scrap book - photo is placed on top of "old paper and a fabric material underneeth. Program is placing a vertical orienteted photo - in a horisontal box - thereby cutting the sides of the photo away. Th