linterna-magica-commit
[Top][All Lists]
Advanced

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

[linterna-magica-commit] [411] Remove uneeded code since r402 - the site


From: Ivaylo Valkov
Subject: [linterna-magica-commit] [411] Remove uneeded code since r402 - the site player should be removed completely since it is not needed .
Date: Sun, 28 Jul 2013 11:41:11 +0000

Revision: 411
          
http://svn.sv.gnu.org/viewvc/?view=rev&root=linterna-magica&revision=411
Author:   valkov
Date:     2013-07-28 11:41:11 +0000 (Sun, 28 Jul 2013)
Log Message:
-----------
Remove uneeded code since r402 - the site player should be removed completely 
since it is not needed. Linterna Ma?\204?\129gica always replaces the site 
player.

Revision Links:
--------------
    http://svn.sv.gnu.org/viewvc/?view=rev&root=linterna-magica&revision=402

Modified Paths:
--------------
    trunk/src/lm_create_video_object.js

Modified: trunk/src/lm_create_video_object.js
===================================================================
--- trunk/src/lm_create_video_object.js 2013-07-28 11:39:10 UTC (rev 410)
+++ trunk/src/lm_create_video_object.js 2013-07-28 11:41:11 UTC (rev 411)
@@ -244,15 +244,7 @@
            object_data.use_sibling = site_player.nextSibling;
        }
 
-       if (!site_html5_player)
-       {
-           this.hide_flash_video_object(id,site_player.parentNode);
-       }
-       else 
-       {
-           this.pause_site_html5_player(object_data.parent);
-           this.hide_site_html5_player(object_data.parent);
-       }
+       site_player.parentNode.removeChild(site_player);
     }
 
     if (object_data.use_sibling)




reply via email to

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