| OLD | NEW |
| (Empty) | |
| 1 If you're a Chrome developer, here's how to run this example: |
| 2 |
| 3 Build the example, i.e. "make ppapi_example_url_loader" on Linux. |
| 4 |
| 5 In the "src" directory, start the test server: |
| 6 |
| 7 On Linux: |
| 8 export PYTHONPATH=third_party/pyftpdlib:third_party/tlslite:third_party |
| 9 python net/tools/testserver/testserver.py --port=1337 --data-dir=ppapi/examp
les/url_loader |
| 10 |
| 11 On Windows: |
| 12 set PYTHONPATH=third_party\pyftpdlib;third_party\tlslite:third_party |
| 13 python net/tools/testserver/testserver.py --port=1337 --data-dir=ppapi/examp
les/url_loader |
| 14 |
| 15 Then load the page: |
| 16 |
| 17 On Linux: |
| 18 out/Debug/chrome --register-pepper-plugins="[[[ YOUR SOURCE DIR ]]]/out/Debu
g/lib.target/libppapi_example_url_loader.so;application/x-ppapi-url-loader-examp
le" http://127.0.0.1:1337/files/url_loader.html |
| 19 |
| 20 On Windows just substitute the generated .dll name for the .so. |
| 21 |
| 22 And click the button! |
| OLD | NEW |