1 chris_bbg888 Sep 28, 2007 21:17
3 wayfinder Sep 29, 2007 00:07
I resized youtube videos on my blog to width 640 (see [url=http://www.yfinder.de/driven/index.php/2007/02/26/democracy_means_demos_rule]this post[/url] for example) by changing the code of the youtube plugin. I'm not sure if you're using that though.
This is the code I use in the plugin:
<object type="application/x-shockwave-flash" style="width:640px; height:498px" data="http://www.youtube.com/v/$1"><param name="movie" value="http://www.youtube.com/v/$1" /></object>
Chris,
When you say "smaller", you mean [dimensionally], not [file-size], right?
You CAN do both of these things (make it smaller and prevent a new window from opening), BUT ... the only way I know how is to kype the video ... (play it fully on youtube, then go to your temp-internet-files and copy the FLV file to some other directory) ... and then re-author the FLV (using some editing tools ... we use [url=http://www.rivavx.com]Riva[/url] ).
This way ... you've made a COPY of the youtube video (so youtube.com server could go belly up and you'd still have the video) and then you host it on your own site ... the size you want and in the same window, if you want.
FWIW, the "embed" tag is deprecated and you CAN just use the <object> tag, instead.
Hope this steers you in the right direction.