[Swfdec] Using swfplay to play youtube swf file.

ying lcs yinglcs at gmail.com
Thu Sep 18 15:51:47 PDT 2008


On Wed, Sep 17, 2008 at 3:40 PM, Benjamin Otte <otte at gnome.org> wrote:
> Hey,
>
> I usually use the simple links like
> http://www.youtube.com/v/NHrnuclAt2M and those work fine.
> However, there is a lot of stuff that an go wrong if you download the
> video file and try to play it locally instead of inside the page it
> comes from, such as:
> - relative links not working
> - interaction with the browser not working (cookies etc)
> So while it often works, there's not guarantee that it will.
> FWIW, the link you gave doesn't work in Adobe's player either.
>
> Cheers,
> Benjamin
>

Benjamin,

Thank you.

It works. But i think that technique only works for youtube.

Can you please tell me what are the steps to easily test other flash
video side? yahoo video, dailymotion, etc, etc.

Thank you.

> On Wed, Sep 17, 2008 at 10:32 PM, ying lcs <yinglcs at gmail.com> wrote:
>> Hi,
>>
>> I am trying to use the standalone 'swfplay' to play the youtube swf file.
>>
>> The swf file is this.
>>
>> <embed height="385" width="480"
>> flashvars="usef=0&amp;vq=null&amp;video_id=NHrnuclAt2M&amp;l=129&amp;sk=QeerxvTN5emrjrtuecUuqTvKHzc3NtRZC&amp;fmt_map=&amp;t=OEgsToPDskLYRf8kUlIh2FCNYSArowTR&amp;hl=en&amp;plid=AARXHGk5E0EYONVwAAAAgAAgQAA&amp;playnext=0&amp;enablejsapi=1"
>> allowscriptaccess="always" allowfullscreen="true" quality="high"
>> bgcolor="#FFFFFF" name="movie_player" id="movie_player" style=""
>> src="http://s.ytimg.com/yt/swf/watch-vfl55589.swf"
>> type="application/x-shockwave-flash"/>
>>
>> so i did a 'Save as' and store the 'watch-vfl55589.swf ' and play the
>> file like this:
>>
>> ./swfplay file:///home/yinglcs/Desktop/youtube2_files/watch-vfl55589.swf
>> --variables="usef=0&amp;vq=null&amp;video_id=NHrnuclAt2M&amp;l=129&amp;sk=QeerxvTN5emrjrtuecUuqTvKHzc3NtRZC&amp;fmt_map=&amp;t=OEgsToPDskLYRf8kUlIh2FCNYSArowTR&amp;hl=en&amp;plid=AARXHGk5E0EYONVwAAAAgAAgQAA&amp;playnext=0&amp;enablejsapi=1"
>>
>>
>> but no video is played. Can you please tell me how I can play 'Youtube'?
>>
>> Thank you.
>> _______________________________________________
>> Swfdec mailing list
>> Swfdec at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/swfdec
>>
>


More information about the Swfdec mailing list