Gavin’s Odd Bits of Code

2008-03-29 (Sat)

YouTube Screen Saver

Filed under: Software — Gavin Brock @ 6:45 pm
Tags: ,

YouTube Screen Saver SampleI have uploaded a YouTube page for WebSaver.

The base URL is, http://brock-family.org/youtube.html however you can control it by passing arguments at the end of the url:

mute=1 – Turns off the sound (usually a good idea)

rows=n – Sets the number of rows of videos to view. n can be any number that your system can handle

cols=n – Sets the number of columns of video. Again – limit is up to your system

For example – my favourite is 3×2 videos with mute:

http://brock-family.org/youtube?mute=1&rows=2&cols=3

One other feature – if you only have 1 video (rows=cols=1) then the page will use a cookie to remember your last position in the last video.

About these ads

2 Comments »

  1. It might be a screensaver, but definitely not a CPU saver… :-)

    Comment by BM — 2008-11-03 (Mon) @ 1:27 pm | Reply

  2. Yup – very true. Especially if you start tiling the players. On Mac, the terrible Flash implementation doesn’t help.

    Comment by brockgr — 2008-11-03 (Mon) @ 10:49 pm | Reply


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

The Rubric Theme. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: