FLVPlayBack component

Hello

I am trying to get a handle on the FLVPlayBack component.

I have the instance of the component drugs at my stage.

When I set the contentPath of the file name, we'll call it ald.flv and test the movie on my development machine, the video plays.

However, when I download the file swf and flv on my live server for quality controls, it does not play, even if the swf and flv are in the same directory, both on our development box and our direct box.

In addition, if I set the content to an http address path to point to the FLV on our direct box, the video does not, on our development or our direct box.

Now, the propaganda on the Adobe website, they claim "It Just Works". Well, it 'Just' does not work.

Can anyone point us in the direction of this ' work '?

Thank you very much.

GN

leatherjeep wrote:
> :) OHHHHHHHHH!
>
> Can you tell me all references about these MIME configurations? I am
> familiar with them, and I know how to configure them on our web server.
> but there is really not much sense to me that my server would require no
> more change - I think I understand the video plays
> the Flash Player on the client machine - with no impact on the
> web server set up.
>
> If you have a url to a post here in the discussions on this issue which
> would be much appreciated.
>
> I'll try your theory of video import tomorrow... Alas, I'm
> time to access today.
>
> Thanks for your help so far.

I had the same problem. They added this mime type
The mime type that was added was: video/x-flv

Hope this helps

Tags: Adobe Animate

