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
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's already a bug for that, but I couldn't quickly find it.
(In reply to comment #1) > 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's already a bug for that, but I couldn't quickly find it. I thought about the fact of being loaded dynamically. But the player works on other pages where it'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?
I can'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?
(In reply to comment #3) > I can'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? 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
(In reply to comment #4) > (In reply to comment #3) > > I can'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? > > 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 There doesn't seem to be enough of the old site left to figure this out. I'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?
I am not able to find this test case website from Comment 04 on Wayback Archive and we don'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 "RESOLVED WONTFIX" 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!