1
HOW TO USE THESE SCRIPTS
4
This demo aims at rendering, the runtime generated UI of the new YouTube player. Recently YouTube switched
5
to Flash 10 and AS3 to serve some HD content, while maintaining the old AS2 based player for lower quality content.
7
-) First of all download the YouTube player SWF file.
8
wget http://s.ytimg.com/yt/swf/watch_as3-vfl155676.swf
9
-) The player works by gathering the parameters from the Javascript in the page. Lightspark support loading parameters from a text file
10
using the --parameters-file command line. Create a suitable parameters file using the following commands
12
./youtube-args-dumper.sh http://www.youtube.com/watch?v=4N2YWRJ-ppo > ../yt-args
14
-) Execute the file, this will render the usual UI of the YouTube player and decoded video, no sound is played yet
15
lightspark --parameters-file yt-args watch_as3-vfl155676.swf
17
Press 'Q' on Lightspark window to close the application
b'\\ No newline at end of file'