<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>xul &#8211; Alessandro Crugnola &#8211; sephiroth.it</title>
	<atom:link href="https://blog.sephiroth.it/tag/xul/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.sephiroth.it</link>
	<description>programmer by pure chance</description>
	<lastBuildDate>Wed, 28 Jul 2010 18:05:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://blog.sephiroth.it/wp-content/uploads/2019/03/cropped-sepy-big-32x32.png</url>
	<title>xul &#8211; Alessandro Crugnola &#8211; sephiroth.it</title>
	<link>https://blog.sephiroth.it</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Apollo, why so much excitement?</title>
		<link>https://blog.sephiroth.it/2007/03/20/apollo-why-so-much-excitement/</link>
					<comments>https://blog.sephiroth.it/2007/03/20/apollo-why-so-much-excitement/#comments</comments>
		
		<dc:creator><![CDATA[Alessandro Crugnola]]></dc:creator>
		<pubDate>Wed, 21 Mar 2007 06:02:15 +0000</pubDate>
				<category><![CDATA[actionscript]]></category>
		<category><![CDATA[apollo]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[screenweaver]]></category>
		<category><![CDATA[xul]]></category>
		<category><![CDATA[xulrunner]]></category>
		<category><![CDATA[zinc]]></category>
		<guid isPermaLink="false">http://blog.sephiroth.it/?p=207</guid>

					<description><![CDATA[<p>In these 2 days I read only <a target="_blank" title="Apollo on adobe labs" href="http://labs.adobe.com/wiki/index.php/Apollo">Apollo</a> related news, post and video tutorials! I dont think there is still someone who dont know about the public alpha of Apollo :)<br /> I see much more excitement than for a new Flash player release <img border="0" alt="Smile" src="http://www.sephiroth.it/movabletype/mt-static/plugins/Ajaxify/tinymce/jscripts/tiny_mce/plugins/emotions/images/smiley-smile.gif" /></p><p>I'm sure Apollo is a cool product, I'm just testing it right now (even if I sill have&#160; no idea about what to create with it... but it's another story), but to be honest I can see anything so revolutionary there.<br /> Unfortunately I dont have so much experience with desktop flash suff (just a couple of little projects using mdm and some experiments with XUL)<br /> What's the difference and innovation compared with <a target="_blank" href="http://www.multidmedia.com/">MDM Zinc</a>, <a target="_blank" href="http://screenweaver.com/">Screenweaver</a>, <a target="_blank" href="http://developer.mozilla.org/en/docs/XULRunner">Xul Runner</a>, and all the other flash desktop integration kits?</p><p>&#160;</p>
]]></description>
										<content:encoded><![CDATA[<p>In these 2 days I read only <a title="Apollo on adobe labs" href="http://labs.adobe.com/wiki/index.php/Apollo" target="_blank">Apollo</a> related news, post and video tutorials! I dont think there is still someone who dont know about the public alpha of Apollo 🙂<br />
I see much more excitement than for a new Flash player release.</p>
<p><strong>I&#8217;m sure Apollo will be a great product</strong>, I&#8217;m just testing it right now (even if I sill have  no idea about what to create with it&#8230; but it&#8217;s another story), but to be honest I can see anything so revolutionary there.<br />
Unfortunately I dont have so much experience with desktop flash suff (just a couple of little projects using mdm and some experiments with XUL)<br />
What&#8217;s the difference and innovation compared with <a href="http://www.multidmedia.com/" target="_blank">MDM Zinc</a>, <a href="http://screenweaver.com/" target="_blank">Screenweaver</a>, <a href="http://developer.mozilla.org/en/docs/XULRunner" target="_blank">Xul Runner</a>, and all the other flash desktop integration kits?<br />
I just hope I can find the time to use it much more in the future to give me an answer&#8230;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.sephiroth.it/2007/03/20/apollo-why-so-much-excitement/feed/</wfw:commentRss>
			<slash:comments>18</slash:comments>
		
		
			</item>
		<item>
		<title>XUL and XULRunner (co-starring flash)</title>
		<link>https://blog.sephiroth.it/2006/10/11/xul-and-xulrunner-co-starring-flash/</link>
					<comments>https://blog.sephiroth.it/2006/10/11/xul-and-xulrunner-co-starring-flash/#comments</comments>
		
		<dc:creator><![CDATA[Alessandro Crugnola]]></dc:creator>
		<pubDate>Wed, 11 Oct 2006 20:24:12 +0000</pubDate>
				<category><![CDATA[actionscript]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[flashplayertrust]]></category>
		<category><![CDATA[flv]]></category>
		<category><![CDATA[getvideo]]></category>
		<category><![CDATA[xul]]></category>
		<category><![CDATA[xulrunner]]></category>
		<guid isPermaLink="false">http://blog.sephiroth.it/?p=174</guid>

					<description><![CDATA[<p>getvideo firefox extension to grab flv video from youtube and google video.<br />YouGrab&#160; xul and xulrunner application for playing flv and convert video using ffmpeg<br /></p>
]]></description>
										<content:encoded><![CDATA[<p>Like you probably noteiced I got more and more interest in XUL and experimenting Firefox extensions in the last days.<br />
After my first extension I decided to try something different and first I created a little (this time nothing new at all) and lightweight extension for grabbing flv videos while visiting youtube.com or video.google.com. It simply creates a statusbar icon and when there are availables flv on the page it will get active. Clicking on it let you save the current playing flv. You can also change the options and tell the extension to open the video using you favourite Video Player (Like VLC or FLVPlayer)</p>
<p><img decoding="async" src="http://www.sephiroth.it/weblog/archives/images/install.png" border="0" alt="" align="absmiddle" /> Install the <a href="https://addons.mozilla.org/firefox/3516">getvideo-0.1-fx.xpi</a> Firefox extension</p>
<p>When I did this extension comes also in my mind the idea of creating a simple Flash video player, just for practice. I was doing it using python/wxPython as usual.. but then I wanted to try using XUL  and package it with <a href="http://developer.mozilla.org/en/docs/XUL_Application_Packaging">XULRunner</a> (a runtime XUL runner, which runs xul applications like standalone applications). <a href="https://blog.sephiroth.it/wp-content/uploads/2006/10/you_grab_app.png"><img decoding="async" class="alignleft size-full wp-image-872" style="margin: 4px;" title="you_grab_app" src="https://blog.sephiroth.it/wp-content/uploads/2006/10/you_grab_app.png" alt="" width="200" height="213" /></a><br />
First of all I have to say thanks to <a href="http://www.darronschall.com/weblog/archives/000108.cfm">Darron Schall</a> for his article on how-to embed swf files in xul. I was going crazy to understand all the steps for creating a valid xulrunner package..<br />
As usual opensource sofware has bad and incomplete documentation. I need to look into one of the examples (chatzilla) to understand how it works.</p>
<p>Once I undertood that a new problem arise, the damn flash security sandbox error! When the xulrunner application starts it prompt also the security warning.. Oh my god!</p>
<p>After various attempts and after reading various articles on <a href="http://livedocs.macromedia.com/flash/8/main/00001613.html">FlashplayerTrust</a> I managed to solve the problem (or at least I think I&#8217;ve solved&#8230;).<br />
In the installer a file named <strong>flvideoplayer.cfg </strong>will be copied inside the Application Data\Macromedia\Flash Player\#Security\FlashPlayerTrust direcory, and it&#8217;s content is</p>
<pre class="tutorialCode">chrome:\\flvideoplayer\content\flvideoplayer.xul</pre>
<p>In this way the embed swf file should has the correct permissions to communicate with the xul page using fscommand. I thought that my experiment was finished, but when I shown it to a friend he  asked me to add also the possibility to convert the .flv video into other formats (avi, mpeg, etc).<br />
Well, fortunately there&#8217;s ffmpeg which does this job for everyone 🙂</p>
<p>Thus I included <a href="http://www.google.it/search?q=ffmpeg&amp;ie=utf-8&amp;oe=utf-8&amp;rls=org.mozilla:en-US:official&amp;client=firefox-a">ffmpeg</a> to enable video conversion. What I did it&#8217;s a runtime .bat file which wil invoke ffmpeg:<br />
<code lang="javascript"><br />
function execute_batch(bat) {<br />
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");<br />
try<br />
{<br />
var file = Components.classes["@mozilla.org/file/local;1"].createInstance(Components.interfaces.nsILocalFile);<br />
file.initWithPath(bat.path);<br />
var process = Components.classes["@mozilla.org/process/util;1"].createInstance(Components.interfaces.nsIProcess);<br />
process.init(file);<br />
process.run(true, {}, 0);<br />
} catch(e)<br />
{<br />
alert(e);<br />
}<br />
}<br />
</code><br />
<strong>Ok, how to install this application.</strong><br />
In order to run correctly this application you first have to:</p>
<ul>
<li> download <a href="http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/1.8.0.4/win32/en-US/xulrunner-1.8.0.4.en-US.win32.zip">XULRunner</a> (I did not included in the installer because it&#8217;s about 10Mb).</li>
<li>Once downloaded from a command prompt, run <strong>xulrunner.exe &#8211;register-global</strong> (to register for all users) or <strong>xulrunner.exe &#8211;register-user</strong> (to register for one user only).</li>
<li>To enable the flash plugin (the Firefox plugin isn&#8217;t used, so if you launch the application you won&#8217;t see the flash embed object) you have to copy: <strong><br />
{programs}\Mozilla Firefox\plugins\NPSWF32.dll<br />
{programs}\Mozilla Firefox\plugins\flashplayer.xpt </strong><br />
into your <strong>XULRunner\plugins\</strong> folder</li>
<li>Now just download yougrab! and install it.</li>
</ul>
<p>Install <a href="/wp-content/uploads/2006/10/yougrab-setup.exe">YouGrab!</a> (sorry but currently Windows only)</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.sephiroth.it/2006/10/11/xul-and-xulrunner-co-starring-flash/feed/</wfw:commentRss>
			<slash:comments>17</slash:comments>
		
		
			</item>
		<item>
		<title>My first Firefox extension! (FlashTracer)</title>
		<link>https://blog.sephiroth.it/2006/10/01/my-first-firefox-extension-flashtracer/</link>
					<comments>https://blog.sephiroth.it/2006/10/01/my-first-firefox-extension-flashtracer/#comments</comments>
		
		<dc:creator><![CDATA[Alessandro Crugnola]]></dc:creator>
		<pubDate>Sun, 01 Oct 2006 19:01:29 +0000</pubDate>
				<category><![CDATA[firefox]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[flash player]]></category>
		<category><![CDATA[flash tracer]]></category>
		<category><![CDATA[tracer]]></category>
		<category><![CDATA[xul]]></category>
		<guid isPermaLink="false">http://blog.sephiroth.it/?p=173</guid>

					<description><![CDATA[Flashtracer, a firefox sidebar extension
]]></description>
										<content:encoded><![CDATA[<p>Ok, it does nothing particular new, but it&#8217;s my first one 🙂</p>
<p><strong>What it does?</strong><br />
If you have a flash <a href="http://download.macromedia.com/pub/flashplayer/updaters/9/flashplayer_9_plugin_debug.exe">debug player version</a> you will see in the firefox sidebar all the swf trace output while running any of the swf in a browser window.<br />
I have to say thanks to <a href="http://www.digitalhandworks.com/">jayjam</a> (Giuseppe Montemurro) who talks about the mm.cfg file yesterday at the From A to Web Adobe conference. I&#8217;d never read about this cool feature of the debug players.. and so I decided to make it as firefox extension.<br />
I took 1 hour to make the <a href="http://www.mozilla.org/projects/xul/">XUL</a> and js files, while the .xpi package was driving me crazy!.. the documentation is really terrible for my point of view.</p>
<p><a href="http://www.sephiroth.it/firefox/flashtracer/"><img decoding="async" src="http://www.sephiroth.it/weblog/archives/images/install.png" border="0" alt="" hspace="4" width="24" height="24" align="left" /></a><strong><a title="Firefox extensions" href="https://blog.sephiroth.it/firefox-extensions/">Download</a></strong> and install FlashTracer from the Firefox extension page.</p>
<div style="margin: 5px; padding: 5px; border: 2px solid #FF0000;">
<p><span style="color: #ff0000;"><strong>UPDATE:</strong></span> A new <strong>flash tracer</strong> called fbtracer has been released. This new extension is integrated into Firebug. <a title="Flash Tracer for Firebug" href="https://blog.sephiroth.it/firefox-extensions/flash-tracer-for-firebug/">Read more here</a></p>
</div>
<p><strong>P.S.</strong> If you&#8217;re running the new 9,0,28 Flash plugin probably you noticed this extension wont work anymore. Adobe changed something and the plugin doesn&#8217;t read as previously the mm.cfg file so I&#8217;m invetigating on it. In the meanwhile you should tell the extension to point to this file: <strong>C:\Documents and Settings\{user}\Application Data\Macromedia\Flash Player\Logs\flashlog.txt</strong>.</p>
<p>For mac osx it should be: <strong>username:Library:Preferences:Macromedia:Flash Player:Logs:flashlog.txt</strong></p>
<p>Using this path the flash tracer works again.</p>
<p>For discussing about this extension please use the <a href="http://forum.sephiroth.it/forumdisplay.php?f=7">forum</a> instead of the comments here 🙂</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.sephiroth.it/2006/10/01/my-first-firefox-extension-flashtracer/feed/</wfw:commentRss>
			<slash:comments>192</slash:comments>
		
		
			</item>
	</channel>
</rss>
