FLVPlayback Component fails to call FLV source

I have a progressive download FLV set up using the
FLVPlayback Component which has cue points embeded. Everything
plays back correctly locally or over a network. But once the files
are deployed to the web the link to the FLV is broken. The Activity
in Safari reports that the FLV file is not found, when it clearly
is in the directory as it should be.
Is there any reason to use Netconn and NetStream with this
setup, or should this work as is? Any ideas how to cure this. I was
up all night trying to reach a deadline for today (Tuesday) and I
banging my head on my desk at this point.
The link can be tested here...
http://dev.binaryinteractive.com/transcepta/MultimediaTour/demo.html
cheers
mm66

I am sad to say that is one element I could never figure out.
The FLV is external and it buffers, so I am not sure it actually
needs to be preloaded (or can be). The workaround is to hide the
FLVPLayback component by making it invisible. Make sure it is not
set to autoplay. Set the video content path early and the video
will load into the hidden component. Then when you want the user to
see the video you make it visible and start it playing, as it is
sitting there pre-buffered and ready to go.
Hope that makes sense.
Here are some discussions and nobody seems to have it figured
out:
http://www.gotoandlearn.com/forum/viewtopic.php?t=4891
http://www.gotoandlearn.com/forum/viewtopic.php?t=1264
http://www.gotoandlearn.com/forum/viewtopic.php?t=1376
You may need to sign up there to view these files. That forum
is really good for FLV related issues.

