<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>46398</bug_id>
          
          <creation_ts>2010-09-23 13:20:40 -0700</creation_ts>
          <short_desc>Flash audio player is not loaded (dynamically added script order of execution)</short_desc>
          <delta_ts>2022-08-11 13:21:18 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>http://www.ipamericas.org.br/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="vivianne costa">viviannecruz</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>ahmad.saleem792</cc>
    
    <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>rniwa</cc>
    
    <cc>simonjam</cc>
    
    <cc>tonyg</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>283896</commentid>
    <comment_count>0</comment_count>
    <who name="vivianne costa">viviannecruz</who>
    <bug_when>2010-09-23 13:20:40 -0700</bug_when>
    <thetext>I have been  experiencing a bug on my website. On my homepage, I have a div that loads (using jquery) an external HTML file. On this HTML, there is an audio player and this player is not loaded on my homepage when I use Safari or Chrome. It works just fine on IE and Firefox. 

Also. the audio player works when I open the external HTML directly on Safari. The problem happens only when the HTMl is loaded by my homepage.

Homepage:
http://www.ipamericas.org.br

Html that stores the audio player:
http://www.ipamericas.org.br/conteudos/index.php/igreja-americas/mensagens-em-audio-home</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>284516</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-09-24 10:40:18 -0700</bug_when>
    <thetext>The issue seems to be that this content is loaded dynamically, and we execute dynamically inserted scripts in a wrong order (so, the swfobject variable is undefined when used). I think there&apos;s already a bug for that, but I couldn&apos;t quickly find it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>284580</commentid>
    <comment_count>2</comment_count>
    <who name="vivianne costa">viviannecruz</who>
    <bug_when>2010-09-24 11:35:25 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; The issue seems to be that this content is loaded dynamically, and we execute dynamically inserted scripts in a wrong order (so, the swfobject variable is undefined when used). I think there&apos;s already a bug for that, but I couldn&apos;t quickly find it.

I thought about the fact of being loaded dynamically. But the player works on other pages where it&apos;s also loaded dynamically (for example: http://www.ipamericas.org.br/conteudos/index.php/igreja-americas/mensagens-em-audio/). Could the fact of being loaded dynamically still be the cause of this bug?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>290580</commentid>
    <comment_count>3</comment_count>
    <who name="Tony Gentilcore">tonyg</who>
    <bug_when>2010-10-06 14:33:15 -0700</bug_when>
    <thetext>I can&apos;t reproduce this on Mac Chrome 7.0.536.2 or Mac Safari 5.0.2 (6533.18.5).

Did you implement a workaround on your site? If so, can you provide a test case that still demonstrates the problem?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>290601</commentid>
    <comment_count>4</comment_count>
    <who name="vivianne costa">viviannecruz</who>
    <bug_when>2010-10-06 15:02:01 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; I can&apos;t reproduce this on Mac Chrome 7.0.536.2 or Mac Safari 5.0.2 (6533.18.5).
&gt; 
&gt; Did you implement a workaround on your site? If so, can you provide a test case that still demonstrates the problem?

Yes. I implemented a code to do not load the audio player dynamically, since I could not find a solution. Here is the test: http://www.ipamericas.org.br/index_loads2.html

Thanks a lot</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>316462</commentid>
    <comment_count>5</comment_count>
    <who name="James Simonsen">simonjam</who>
    <bug_when>2010-12-02 15:42:43 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; (In reply to comment #3)
&gt; &gt; I can&apos;t reproduce this on Mac Chrome 7.0.536.2 or Mac Safari 5.0.2 (6533.18.5).
&gt; &gt; 
&gt; &gt; Did you implement a workaround on your site? If so, can you provide a test case that still demonstrates the problem?
&gt; 
&gt; Yes. I implemented a code to do not load the audio player dynamically, since I could not find a solution. Here is the test: http://www.ipamericas.org.br/index_loads2.html
&gt; 
&gt; Thanks a lot

There doesn&apos;t seem to be enough of the old site left to figure this out. I&apos;d guess that no dependency was specified between swfobject and the script that used it, so we just executed them in the order that we got them, which happened to be wrong for your case.

Do you happen to remember how swfobject.js was loaded and how the user was loaded?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1890681</commentid>
    <comment_count>6</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-08-11 13:21:12 -0700</bug_when>
    <thetext>I am not able to find this test case website from Comment 04 on Wayback Archive and we don&apos;t have any reproducible test case. In addition, this bug was in relation to Adobe Flash plugin related, which is not supported anymore and even NPAPI support is gone.

I am going to mark this as &quot;RESOLVED WONTFIX&quot; due to lack of any reproducible test and assuming it was due to Flash Plugin. If someone has reproducible test case or any past memory on why this was happening, please reopen with comment detailing information, so this can be fixed. Thanks!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>