[Swfdec] How to load YouTube video swf in swfdec

ying lcs yinglcs at gmail.com
Fri Jan 25 12:31:04 PST 2008


Hi,

I am trying to load YouTube's flash video player in swfdec.

So I
* go to a youtube page with a video
* find out the embed tag which is the flash  video player
* saved the swf file locally
* copy the flashvar of the embed tag

And I input to swfplay like this
./swfplay player2.swf
--variables=video_id=ysIb89ETWWA&l=118&sk=hBFXQnDzm7k-X1HlXyntXgC&t=OEgsToPDskJIhF_zi-mo5Arya-uyXSOj&hl=en&plid=AAREkSUfMLn11hxiAAAAIAAYAAA&playnext=0

However, I end up getting error like this and no video was played.
Only a spinning circle:

SWFDEC: ERROR: swfdec_loader.c(335): swfdec_loader_error: error in
loader 0x8537700: Failed to open file
'/home/yinglcs/.mozilla/firefox/qo5lo6tu.work/ScrapBook/data/20080125134205//get_video':
No such file or directory
SWFDEC: ERROR: swfdec_loader.c(335): swfdec_loader_error: error in
loader 0x8920b80: Failed to open file
'/home/yinglcs/.mozilla/firefox/qo5lo6tu.work/ScrapBook/data/20080125134205//get_video':
No such file or directory

Thank you for any tips.


More information about the Swfdec mailing list