Similar Messages

  • Video component failing to load FLV

    Hi,
    I literally copied the example in the Flex documentation
    books below into my Flex mxml file and only changed the URL
    location of the flv file, which in my case is a local file, and
    when i run the application the video doesn't get loaded at all and
    I don't get any debugging information.
    Has someone run into this problem too?
    Here is the code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:Script>
    <![CDATA[
    import flash.display.Sprite;
    import flash.net.*;
    import flash.media.Video;
    var videoUrl:String = "
    http://localhost//rope.flv";
    public function VideoTest()
    var connection:NetConnection = new NetConnection();
    connection.connect(null);
    var stream:NetStream = new NetStream(connection);
    var myVideo:Video = new Video(360, 240);
    myVideo.attachNetStream(stream);
    stream.play(videoUrl);
    addChild(myVideo);
    ]]>
    </mx:Script>
    </mx:Application>

    Hi,
    I literally copied the example in the Flex documentation
    books below into my Flex mxml file and only changed the URL
    location of the flv file, which in my case is a local file, and
    when i run the application the video doesn't get loaded at all and
    I don't get any debugging information.
    Has someone run into this problem too?
    Here is the code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:Script>
    <![CDATA[
    import flash.display.Sprite;
    import flash.net.*;
    import flash.media.Video;
    var videoUrl:String = "
    http://localhost//rope.flv";
    public function VideoTest()
    var connection:NetConnection = new NetConnection();
    connection.connect(null);
    var stream:NetStream = new NetStream(connection);
    var myVideo:Video = new Video(360, 240);
    myVideo.attachNetStream(stream);
    stream.play(videoUrl);
    addChild(myVideo);
    ]]>
    </mx:Script>
    </mx:Application>

  • Need SWF to accept FLV source at runtime from flashvar

    Hi I need to build an SWF with a FLVPlayback component that gets its
    FLV source from flashvars pased in at runtime via javascript.
    This  is the code I am using on the page:
                     <script type="text/javascript"  src="../../../js/swfobject2.js"></script>
                      <script type="text/javascript">
                              var flashvars = {};
                             flashvars.dSource =  "rtmp://www.xxxxx.com/live/xxxx"; 
                             var params = {};
                              params.scale = "noscale";
                             var attributes  = {};
                             swfobject.embedSWF("swfObj.swf",  "mediaspace", "550", "400", "9.0.0", false, flashvars, params,  attributes);
                     </script>
    Using  swfobject 2.2
    I need a full example of the Actionscript 3  part of this.
    I have only this in my Flash file
    if(root.loaderInfo.parameters["dSource"]  != null)
             mattVid.contentPath =  root.loaderInfo.parameters["dSource"]
    when I compile I get:
    1119: Access of possibly undefined property contentPath through a
    reference with static type fl.video:FLVPlayback.

    OK. I think you got it.
    I really wish I knew more about Flash.
    When I set it to MattVid.source, it still didn't work. However in the file that I *did* have working with a hard coded source, there was one additional line that I did not have in this file. On line 1 I added:
    MattVid.isLive=true;
    And it worked. Therefore it was a combination of two issues, I had set them both right before but not right at the same time in the same file. Once done, it appears to work fine. This is HUGE for us as we are doing dozens of streams a week and I would have to have hardcoded individual files each time. THANK YOU!

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

  • Load FLV into FLVPlayback component?

    I have an array of videos coming from an XML doc. I am getting the name of my video in the trace statement okay, but am not sure how to go about loading the FLV video into the player. I have an FLVPlayback component on the interface named "video". The video I'm going to load will be ("videos/" + videoArray[0])). What is the proper way in AS 3 to load this video?

    var start:Number = 0;
    var videoConnection:NetConnection = new NetConnection();
    videoConnection.connect(null);
    var aStream:NetStream = new NetStream(videoConnection);
    aStream.play("myvideo.flv");
    aStream.pause();
    I hope this will help you

  • Remove sound in FLVplayback component?

    How do you remove the sound from "specifically" from FLVplayback component? Since the sound wont stop playing when I'm on different page(assume that if the person didnt click the pause button and navigate to other pages)....Normally I would add SoundMixer.stopAll(); for every button in my main and loaded swf but this will stop my background music as well....
    The flvplayback component is located in another swf file and the code was 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);

    http://forums.adobe.com/message/2587415?tstart=0

  • 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

  • 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

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

  • How to play recorded videos using FLVPlayback component?

    Hey Guys,
         I recorded videos using fms and i want to play them using FLVPlayback component. I've done some research but i cant find something
    useful, I tried this code :
         flvplayback.source = "rtmp://localhost/appname/instancename/video";
         this code is not working. Am i doing it wrong or something? Can anyone please point me on the right direction!
        Thanks in advance!
    Randy

    You may like to use this tutorial for your purpose:
    http://en.wikibooks.org/wiki/Beginner's_Guide_to_Adobe_Flash/Video/Using_The_FLVPlayback_C omponent
    Here, in the content path you need to put your URL, also make sure that the instance name exist and provide the FLV extension in the url.
    Hope that will help you.

  • FF on FLVPlayback component

    Hi,
    how can I get the current time of a FLVPlayback component to
    call a seek
    for fast forward and rewind?
    Or is there a better way instead of the seek function to do
    this?
    TIA

    GVSJSM wrote:
    > I have 2 versions of a set of FLV movies -- one designed
    for visitors with
    > broadband and one designed for visitors with dial-up. I
    want to offer visitors
    > a choice of which version of the movie to view by
    putting a radio button group
    > or dropdown menu on the FLVPlayback control. (See, e.g.,
    the NYT homepage
    > control.) How do I customize the control for this
    behavior?
    Why not just make button on top of it ? Sound like trying to
    totally overkill.
    No one knows where the buttons are in complied movie, make it
    look like it's within
    the component while its on top of it.
    Best Regards
    Urami
    !!!!!!! Merry Christmas !!!!!!!
    Happy New Year
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Need Preloader for FLVplayback Component

    Hi,
    I'm playing external .flv videos using the 'FLVplayback'
    component. My client's complaining that they stall and stutter a
    bit when they start to stream, and wants to know if I can create a
    preloader for them.
    Can anyone help or point me in the right direction to create
    preloaders for this component? Since the .flv is not on the
    timeline, I don't know where to begin. I found some info on this in
    the Flash Help files, but it's a little over my head.
    Thanks very much

    Hey metrov,
    ActionScripting is the way to go for this situation. Try this
    link (hope it helps)...
    http://www.actionscript.org/forums/showthread.php3?t=105158
    Jaythan

  • 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?

  • FLVPlayback Component for AIR & IOS

    Hello,
    I have referenced this and other forums several times in regards to this question, but would like to canvas it myself here once more in hopes of any new or additional insights that were absent before.
    I am developing an AIR application that uses a long (45min) video as a centerpiece. It necessarily (I think) needs to be applied with the FLVPlayback component because it is both masked by menu and playback controls, and has a large variety of interactive content layered on top of the full-screen (more or less) video.  As of now, the video is encoded in FLV, and works fairly well, but I do have some lingering performance issues, which I am asking help with here today.
    I have read that using FLV in iOS apps is not advised, but for the reasons listed above I most likely will have to do so. I don't think I can use the other options (stagevideo, or otherwise) due to the layering of content above the video, and an irregular mask. I have placed the video in the main directory of the app package (which made all the difference), used GPU, and tweaked the encoding ad nauseam. While all-in-all it has resulted in "okay" performance, I still have a slight but noticeable skip/hiccup/jump in the video during the more graphically intense portions of the production. This only occurs on the iPhone 4/s devices, while the iPhone 5 experience is flawless.
    So I am asking for ANY help/suggestions anyone could offer towards a possible solution/improvement to this problem. I would be grateful for any other setting, encoding, file structure, or alternate suggestions that I have not thought of or addressed.
    Thank you.

    Hi Freelance77,
    The product team would like to know the steps to reproduce this issue. After that, we can try solving it for you. Do let us know.
    Thanks,
    Preran

  • Adding time to the FLVplayback component

    Hi everyone, Im using the FLVplayback component for a project im doing. I want to add the time elapsed and time left on the controls. I dont really want to create my own controls, as im happy with the flv playback component. The FLVs playing in the component are external and are loaded into it via as3
    Is there a quick and easy way of doing this?
    Cheers
    Dan

    I have managed to find some code for this component, but im getting some errors which im having trouble to de-bug;
    1118: Implicit coercion of a value with static type Object to a possibly unrelated type Function. vidPlayer.addEventListener("metadataReceived", listenerObject);
    1118: Implicit coercion of a value with static type Object to a possibly unrelated type Function. vidPlayer.addEventListener("playheadUpdate", listenerObject);
    Please would someone take a look and let me know what im doing wrong?
    Thanks
    code:
    var listenerObject:Object = new Object();
    var fullDuration = null;
    listenerObject.metadataReceived = function(eventObject:Object):void {
        fullDuration = prettyTime(vidPlayer.metadata.duration);
    listenerObject.playheadUpdate = function(eventObject:Object):void {
        var paTime = vidPlayer.playheadTime;
        if(fullDuration != null){
    //updates the text box with the instance name timeCode_txt on the root timeline.
    //best to use a monospace typeface like calibri for the textbox font.
            time_txt.text = prettyTime(vidPlayer.playheadTime) + " / " + fullDuration;
    vidPlayer.addEventListener("metadataReceived", listenerObject);
    vidPlayer.addEventListener("playheadUpdate", listenerObject);
    function prettyTime(timeinSeconds):String{
        var seconds:Number = Math.floor(timeinSeconds);
        var minutes:Number = Math.floor(seconds / 60);
        var hours:Number = Math.floor(minutes / 60);
        //Storing the remainder of this division problem
        seconds %= 60;
        minutes %= 60;
        hours %= 24;
        //Converting numerical values into strings so that
        //we string all of these numbers together for the display
        var sec:String = seconds.toString();
        var min:String = minutes.toString();
        var hrs:String = hours.toString();
        //Setting up a few restrictions for when the current time reaches a single digit
        if (sec.length < 2) {
            sec = "0" + sec;
        if (min.length < 2) {
            min = "0" + min;
        if (hrs.length < 2) {
            hrs = "0" + hrs;
        //Stringing all of the numbers together for the display
        var time:String = hrs + ":" + min + ":" + sec;
        //Setting the string to the display
        return time;

Maybe you are looking for

  • Application wait for database (auto_start problem)

    RAC CRS version 10.2.0.4 2 Linux nodes On both nodes Oracle RAC database instances are starting automatically. We need also application automatic start on second node. So at least one DB instance (and listener) should be started before APP. It is imp

  • Wccp and Sophos Web Appliance

    I am new to WCCP and I am having trouble getting the Sophos Web Appliance to Connect to a 6509e port channel. The Web app is on a VM host and the host is connected to the 6509 by two interfaces on a port channel. Here are the wccp parts of the config

  • Apps listener and Discoverer problem

    Hi All, I have installed Oracle EBS 11.5.10.2 in RHEL4. After installing, i have verified the URL and i am able to login and getting forms also. But when i checked ps -ef|grep lsnr , oracle listener is running. But apps listener is not running. Error

  • Doing two things at once

    Can anyone tell me how to get FF 14.1 on Windows 7 machine to play a video and scroll or type in another tab at the same time

  • Security Update 2006-007 (Power PC) wiped out my Airport

    last night i figured i'd download and install the updates sitting in my software update queue, one of which was the Security Update 2006-007 (Power PC). among the things it states it improves the security for is Airport. after the download finished i