Avoiding FLVPlayback errors

I'm looking for a way to avoid getting the "1000: Unable to
make connection to server or to find FLV on server" error. I have a
fairly sophisticated FLV Player that loads and unloads videos quite
a bit. I want to write some code that will make it load a default
video if the desired video cannot be loaded. As it is right now, I
get the error before any states are received. Will the NCManager
return this error if the path is incorrect even before putting out
any state events? Any help would be greatly appreciated!

Couple of observations:
First.. Links 1 and 3 work just fine, both CDN and local, 2 and 4 in both sections return "File not found".... so bad link or missing file.
Second.. You're using 11.3.3.... bummer!! oh well, latest isn't always the greatest.
Third... and most likely the main issue is the unorthadox <script> embed method. To test this theory, I'd suggest you test using at least a couple of other embed methods.
To start, get rid of both:
<script type="text/javascript" src="jQuery.js"></script>
<script type="text/javascript" src="swfObject.js"></script>
and test using the old <object> and <embed> method. While the code is not valid HTML, use it for testing purposes. ... see this sample and edit for your content of course..
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="995" height="165">
          <param name="movie" value="images/whw_banner_no_ds2.swf" />
          <param name="quality" value="high" />
    <param name="wmode" value="transparent"/>
          <embed src="images/whw_banner_no_ds2.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="995" height="165" wmode="transparent"></embed>
</object>
Next, test using the single <object> method:
<object data="path_to_file/file.swf" type="application/x-shockwave-flash" width="insert_width_of_movie" height="insert_height_of_movie">
  <param name="movie" value="path_to_file/file.swf">
  <param name="SomeOtherParam" value="ParamValue">
</object>
If either of these method provide consistant correct display, then I'd say its the <script> that is causing the issues.
Best wishes,
Adninjastrator