Similar Questions

  • Help with the FLVPlayback component in Air for Android

    Hi all

    I am currently working on a project for an Android tablet in which I need to play a FLV video on a specific image.

    To do a standard PC/Mac packadge I would use normally FLVPlayback component to load the external FLV video, I did a few times before with no real problems.

    But I can't seem to get this working for the Android tablet that I'm working on.

    I post the .apk file and got the .sfw of player and the FLV video file include the value, but I can't seem to load the video playback component.

    Once the application is installed on the tablet of the Player bar appears but no content is never displayed.

    I think it must be something to do with the path of the source I put in place for the components of reading, but once the .apk is installed I don't really know where ends the FLV video or what will be the relative path to it: S

    Everyone manages to get the FLVPlayback component to work on an android Tablet?

    I hope someone can help!

    Thanks in advance.

    I found the solution. If someone asks me. Simply change the video format. do not use flv. Yassin

  • FLVPlayback component AS3 detect when there is no source file?

    Hi all

    I have an AS3 FLVPlayback component on stage playing movies from a local folder. There are 22 films in the folder and it chooses the one he will play random mathRandom function where it concatenates .flv to one that has been generated (1.flv, 2.flv and so on).

    For ease of maintenance, I decided to control the set of random numbers with a variable that is defined in an external text file, so if someone adds new movies all that person needs to do is go in the external text file and the increase in the value of the variable to reflect the number of films in the folder (and any new film should follow the naming convention that is number.flv). When I'm in control of the files is no problem, but I can't looking for a way to detect if the number generated film exists or not (let's say the random number is 10 so 10 flv should be played, but 10 flv does not exist in the folder). I just want to add an if statement that handles only if there is no such thing as the chosen film look for another, but I can't seem to find a property that I can use to test this.

    My FLVPlayback instance is named myMoviePlayer. I tried:

    myMoviePlayer.totalTime: this always returns NaN, that the film exists or not.

    myMoviePlayer.preferredWidth: this always returns-1, that the film exists or not.

    myMoviePlayer.state: the return of loading, if film still exists or not.

    I tried all other read-only properties defined for FLVPlayback, but they always return the same value that the film exists or not. So I tried to trace these properties but with myMoviePlayer.source and that always returns an error: «Property may not set a static String type reference»

    In any case, this is my code as it is right now I'm trying to solve this problem:

    var loader:URLLoader = new URLLoader();
    loader.dataFormat = URLLoaderDataFormat.VARIABLES; 
    loader.addEventListener(Event.COMPLETE, loading); 
    loader.load(new URLRequest("movies.txt"));
    var extNumber;
    function loading (event:Event):void { 
              extNumber = loader.data.nMovies;
              ran = genRandomNum(1, extNumber);
              trace(ran + ".flv");
              myMoviePlayer.source = 25 + ".flv"; //I actually have extNumber defined as 22 in the movies.txt file so 25 should force an error
              trace(myMoviePlayer.totalTime);
              if (myMoviePlayer.totalTime > 0) {
                        trace ("It lives!")
              }
    }
    myMoviePlayer.addEventListener(Event.COMPLETE, playAgain);
    stage.displayState = StageDisplayState.FULL_SCREEN;
    myMoviePlayer.fullScreenTakeOver = false;
    stage.scaleMode = StageScaleMode.NO_SCALE;
    function playAgain(e:Event):void {
              trace("starting over");
              trace(extNumber);
              ran = genRandomNum(1, extNumber);
              trace(ran);
              myMoviePlayer.source = ran + ".flv";
              myMoviePlayer.play();
    }
    var ran:Number = genRandomNum(1, extNumber);
    function genRandomNum(minNum:Number, maxNum:Number):Number {
              return (Math.floor(Math.random() * (maxNum - minNum + 1)) + minNum);  
    }
    
    

    Here are some classes that check if a file exists on a server:

    loading http://www.kirupa.com/forum/showthread.php?328651-checking-to-see-if-a-File-exists-Before-

  • 2.1 on FMS 4.5 FlvPlayback component

    I've recently updated to 4.5 FMS of FMS 3.5.  I have a lot of old apps that uses the FlvPlayback 2.1 component, these applications have ceased streaming video.  All applications that use the 2.5 FlvPlayback component or OSMF or other players like JWplayer work very well with the FMS 4.5.  FMS 4.5 does not work with the old 2.1 FlvPlayback component?

    I have the answer.  The new server uses ipv6 instead of ipv4.  These components use old mush not be smart enough to catch the failed to connect to the network, because I'm no ioerror, just security error sometimes an asynchronous error. Anyway, luckly I just had to enable ipv6 in the server.xml file.  Now everything works.

  • Remove noise in the FLVplayback component?

    How to remove the sound of "specifically" to the FLVplayback component? Given that the sound will not stop playing when I'm on a different page (assuming that if the person does not click on the pause button, and navigate to other pages)... Normally, I would add SoundMixer.stopAll (); for each button in my swf main and loaded but it stop my background music as well...

    The flvplayback component is located in another swf file and the code has been added on the second frame of the movieclip call "scrollGroup.

    //////////////////////////////////////////

    Import fl.video.FLVPlayback;

    import flash.events.Event;

    var flvPlayback:FLVPlayback = new FLVPlayback();

    flvPlayback.fullScreenTakeOver = false;

    flvPlayback.autoPlay = false;

    flvPlayback.source = "video/Listening_to_Community_Voices.f4v";

    flvPlayback.skin = "MinimaFlatCustomColorPlayBackSeekCounterVolMuteFull.swf";

    flvPlayback.x = 31;

    flvPlayback.y = 123.8;

    addChild (flvPlayback);

    /////////////////////////////////////////

    25-11-2011 1-35-04.png

    http://forums.Adobe.com/message/2587415?TSTART=0

  • How to read the videos recorded using the FLVPlayback component?

    Hey guys,.

    I recorded video using fms and I want to play using the FLVPlayback component. I did some research but I can't find something

    useful, I tried this code:

    FLVPlayback.source = "rtmp://localhost/appname/instancename/video";

    This code does not work. Did I do wrong or something? Can someone tell me please on track!

    Thanks in advance!

    Randy

    You may probably want to use something like a text box can be changed in your swf file, where a path is entered could be played by the FLVPlayback component in the swf file.

  • [Issue] FLVPlayBack component in visualizzation browser

    Hi all,

    I need help abput FLVPlayback component:

    I created a project with several clip of 3D animation, each of them containing a FLVPlayback component.

    When I run this project in a stand alone flashplayer or an empty HTML page everything works fine, when I run what it inside the site target Web as IE or Firefox, the FLVPB does not appear is appearance of control (like volume, play/pause and so on) when a mouse over/out event product.

    Can someone give me a help? Thank you

    Looks like your original problem was one of multiple paths... a pretty common issue. And Yes, you can reuse the skin on several pages, as long as the path is correct. So when used on different pages, just be sure that the used path is correct for this page.

    As a small reminder on multiple paths:

    Path problems

    Almost always, when it works on the local computer and not by the server, it's a path problem.
    You can put your related Flash files into whatever the desired files, they don't have to be at the root. But if they stick to that worked, then you know that the question was a path problem.
    Remember that the paths become compared to the Web page on which these Flash files are used. Thus, for example, that if your .swf is located in the folder data/flash and you use this .swf on a Web page under the root, you are indeed, remove this data/flash .swf and put them in the root. So if the .swf is responsible for all associated files (xml, etc.), the path used inside the .swf in the .xml file must be compared to its new location in the root and back down into flash/data. This is true even if when you test the .swf by itself, it can be inside the flash/data and work very well, as compared to its location, the path is very good, they are in the same folder. But if this same path is used when the .swf is placed on a folder page level two upward, the relative path has changed, the old "same folder" path will not work.
    So just remember that you use an address to the final location and you can put the files where you want.
    Best wishes
    Look for the video
    www.cidigitalmedia.com

    Good luck to you!

    Adninjastrator

  • How to get the NetConnection off an in AS3 flvplayback component?

    http://www.Flashcomguru.com/index.cfm/2009/8/14/FLVPlayback-obtain-NC-reference

    I followed the above example in AS2, but only get the error:

    Call to a possibly undefined method getNetConnection through a reference with static type fl.video:INCManager.


    Here is my code:

    this.addEventListener (Event.ENTER_FRAME,
    function() {}
    If ((nc = player.ncMgr.getNetConnection ())! = undefined)
    {
    trace (NC);
    }
    });

    Someone knows how to do it in AS3?

    Hello

    Drag the flvplayback component on the stage and 'vidplayer' name in the properties panel. Then, you can use the following code example:

    import flash.utils.setInterval;
    import flash.utils.setTimeout;
    import flash.utils.Timer;
    import flash.events.TimerEvent;
    import flash.events. *;

    Import fl.video.FLVPlayback;
    Import fl.video.VideoPlayer;
    Import fl.video.VideoEvent;

    import flash.display.MovieClip;

    VideoPlayer.iNCManagerClass = fl.video.NCManagerNative;
    vidplayer.isLive = false;
    vidplayer.isDVR = false;
    vidplayer.source = "rtmp://localhost/vod/sample";

    var videoplayer:VideoPlayer;
    var flvplayback:FLVPlayback;
    FLVPlayback = FLVPlayback (this.getChildByName ("vidplayer"));
    VideoPlayer = flvplayback.getVideoPlayer (0);
    setTimeout (initMonitor, 5000);

    function initMonitor (): void
    {
    If (videoplayer.netStream! = null)
    {
    trace ("video plays!");
    If (VideoPlayer.NetConnection)
    {
    trace ("Got NetConnection!");
    }
    }
    on the other
    {
    trace ("Main.as:" + "not connected to FMS yet - try again...")
    setTimeout (initMonitor, 5000);
    }
    }

    Kind regards

    Amit

  • Load FLV into the FLVPlayback component?

    I have a table of videos coming from an XML doc. Get the name of my video in the correct trace statement, I'm don't know how to load the FLV video in the player. I have an FLVPlayback component on the interface named "video". The video, I'll load will be ("' video / ' + videoArray [0]")). What is the right way in AS 3 to load this video?

    You can set the source property of the component:

    myPlayer.source = ' video / ' + videoArray [0];

  • Add time to the FLVplayback component

    Hi everyone, I'm using the FLVplayback component for a project im doing. I want to add that the time elapsed and time remaining on the controls. I don't really want to create my own controls, as im happy with the flv playback component. The FLV playing in the component files is external and is loaded in via as3

    Is there a quick and easy way to do this?

    See you soon
    Dan

    use:

    Import fl.video.VideoEvent;
    Import fl.video.MetadataEvent;

    var fullDuration:String = "";
    function metadataReceivedF(e:MetadataEvent):void {}
    fullDuration = prettyTime (vidPlayer.metadata.duration);
    };
    function updateF(e:VideoEvent):void {}
    var paTime = vidPlayer.playheadTime;
    If (fullDuration! = "") {}
    time_txt. Text = prettyTime (vidPlayer.playheadTime) + "/" + fullDuration;
    }
    };

    vidPlayer.addEventListener (MetadataEvent.METADATA_RECEIVED, metadataReceivedF);
    vidPlayer.addEventListener (VideoEvent.PLAYHEAD_UPDATE, updateF);

    function prettyTime(timeinSeconds:Number):String {}
    var seconds: Number = Math.floor (timeinSeconds);
    var minutes: Number = Math.floor (seconds/60);
    var hours: Number = Math.floor(minutes/60);
       
    seconds, % = 60;
    % of minutes = 60;
       
    var sec: String = seconds.toString ();
    var min:String = minutes.toString ();
    var hrs:String = hours.toString ();

    While (sec.length< 2)="">
    s = '0' + seconds;
    }
    While (min.length< 2)="">
    min = "0" + min;
    }
    While (hrs.length< 2)="">
    h = "0" + hrs;
    }
    return h + ":" + min + ":" + seconds;
    }

  • targeting a FLVplayback component in an element nested movie

    I am trying to get my own buttons to load FLV movies into the FLVplayback component. I work in a simple test but need help to operate on a level more complex. The test is here http://lawrencejonespromoprince.com/testvideo.html

    I named the FLVplayback instance "my_video".

    The simple buttons have this script in action:

    on (release) {}

    my_video. Load ("videonamehere.flv");

    my_video. AutoPlay = true;

    }

    This works fine as long as the FLVplayback component and the buttons are on the same frame on the same page. But for the actual use, I need to work where the buttons on a page that is nested in another element of the film. If the NEST looks like this:

    Scene1 Nestmovie1 Nestmovie2 Nestmovie3

    .. .when FLVplayback component is in Nestmovie2 and the buttons are in Nestmovie3.

    Nesting was needed so that the buttons are on a separate panel slider so I can scroll through the list of movies.

    See the current flash site here http://lawrencejonespromoprince.com/index2.html

    and the movie list (not made) will be on the Promos 30 page.

    So now the question is: How can I target the FLVplayback instance in a nested movie.

    Thank you

    You should be able to use references to _root to return to the main timeline to target the flv player

    on (release) {}

    _root.nestedMovie1.my_video. Load ("videonamehere.flv");

    _root.nestedMovie1.my_video. AutoPlay = true;

    }

  • The FLVPlayback component to play MP3 without FMS?

    The FLVPlayback (version 2.5.0.15) component will play an MP3 file without having to be listened to by a Flash Media Server? All I want is to place a player in my Flash who plays an MP3 file that is located in the same directory as the SWF file.

    Here is my code... it's pretty simple:

    Import fl.video.FLVPlayback;


    var myMusic:FLVPlayback = new FLVPlayback();

    myMusic.source = "mySong.mp3";

    myMusic.skin = "SkinOverPlayMute.swf";

    myMusic.skinBackgroundColor = 0xCCCCCC;


    addChild (myMusic);


    you might be able to compel a flvplayback component to manage mp3 files, but there is no advantage and a lot of inconvenience.

  • How to unload a FlvPlayback component

    What are the steps to download a flv file after clearing the necessary memory used for loading and also to remove the component FLVPlayback.

    This is the code I used to create FLVPlayback component and setting its source.

    public var m_flvPlayer:FLVPlayback;

    m_flvPlayer = new FLVPlayback();

    m_flvPlayer.AutoPlay = false;

    m_flvPlayer.source = "FileName.flv".

    addChild (m_flvPlayer);

    Attached to unload the actions button

    m_flvPlayer.stop ();


    m_flvPlayer.autoRewind = true;

    m_flvPlayer.getVideoPlayer (0). Close()

    removeChild (m_flvPlayer); Clears FLVPlayback component.

    Are there any other important step we need to do for safe unloading of the FLVPlayback component?

    use:

    public void init(sFileName:String):void {}
    trace (FLVPlayback.version);

    m_flvPlayer.activeVideoPlayerIndex = 1;
    m_flvPlayer.visibleVideoPlayerIndex = 1;
    m_flvPlayer.AutoPlay = true;
    m_flvPlayer.source = sFileName;
    }
    public function unINI (): void {}
               
    m_flvPlayer.stop ();
    m_flvPlayer.autoRewind = true;
    m_flvPlayer.closeVideoPlayer (1);

    MyComObj.removeChild (m_flvPlayer);
    m_flvPlayer = null;

    MyComObj.nextFrame ();

    }

  • FLVPlayback component look at a multiple of flv

    Hi I have set up an instance of flvplayback and when a button is clicked I want to load in and read a new flv

    I have the following code:

    Add the FLVPlayback (required for playback of flv) class
    Fl.video import. *;

    Create a new FLVPlayback object to contain the video
    var myVideo:FLVPlayback = new FLVPlayback();
    set the width of the video
    myVideo.width = 544; set the width of the video
    myVideo.height = 304; set the height of the video
    myVideo.x = 200; set the horizontal position video
    myVideo.y = 88; set the vertical position video
    Set the video source to the current video stored in the variable myFlv
    myVideo.source = myFlv;
    put the video on the stage
    addChild (myVideo);

    It all works very well and the first flv loads and plays great no problem

    I have a button on stage that when you click on I want to load in a new video and play

    Ive tried many things, but the new video not loaded

    function to call when computer button is clicked
    function onComputerClick(event:MouseEvent):void {}

    myFlv = "dse_computerVideo.swf";//set the video to load.

    removeChild (myVideo);
    trace ("video deleted");
    myVideo.source = myFlv
    addChild (myVideo);
    trace ("added videos");

    }

    Ive tried to use myVideo.contentPath, but it produces the following error

    1119: access of property may be undefined contentPath through a reference with static type fl.video:FLVPlayback.

    I can't believe this is not possible.

    I know how use netstream but unless there is a way to use skins with it's is not the way I want to go.

    been Googling all day and not find a souloution if ideas or things to try would be greatly appreciated

    Why you try to play a swf file in a flvplayback component?

  • The overview/poster set for the flvplayback component

    I have been customizing the flvplayback component and have encountered a problem. So far, I created a custom look for the flvplayback component, with a play overlay button that loads the FLV file dynamically from flashvars successfully. Now, I'm trying to load in a static image that takes until the video is played. I look around the internet and in the Adobe forums, but have not found what I'm looking for. I thought that maybe the preview in the AS3 flvplayback component would help, but it won't apparently.

    I was thinking myPlayer.source = "image.jpg"; but then how to change what is the source, once someone clicks on the video? I also found fl.video.VideoEvent, but I don't know how I can use this to set the image as a source, so that someone presses the play button, or until the video plays (notice that I use a play button on overlay that appears whenever the movie is paused, so once the video starts to play (, I would not want the static preview image to find once again... until someone clicks the play button of any kind)

    Ideas or meanings is greatly appreciated.

    I joined code how I am dynamically loading the FLV right now.

    The preview of the component FLVPlayback-is only a placeholder for design - which will not get exported in the final swf file unfortunately. The class itself does not posterframe features. What you need to do is to load your posterframe using the class loader as:

    var pfContainer:MovieClip = new MovieClip();
    addChild (pfContainer);
    var pf:Loader = new Loader();
    PF. Load (new URLRequest ('posterframe.jpg');
    pfContainer.addChild (pf);

    Next, you need to define an EventListener to your FLVPlayback instance that removes the Posterframe when the video starts to play:

    myPlayback.addEventListener (VideoEvent.PLAYING_STATE_ENTERED, removePF);
    {removePF(e:Event):void}
    removeChild (pfContainer);
    }

    If you want to have the Posterframe reappear on break, you could hide the pf instead of remove and set up a second EventListener for VideoEvent.PAUSED_STATE_ENTERED.

  • addition of transition to the FLVPlayback component

    Hi guys,.
    is it possible to add transitions to the FLVPlayback component using the Transition Manager class. all I wan to do is to add the effect to the elements that go into the stage.this start can be easily done from movieClip, but is it possible to do this for the FLVPlatback component.
    Thanks in advance...

    Hey there,
    You can put your FLV inside a movieclip and then use the effect on all.

    B

Maybe you are looking for