~oxalin/lightspark/buildnaudioplugin

« back to all changes in this revision

Viewing changes to scripts/README

  • Committer: Alessandro
  • Date: 2010-09-06 19:31:31 UTC
  • mfrom: (911.13.93)
  • Revision ID: git-v1:9f6175895e49dc81d39f6f99e66e2adc5a82bdb3
Merge branch 'master' of http://github.com/Oxalin/lightspark

Conflicts:
        CMakeLists.txt
        scripting/flashnet.cpp

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
HOW TO USE THESE SCRIPTS
 
2
 
 
3
EXECUTION:
 
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.
 
6
 
 
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
 
11
        cd scripts
 
12
        ./youtube-args-dumper.sh http://www.youtube.com/watch?v=4N2YWRJ-ppo > ../yt-args
 
13
        cd ..
 
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
 
16
 
 
17
Press 'Q' on Lightspark window to close the application
 
 
b'\\ No newline at end of file'