Similar Messages

  • How to avoid mutating error when insert or update record

    Hi ,
    I have one transaction table which is having some detail record under one transaction number, after the one transaction number is over by insert or update, i
    want to check the total amounts of one flag should be matched on same table if it is not then give error message. But i am getting mutating error on insert or update event trigger on statement level trigger on above table.
    Is there any other way to avoid mutating error to solve the above problem or some temp table concepts to be used. help me its urgent.
    Thanks in advance,
    Sachin Khaladkar
    Pune

    Sachin, here's as short of an example as I could come up with on the fly. The sample data is ficticious and for example only.
    Let's say I need to keep a table of items by category and my business rule states that the items in the table within each category must total to 100% at all times. So I want to insert rows and then make sure any category added sums to 100% or I will rollback the transation. I can't sum the rows in a row-level trigger because I'd have to query the table and it is mutating (in the middle of being changed by a transaction). Even if I could query it while it is mutating, there may be multiple rows in a category with not all yet inserted, so checking the sum after each row is not useful.
    So here I will create;
    1. the item table
    2. a package to hold my record collection (associative array) for the trigger code (the category is used as a key to the array; if I insert 3 rows for a given category, I only need to sum that category once, right?
    3. a before statement trigger to initialize the record collection (since package variables hang around for the entire database session, I need to clear the array before the start of every DML (INSERT in this case) statement against the item table)
    4. a before row trigger to collect categories being inserted
    5. an after statement trigger to validate my business rule
    I then insert some sample data so you can see how it works. Let me know if you have any questions about this.
    SQL> CREATE TABLE item_t
      2   (category  NUMBER(2)   NOT NULL
      3   ,item_code VARCHAR2(2) NOT NULL
      4   ,pct       NUMBER(3,2) NOT NULL);
    Table created.
    SQL>
    SQL> CREATE OR REPLACE PACKAGE trg_pkg IS
      2    TYPE t_item_typ IS TABLE OF item_t.category%TYPE
      3      INDEX BY PLS_INTEGER;
      4    t_item       t_item_typ;
      5    t_empty_item t_item_typ;
      6  END trg_pkg;
      7  /
    Package created.
    SQL> SHOW ERRORS;
    No errors.
    SQL>
    SQL> CREATE OR REPLACE TRIGGER item_bs_trg
      2    BEFORE INSERT
      3    ON item_t
      4  BEGIN
      5    DBMS_OUTPUT.put_line('Initializing...');
      6    trg_pkg.t_item := trg_pkg.t_empty_item;
      7  END item_bs_trg;
      8  /
    Trigger created.
    SQL> SHOW ERRORS;
    No errors.
    SQL>
    SQL> CREATE OR REPLACE TRIGGER item_br_trg
      2    BEFORE INSERT
      3    ON item_t
      4    FOR EACH ROW
      5  BEGIN
      6    trg_pkg.t_item(:NEW.category) := :NEW.category;
      7    DBMS_OUTPUT.put_line('Inserted Item for Category: '||:NEW.category);
      8  END item_br_trg;
      9  /
    Trigger created.
    SQL> SHOW ERRORS;
    No errors.
    SQL>
    SQL> CREATE OR REPLACE TRIGGER item_as_trg
      2    AFTER INSERT
      3    ON item_t
      4  DECLARE
      5    CURSOR c_item (cp_category item_t.category%TYPE) IS
      6      SELECT SUM(pct) pct
      7        FROM item_t
      8       WHERE category = cp_category;
      9  BEGIN
    10    DBMS_OUTPUT.put_line('Verifying...');
    11    FOR i IN trg_pkg.t_item.FIRST..trg_pkg.t_item.LAST LOOP
    12      DBMS_OUTPUT.put_line('Checking Category: '||trg_pkg.t_item(i));
    13      FOR rec IN c_item(trg_pkg.t_item(i)) LOOP
    14        IF rec.pct != 1 THEN
    15          RAISE_APPLICATION_ERROR(-20001,'Category '||trg_pkg.t_item(i)||' total = '||rec.pct);
    16        END IF;
    17      END LOOP;
    18    END LOOP;
    19  END item_as_trg;
    20  /
    Trigger created.
    SQL> SHOW ERRORS;
    No errors.
    SQL> INSERT INTO item_t
      2    SELECT 1, 'AA', .3 FROM DUAL
      3    UNION ALL
      4    SELECT 2, 'AB', .6 FROM DUAL
      5    UNION ALL
      6    SELECT 1, 'AC', .2 FROM DUAL
      7    UNION ALL
      8    SELECT 3, 'AA',  1 FROM DUAL
      9    UNION ALL
    10    SELECT 1, 'AA', .5 FROM DUAL
    11    UNION ALL
    12    SELECT 2, 'AB', .4 FROM DUAL;
    Initializing...
    Inserted Item for Category: 1
    Inserted Item for Category: 2
    Inserted Item for Category: 1
    Inserted Item for Category: 3
    Inserted Item for Category: 1
    Inserted Item for Category: 2
    Verifying...
    Checking Category: 1
    Checking Category: 2
    Checking Category: 3
    6 rows created.
    SQL>
    SQL> SELECT * FROM item_t ORDER BY category, item_code, pct;
      CATEGORY IT        PCT
             1 AA         .3
             1 AA         .5
             1 AC         .2
             2 AB         .4
             2 AB         .6
             3 AA          1
    6 rows selected.
    SQL>
    SQL> INSERT INTO item_t
      2    SELECT 4, 'AB', .5 FROM DUAL
      3    UNION ALL
      4    SELECT 5, 'AC', .2 FROM DUAL
      5    UNION ALL
      6    SELECT 5, 'AA', .5 FROM DUAL
      7    UNION ALL
      8    SELECT 4, 'AB', .5 FROM DUAL
      9    UNION ALL
    10    SELECT 4, 'AC', .4 FROM DUAL;
    Initializing...
    Inserted Item for Category: 4
    Inserted Item for Category: 5
    Inserted Item for Category: 5
    Inserted Item for Category: 4
    Inserted Item for Category: 4
    Verifying...
    Checking Category: 4
    INSERT INTO item_t
    ERROR at line 1:
    ORA-20001: Category 4 total = 1.4
    ORA-06512: at "PNOSKO.ITEM_AS_TRG", line 12
    ORA-04088: error during execution of trigger 'PNOSKO.ITEM_AS_TRG'
    SQL>
    SQL> SELECT * FROM item_t ORDER BY category, item_code, pct;
      CATEGORY IT        PCT
             1 AA         .3
             1 AA         .5
             1 AC         .2
             2 AB         .4
             2 AB         .6
             3 AA          1
    6 rows selected.
    SQL>

  • Avoid timeout error in IC through coding

    Hi Experts,
    I have a requirement to avoid timeout error in interaction centre ,not through RZ* parameters.
    but by coding in ICCMP_HEADER, headerviewset.htm.
    Has anyone faced this before, can you pls share your ideas.
    Highly rewarded.
    Regards,
    Lakshmi

    Hi Lakshmi,
    I assume you are referring to the session timeout that is tied to your basis setting. A hidden frame that does a periodic keep alive postback will keep the session alive. If you also have CTI integration, you need to also be sure your CMS is able to keep the communication session alive too.
    Sincerely,
    Glenn
    Glenn Abel
    Covington Creative
    www.covingtoncreative.com

  • How to avoid Quicktime error 50 and 0?

    How can I avoid Quicktime error 50 and 0?  Are there know problems in FCPX that will generate errors in QT?

    You can probably minimize you odds of getting corrupted clips by optimizing where possible.
    Russ

  • Previous version comparison to avoid transport error

    Friends,
    Sometimes multiple developers need to work on a same object at a time. for example, users exits in PO, RFQ & Contract.
    In such cases before moving a request to production, we have to check carefully whether previous version already moved to production to avoid transport error.
    I'm developing a program with basic idea to check whether the previous version of all the objects assigned in a given request exists in production.
    Please let me know if you have some idea about it already.
    Thanks & Regards,
    Sudhahar R.

    If you are in ECC then you can check the possibility of encapsulating the customised functionality within Enhancement Spots by creating an Enh Implementation.This way neither there is a need to get the access key for changing the standard objects for user exits nor this will be affected during the upgrade and also different teams can work on the same object at a time without having any  issues.
    If you are in prior version to ECC then the only way is to have all the developers working on different user exits of the same transaction have an understanding about the TRs and their version.Each and every respective developer should compare the dev version with the production version everytime he is moving the TR from dev to QA and then to production.This way he can ensure that the TR has only got his current and valid changes and no other changes.
    Thanks,
    K.Kiran.

  • Avoid timeout error in IC

    Hi Experts,
    I have a requirement to avoid timeout error in interaction centre ,not through RZ* parameters.
    but by coding in ICCMP_HEADER, headerviewset.htm.
    Has anyone faced this before, can you pls share your ideas.
    Highly rewarded.
    Regards,
    Lakshmi

    Hi,
    Look at the BSP Page headerviewset.htm. Find the following variable:
    "var timeoutValue = <%= cl_crm_ic_services=>get_auto_logout( ) %>"
    and
    function setTimeoutTimer()  that uses the variable
    You need to manipulate this variable. Hope this helps.
    Regards
    Prasenjit

  • HOW CAN I AVOID THIS ERROR MESAGE WHILE TRYING TO EXPORT AN IPHOTO SLIDESHOW:  The operation couldn't be completed. (OSStatus error -61.)

    HOW CAN I AVOID THIS ERROR MESAGE WHILE TRYING TO EXPORT AN IPHOTO SLIDESHOW:  The operation couldn’t be completed. (OSStatus error -61.)

    Hello,
    I believe the issue was the external HD I purchased was not formatted for Mac . . . once I took care of that - all went well!  The slide show transferred and the surprise 70th birthday party was a huge sucess.  Thank you everyone!

  • Avoiding concurrency errors when updating a database through AJAX

    What are some strategies for avoiding concurrency errors when updating a database through AJAX. That is, in cases where a given user could attempt to modify the same row in the database with simultaneous requests (say, that he updates one column with information with an AJAX call, then immediately submits a form that updates the same row), what are some good ways yo prevent the two updates from colliding? On the JavaScript side one might make the AJAX call synchronous, but I question whether that is the best way to do it. Has anyone else confronted this?

    Well, since no one seems to have any ideas so far, I'll throw in my two cents worth.
    I'm not too familiar with AJAX so my advice may be limited.
    I suggest you do a google search on Optimistic concurrency database to get some ideas on how to handle it.
    If your update/insert/delete query is thread safe, then even if the same user double clicks the button fast enough to immediately have another update to the same record, then the first update will complete before the second one is carried out. Therefore no harm is done since he is just updating the same record. Since a typical update/insert/delete takes only a few milliseconds (querying may take a lot more time), its not likely he can click the button that fast. (I assume your using connection pooling for speed).
    The trouble comes up when two people call up data from the same record in different browsers. The first one updates/inserts/deletes the record. Now the other user is looking at old data. When he updates/inserts/deletes, there is a problem. One way to handle this is to keep a copy of all the fields from that record in each user's session scope when they first fetch it from the database (example: oldName). Then when you go to update some time later, to this:
    sql= update person set name=newValue where personID=3344 and name=oldName
    Note oldName is from session scope.
    If name in the database has changed, the update will not occur and will return 0 records updated. If it didn't change, it will update.
    Note your update function should not throw an exception if it cant update, it should return false. Return true if it worked.
    Example: public boolean updateName(String name)
    Similiarly, your insert should not throw an exception if the record already exists, it should return false meaning it cant insert.
    Exaple: public bolean insertName(String name). Same thing with delete function.
    If a record cant be updated due to someone else updating the record while the user was looking at data, return a message that it wasn't updated due to that problem. Then show the user the new value in the database ask him if he wants to overwrite the new change.
    Note even if you show 100 records on the JSP, only update the ones that have changed and not all 100. This way, its not likely he has updated the same records someone else has altered. Less likely a colision compared to updating all 100.
    If your updating/inserting/deleting more than 1 record (say, 3), then you should look into setting up a transaction in addition to all the above and rolling back all of them if one fails.
    Reading the section on databases from http://www.javapractices.com/home/HomeAction.do may also help.

  • Tricky : how to avoid this error transparent to users ?

    Hello, Oracle people !
    I probably have a very common problem / question ...
    We use third party application (called Kintana) that has some SQL queries referencing my custom Oracle views.
    Connection to Oracle via JDBC. Some of those views are also using packaged functions residing in one custom package. So when I need to change logic, I'm recompiling just PACKAGE BODY at off-hours time in production. But when next time user runs those queries via Kintana web interface they get an error :
    -- The following error is thrown by the Database:
    ORA-04068: existing state of packages has been discarded
    ORA-04061: existing state of package body "KNTA.OM_MISC_LIBRARY_PKG" has been invalidated
    ORA-04065: not executed, altered or dropped package body "KNTA.OM_MISC_LIBRARY_PKG"
    But when users refresh their screen on IE browser,
    error goes away. (probably Oracle calls it again and recompiles object restoring its valid state)
    I understand that how Oracle works,
    but I was given a task by Manager :
    "Make sure that users don't see this error !"
    (some of users are VIP, CIO, VPs and other "highly important" executives)
    So I tried to avoid this error but can't ...
    I don't know how to restore valid state of recompile package to existing user sessions without this error being seen ...
    Please HELP !!!
    thanx,
    Steve.

    I've been reluctant to tell you this since it could have some serious side effects and performance issues but you could reset the entire session package state by calling DBMS_SESSION.RESET_PACKAGE BEFORE you attempt the calls. The problem is that it resets ALL package's state information and I'm not aware of a way to do it for a single package. Unfortunately, it doesn't appear that you can call this routine after the exception occurs. For some reason, the exception seems to have to make it all the way back to the client before Oracle will acknowledge the reset.

  • How to avoid Unicode errors in SAP custom code queries.

    Currently we are going for a non Unicode technical upgrade from 4.6C to ECC 6.0.
    We have many query infosets with custom ABAP code. Unable to execute these queries (infosets) as ECC 6.0 system is throwing short dump and query infoset editor throwing Unicode syntax errors . Anyway to avoid these Unicode errors by changing query or infoset system setting.
    We will proceed with infosets ABAP code Unicode remediation if the above is not feasible.
    Thanks in advance.

    If the infosets are with custome abap code let the UCCHECK be happen on these programs in ecc6 ..
    In tcode UCCHECK the code which needs to be replaced for the custom programs  will be provided for the abap developers . All programs in ecc6 should be ucc compliant . I hope this will happen with the abap upgrade by enabling ecc6 .
    they will enable ecc check and do the code modification for moving out the obselete statements in ecc6 which were ok for 4.6c then .
    Dont worry about the dumps as this will not take much time on a single program once the UCC is over ..
    Br,
    vijay.

  • How to avoid JS Error in the status bar when report doesnt contain value.

    Hi
    Whenever the tabular report doesnt show any records for the given input parameter (parameter passed using select list item).
    We are displaying error message in APex. But at the status bar, it is showing "Error" (unspecified
    error).
    Kindly let me know how to avoid this kind of error at status bar.
    Thanks
    Vijay

    Hi Vijay,
    Your javascript is probably trying to access one or more of the items within a displayed tabular form - the "f01", "f02" etc named items.
    If your script does something like:
    var x = document.getElementsByName("f01");
    ..rest of your code for f01 items..you can test if there are any "f01" items by doing:
    var x = document.getElementsByName("f01");
    if (x){
    ..rest of your code for f01 items..
    }If there are no items, x is null, so the "..rest of your.." script will not get executed and no errors will occur.
    Andy

  • Avoiding unhandled error page branching

    Hi all,
    I was trying to avoid those situations where the user is brought to that spartan error page when an "unhandled" exception occurs, such as a constraint violation.
    In such situations one should first check whether an identical unique key is already existing, that is one should write some pl/sql code for the validation and, if it succeeds, let the process insert the new row or return an error otherwise.
    However I started to wonder: what about moving my insert process inside the validation and trap the exception there?
    So I did, transforming the process (conditional on a certain button) to a conditional pl/sql function returning boolean type of validation and it works just fine.
    So, now, instead of displaying that unwelcoming error page, I write an inline notification telling the user that an identical entry is already existing which looks much better.
    My only concern was with the commit/rollback behind the scene, but I didn't find problems until now.
    What do you think guys?

    Scott,
    I forgot to mention that most likely this "validation" must occur last, at the very end of the chain of real validations on the fields.
    The page where I tested this contains several item validations and three different branches depending on buttons and also the validations are depending on those buttons.
    After completing 10 "normal" validations there are these two special validations hooked up to two distinct buttons and they work fine.
    Of course it doesn't make sense to execute them upfront, before item validations, it would be a big mistake from the application logic viewpoint.
    Last but not least, this way I avoid also a custom validation checking against the primary key and/or unique key(s) by means of a query which would require a very similar approach, either a SQL or PL/SQL custom function.
    I mean, not a big deal probably, but the lighter is the burden on the server, the better, isn't it?
    Bye,
    Flavio

  • FLVPlayback error clearing

    I am having some difficulty getting some code right and is
    causing my flvplayback mc to load undefined into it's content path.
    This is my problem, but as a cause of this, I'm noticing that the
    whole thing dies when it can't load a movie in, and further
    attempts to load a different movie are met with failure, even when
    the subsequent movie path's are correct. So, is there a way to
    reset an FLVPlayback object to recover it from an error? or will I
    have to actually remove the movie clip and recreate it (which takes
    a long time and a lot of processing power).

    Hello Vivek,
    Thank you for your information. It's very helpful for me.
    On this sap notes, it said 2 program RFVD_CHK_REMOVE_CLEARING or
    RFVD_CHK_CHANGE_CLEARING.
    You can use program RFVD_CHK_REMOVE_CLEARING for customer, but for vendor you can use RFVD_CHK_CHANGE_CLEARING.
    CHANGE CLEARING only break the link between two document and open one side only.
    You need to run the program once more for clearing document, so both of them will open again.
    If you don run for the second once, the clearing document still closed.
    After that you can use t.code FB08 to reverse that document.
    Hope this will help the others one.

  • HTTP Web Response and Request Best Practices to Avoid Common Errors

    I am currently investigating an issue with our web authentication server not working for a small subset of users. My investigating led to attempting to figure out the best practices for web responses.
    The code below allows me to get a HTTP status code for a website.
    string statusCode;
    CookieContainer cookieContainer = new CookieContainer();
    HttpWebRequest myHttpWebRequest = (HttpWebRequest) WebRequest.Create(url);
    // Allow auto-redirect
    myHttpWebRequest.AllowAutoRedirect = true;
    // make sure you have a cookie container setup.
    // Probably not saving cookies and getting caught
    // in a redirect loop.
    myHttpWebRequest.CookieContainer = cookieContainer;
    WebResponse webResponse = myHttpWebRequest.GetResponse();
    statusCode = "Status Code: " + (int)((HttpWebResponse)webResponse).StatusCode + ", " + ((HttpWebResponse)webResponse).StatusDescription;
    Through out my investigation, I encountered some error status codes, for example, the "Too
    many automatic redirections were attempted" error. I fixed this by having a Cookie Container, as you can see above.
    My question is - what are the best practices for requesting and responding to HTTP requests?
    I know my hypothesis that I'm missing crucial web request methods (such as implementing a cookie container) is correct, because that
    fixed the redirect error. 
    I suspect my customers are having the same issue as a result of using our software to authenticate with our server/URL. I would like to avoid as many web request issues as much as possible.
    Thank you.

    Hello faroskalin,
    This is issue is more reagrding ASP.NET, I suggest you asking it at
    http://forums.asp.net/
    There are ASP.NET experts who will help you better.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • I was told by Borders customer service that I have to add them as a "trusted site" to avoid an error message when sttempting to use the shopping cart. Is this true, and how do I do it?

    When I go to "checkout" on Borders.com, I get an error message. The message is as follows:
    [ServletException in:/ConsumerDirectStorefrontAssetStore/ShoppingArea/ShopcartSection/body.jsp] null'
    I have tried refreshing, clearing cookies, and everything I can think of. Customer service told me it had to do with security settings, and that I had to add it to my trusted sites. I have never had to do this before, so I'm jsut wondering if this was true, and how to do it.

    Are they multi-function units? Do they include a scanner? Most people call these multi-function copiers, not printers. Printers don't have a scanner in them.
    Give us some specifics as to the brands and models you have tried.

Maybe you are looking for

  • Animation logic doesn't make sense....

    I know this probably should go to a suggestion/feature request or what not but A. I haven't been able to find the place for that and B. I felt like it'd make sense to see what others thought of this as well.... Firstly....I'm learning flash right now

  • Help in CURSOR when pass parameter for the IN

    Hi, Need some help I have CURSOR that takes a VARCHAR2 and NUMBER but when I run my Procedure it gives invalid number. Here is the CURSOR CURSOR get_count (p_list VARCHAR2, p_id NUMBER)       IS          SELECT COUNT (*) total_rows,                 N

  • Importing from Media Playar into iTunes

    I have all my music library organized with Windows Media Player and also filled fields like 'Album Artist', 'Contributing Artist', etc. When I import these files into iTunes the iTunes fild 'Artist' contains the WMP fild 'Contributing Artist' (i.e. a

  • Apple Configurator not deleting metadata from music and books?

    We set up an iPad cart for our pilot program using 30 iPads. We did a basic configuration on them all, then established a backup to restore from. We took a couple of the iPads and added photos, books from iBooks, books from iTunesU, and some music. A

  • Bank key & country

    Dear all Pls calrify  i would like to config bank key and Bank country 1.  what is the t.code for this , (fi01 is the correct for this.) 2. in which tabel it stores and what is the max. length of the fields bank country and bank key... Pls help me th