bugGnash - The GNU Flash player - Bugs: bug #41930, Plug-in is messing up event...


bug #41930: Plug-in is messing up event handling (confirmed on Google's youtube API)

Submitter:  None
Submitted:  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
* Mandatory Fields

Add a New Comment Rich Markup

Mon 30 Jun 2014 10:22:14 AM UTC, comment #1: 

I haven't try your code yet.
But I suspected that it might be due to a bug on Gnash's JavaScript interface.
(Call from JavaScript -> Flash didn't work: http://savannah.gnu.org/bugs/?37223)

Thus, when you enabled Gnash, Youtube API tries to call into Gnash,
and failed silently.

When you disabled Gnash, Youtube API falls back to JavaScript/HTML5 player
(which didn't have this problem), thus succeeded.

Nutchanon Wetchasit <nachanon>
Sat 22 Mar 2014 12:50:26 AM UTC, original submission:  

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.

<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) {
<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>

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



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #30997:  Screenshot_flash_plugin.png added by None (88KiB - image/png - Gnash plugin that causes event handling conflict )


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by nachanon (Posted a comment)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-03-22 None Attached File- Added Screenshot_flash_plugin.png, #30997

    Back to the top

    Powered by Savane 3.13-b921.
    Corresponding source code