Skip to Content

Claudio Cicali – Web Developer and Solution Architect

Multimedia

Ultimi miei 3 articoli su Edit di HTML.it

Video: integrare Twitter con Drupal 6

In questo video presento l’installazione e la configurazione del modulo OAuth e Twitter all’interno di una fresca installazione di Drupal 6. Enjoy!

Integrare Twitter con Drupal 6 from Claudio Cicali on Vimeo.


Video della mia presentazione OpenID

Develer ha messo a disposizione sul sito della conferenza Better Software il video della presentazione mia e di Lorenzo Cassulo su OpenID. È possibile visualizzarlo direttamente dalla pagina del programma grazie a Viddler. La presentazione è rivolta ad un pubblico non tecnico che conosca poco o nulla OpenID.


Flash Player, Firefox e gli Archived Flash Players

Si sa che i rapporti tra Adobe e Linux sono sempre stati un po’ strani… uno degli effetti collaterali di questo atavico problema sta nel supporto dei vari Flash Player.

Recentemente ho spesso un problema: dopo un po’ che smanetto con il player (frequenti caricamenti di pagine, visto che sto sviluppando un’applicazione flash/ajax) questo dopo due o tre secondi di “play” si pianta.

Ho scoperto che il problema sta banalmente nell’audio; se per qualche motivo il “sottosistema audio” ha dei problemi (non funziona, conflitta, è piantato – le solite problematiche dell’audio sotto Linux), il plugin si comporta in quel modo. Nel mio caso l’inghippo sta nel suspend della macchina… quando questa si riprende, l’audio è sminchiato (problema conosciuto dell’Acer Aspire One – che credevo di aver risolto, e invece…). Logout/Login e va tutto a posto.

Nel frattempo, però (non tutti i mali…), ho avuto modo di trovare una risorsa molto interessante: gli Archived Flash Players, ovvero una directory dove Adobe mantiene tutte le vecchie versioni dei player, dalla 2 alla 10 comprese tutte le sottorelease e tutte le varie architetture (esistono per esempio ben 12 sottoversioni del player 9!).

Una volta scaricato e scompattato l’archivio, per usare una versione piuttosto che un’altra è sufficiente:

  1. Chiudere Firefox (altrimenti va in crash)
  2. Copiare la versione che interessa in $HOME/.mozilla/plugins (il file che serve è solo il libflashplayer.so)
  3. Riavviare Firefox

vnc2swf is really cool

Ever wonder how to record a work session of your web application or web site and then put it into you portfolio or give it to the client? Screenshots are ok but, hey, movies are better! So here comes vnc2swf, a really cool hack that “translates” data from a vnc session to a swf file, ready to be read by your usual Flash plugin on your browser.

Just download the sources from the vnc2swf site and compile them. Compiling requires the ming library and (probably, that was my case) a little tweack in a source file (in writeswf.c it seems that the test for the ming library version is wrong. If you get an error about the parameters of the SWFMovie_output() function, just change the file to let it always use the first function format as for ming 0.3beta1).

After that, just follow the istructions you find in the vncswf site (they are very simple). Just remember that:

  • You need to run a vncserver OR the X11vnc nifty tool which translates your current X11 session in a Xvnc one
  • Once a vncserver is running, the vnc2swf program acts like a vncviewer
  • You can access a contestual menu while using vnc2swf, by pressing F8
  • You can pass the vncserver the -geometry XxY param, so you can record a session at a lower resolution
  • Use F11 in your browser, to get rid of the some useless toolbars
  • To view the final swf you need to embed it via the OBJECT element into an html file
  • Install the swftools program suite, and the use the swfdump program to prepare a HTML suited for your swf

I contenuti di questo sito sono distribuiti con una licenza Creative Commons 2.5 eccetto dove diversamente specificato. Tema WordPress sviluppato da Claudio Cicali; icone del set famfamfam silk e komodomedia. P.IVA: 01712500501

© 2005-2012
Claudio Cicali