gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] [bug #41930] Plug-in is messing up event handling (confir


From: anonymous
Subject: [Gnash-commit] [bug #41930] Plug-in is messing up event handling (confirmed on Google's youtube API)
Date: Sat, 22 Mar 2014 00:50:26 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.57 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?41930>

                 Summary: Plug-in is messing up event handling (confirmed on
Google's youtube API)
                 Project: Gnash - The GNU Flash player
            Submitted by: None
            Submitted on: Sat 22 Mar 2014 12:50:26 AM UTC
                Category: release 0.8.10
                Severity: 3 - Normal
                 Release: 0.8.10
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

I was using Mozilla 23 with Gnash 0.8.10 and it interferes with event
handling. 

I confirmed this problem by disabling the plug-in (Gnash) and event handling
worked as expected. Here is a sample standalone code page. 

<html>
<head>
<script
src="//ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script>
<script type="text/javascript">
var player;

function onYouTubeIframeAPIReady() {
    player = new YT.Player('player', {
        events: {
            'onReady': onPlayerReady
        }
    });
}

function onPlayerReady(event) {
    $('#result').text('LOADED');
}
</script>
</head> 
<body> 
<iframe width="560" height="315" id="player"
src="//www.youtube.com/embed/M7lc1UVf-VE?rel=0&enablejsapi=1" frameborder="0"
allowfullscreen></iframe>

<h3 id="result">NOT LOADED</h3>
<script src="//www.youtube.com/iframe_api"></script>
</body> 
</html>  



With Gnash enabled, the previous page never triggers the event which changes
the HTML title to "LOADED". If you disable Gnash then the JS event works as
expected. I tested this same page across different browsers on Linux and
Windows and it always works. Gnash is clearly doing something that interferes
with event triggering.  
 

Here is the cross bug-report on Google's Youtube API
http://code.google.com/p/gdata-issues/issues/detail?can=2&start=0&num=100&q=&colspec=API%20ID%20Type%20Status%20Priority%20Stars%20Summary&groupby=&sort=&id=6180




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 22 Mar 2014 12:50:26 AM UTC  Name: Screenshot_flash_plugin.png 
Size: 88kB   By: None
Gnash plugin that causes event handling conflict 
<http://savannah.gnu.org/bugs/download.php?file_id=30997>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?41930>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]