I try this script working in previous gnash version: #! /bin/sh WATCH_URL="$1" if [ $# != 1 ]; then echo "USAGE: $0 \"http://(jp.)youtube.com/watch?v=...\"" exit 1 fi SWF_ARGS=$(wget -q -O - "${WATCH_URL}" | grep "var swfArgs") VIDEO_ID=$(echo ${SWF_ARGS} | cut -d , -f3 | sed -e "s/video_id:'\([^']*\)'/\1/") L=$(echo ${SWF_ARGS} | cut -d , -f4 | sed -e "s/l:'\([^']*\)'/\1/") T=$(echo ${SWF_ARGS} | cut -d , -f5 | sed -e "s/t:'\([^']*\)'/\1/") SK=$(echo ${SWF_ARGS} | cut -d , -f6 | sed -e "s/sk:'\([^']*\)'};/\1/") FLASH_VARS="video_id=${VIDEO_ID}&l=${L}&t=${T}&sk=${SK}" wget -q -N -P /var/tmp/ http://jp.youtube.com/player2.swf gnash -U http://jp.youtube.com -P "FlashVars=${FLASH_VARS}" /var/tmp/player2.swf # swfplay -v ${FLASH_VARS} http://jp.youtube.com/player2.swf