gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-


From: Sandro Santilli
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-2197-gf341372
Date: Tue, 25 Aug 2015 17:56:06 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, master has been updated
       via  f341372f201dc995d2c893a8e06670f673058897 (commit)
      from  2d5a92810cde81303f87961431d9634319f3a652 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=f341372f201dc995d2c893a8e06670f673058897


commit f341372f201dc995d2c893a8e06670f673058897
Author: Sandro Santilli <address@hidden>
Date:   Tue Aug 25 19:55:13 2015 +0200

    Fix manual test for scriptable plugin (and its instructions)

diff --git a/plugin/npapi/scriptable-test.html 
b/plugin/npapi/scriptable-test.html
index 15a67b7..f6efa65 100644
--- a/plugin/npapi/scriptable-test.html
+++ b/plugin/npapi/scriptable-test.html
@@ -4,6 +4,7 @@
     <style type="text/css" media="screen">
         body, * {font-family:sans-serif;}
         h1 {text-align:center;}
+        #extiface_test{background-color:red;}
         #content {}
         #test-actions {
             list-style-type: none;
@@ -41,25 +42,29 @@
    web page. But for now, this gives us a resident player that we
    can bounce XML messages off of.
 
-   To make this work for you, copy testsuite/Dejagnu.swf and
-   testsuite/actionsctiona.all/EsternalInterfce-v8.swf from your build
-   tree to your source tree in plugin/npapi/. You can then attach GDB
+   To make this work for you, copy or symlink testsuite/Dejagnu.swf and
+   testsuite/actionscript.all/ExternalInterface-v8.swf from your build
+   tree to your source tree in plugin/npapi/ and add the absolute
+   path of this dir to your 'localSandboxPath' variable in
+   ~/.gnashpluginrc (for example:
+   "append localSandboxPath /usr/src/gnash/b/plugin/npapi).
+
+   You can then attach GDB
    to the PID of gnash running, letting you debug the processing of
    XML messages to and from the browser. For this to work the swf
    files must be in the same directory as the html file.
    
-<param name="allowScriptAccess" value="sameDomain" />
 -->
 <div>
-<object>
-<param name="movie" value="ExternalInterface-v8.swf"
-<param name="allowScriptAccess" value="always" />
-<embed
-src="ExternalInterface-v8.swf"
-quality="high" wmode="transparent" width="640" height="100"
-   type="application/x-shockwave-flash"
-   pluginspage="http://www.getgnash.org";>
-</embed>
+<object id="extiface_test" data="ExternalInterface-v8.swf"
+width="100" height="20" BORDER="1"
+type="application/x-shockwave-flash"
+pluginspage="http://www.getgnash.org";
+>
+<param name="movie" value="ExternalInterface-v8.swf">
+<param name="AllowScriptAccess" value="always">
+</object>
+
 </div>
 
 <!--
@@ -90,7 +95,7 @@ quality="high" wmode="transparent" width="640" height="100"
 
       <script type="text/javascript">
           var val = 0; // used for setVariable
-          var embed = document.embeds[0];
+          var embed = document.getElementById("extiface_test");
           function clearLog() {
               var log = document.getElementById("log");
               log.innerHTML = '<h2>Log <a href="#" onclick="clearLog(); return 
false;">Clear</a></h2>';

-----------------------------------------------------------------------

Summary of changes:
 plugin/npapi/scriptable-test.html |   33 +++++++++++++++++++--------------
 1 files changed, 19 insertions(+), 14 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

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