====== jCapture Plugin ====== ---- plugin ---- description: Captures screen shots or screen activity and audio, and uploads directly to DokuWiki without intermediary files author : Pavel Vlasov email : Pavel.Vlasov@nasdanika.org type : syntax lastupdate : 2014-01-24 compatible : Weatherwax, Angua, Adora Belle, Binky depends : conflicts : similar : tags : !obsolete, media, images, video, sound, audio, applet, java downloadurl: https://github.com/jjarokergc/jCapture/zipball/master bugtracker : sourcerepo : https://github.com/jjarokergc/jCapture donationurl: screenshot_img: ---- Java applets such as used in this plugin are not supported in recent browsers anymore. ===== Download and Installation ===== Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually. ===== Requirements ===== jCapture is an applet. It was tested in FireFox 3.6 and IE, and DokuWiki 2009-12-25c. It requires [[http://www.oracle.com/technetwork/java/javase/downloads/java-se-jre-7-download-432155.html|JRE version 7 (aka 1.7)]] Recent versions require Java 6 update 10 or above. Feature request: warn user of JRE is too old and offer to upgrade if possible. You can [[http://javatester.org/|check Java JRE version here]]. Make sure to install same version as your browser (32 bits vs 64 bits) ===== Usage ===== Once you install the plug-in, there will be a new tool bar item. When you click on the toolbar button, a translucent window shows up((It make take some time for the window to appear for the first time because browser downloads applet's jar files.)). Move and resize the window as required. Then double-click the window client area. A file name dialog will pop-up with auto-generated file name. Change the name if required and click OK. The image will be uploaded to the web and a link to the image will be inserted into the cursor position in the edit area. ===== Troubleshooting ===== If the plug-in doesn't work, check Java console and Error console (if you are using FireFox). ===== Discussions ===== Is it possible to do screenshots in png or jpg format? The gif format restricts to 256 colors! /alex Yes, it was implemented in 2010/10/30 version. Just change file extension. See http://www.nasdanika.com/wiki/doku.php?id=products:jcapture:start#image_format for more details. I'm getting the following error in Firefox. How to resolve? /chrisuncaught exception: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.statusText]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: http://wiki.example.com/lib/exe/js.php?tseed=1297875039 :: anonymous :: line 1" data: no] I've the same error as chris is there any trouble with "Anteater" version ? /toine I'm getting (first time installing anything with doku): Error: document.getElementById("jCaptureApplet") is null Source File: http://localhost:8800/lib/exe/js.php?tseed=1322027259 Line: 1 2012/07/23 I'm getting an error from javascript console, jcapture is unable to load applet.php, the url is wrong (doesn't include domain). I have to modify /plugins/jcapture/script.js at line 18 to DOKU_BASE+"lib/plugins/jcapture/applet.php"; 2012-04-03 Feature request: After selecting zone, user is promoted to confirm (or edit) a file name. This file name ends with .jpg, but the user will likely a more friendly name. However, if the image name with .jpg, doesn't (s)he'll get: Error saving image HTTP/1.0 Bad Request Perhaps automatic addition of .jpeg instead? 2012-05-14 I'm getting the same error as above, Error: document.getElementById("jCaptureApplet") is null 2012-08-29 Same thing on document.getElementById() is null. Fresh install of docuwiki on windows 2003 on port 81: (not sure if that makes a difference). Any hints at where to look would be appreciated. I also installed jdraw. The editor comes up but diagrams don't seem to get saved either. 2012-08-30 (Pavel) I've fixed the problem with script.js line 18. Non-standard port can make a difference. It should be possible to catch the problem in a browser debug console. Also a web debugger like [[http://www.fiddler2.com/fiddler2/|Fiddler]] can help to trace HTTP requests. 2013-05-23 (EanderAlx) Perhaps you should change the name of your ''addBtnAction'' function in order to prevent problems with other plugins like ''encryptpasswords''. And I would be glad if you get your plugin compatible to Weatherwax because at the moment it destroys the toolbar. 2013-05-27 (Proxymus) I have the same problem as EanderAlx. The plugin destroys some dokuwiki functions. 2013-06-12 (EanderAlx) Dirty workaround is to reenable deprecated functions in js. 2013-08-01 (Dior) Hi, I get following Message in the Java Console: \\ Missing Permissions manifest attribute for: http://xx.xx.xx.xx./dokuwiki/lib/plugins/jcapture/lib/jcapture.jar Missing Codebase manifest attribute for: http://xx.xx.xx.xx./dokuwiki/lib/plugins/jcapture/lib/jcapture.jar I know it is an issue with Java 7.25 but I think this should be fixed in the jar File... if i´m right? 2013-10-25 (EanderAlx) I've also an problem with the java version sind some time I get an "Incompatible magic value" error after set the ilename to upload. 2013-11-05 (Dior) The "Missing Codebase..." is still there in Java 7.25 & 7.45. There is another thing: Every time I try to change the size of the capture window (Edit: only "on the right side" of the window) the window dissaper. Only solution is to save or dismiss the Change in the wiki page and start edit again. (not fixed in the Version of 2014-01-24) 2014-01-10 (Dior) Every Time it took at least 1 Minute to start jcapture plugin... -> fixed in the Version of 2014-01-24, THX!! 2014-09-04 (Daniel) Each time I try to capture a screen, nothing appends ans I get the following error messages in the console : TypeError: jCaptureApplet.showCaptureFrame is not a function js.php:18 reflow : 0.58ms fonction fillInPageTooltip, popup.xml ligne 612 reflow : 0.33ms