Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 02:48 pm EST

Geeklog Forums

YouTube Plugin

Page navigation


xiao_haozi

Anonymous
I know most everyone probably knows to do this... but thought it might be handy just in case...

You can alter the look by changing that one output line in the functions.inc.
E.g., here is what I did:

$retval = '<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/' . $whichtube . '&hl=en_US&fs=1&rel=0&color1=0x2b405b&color2=0x6b8ab6"></param><param name="wmode" value="transparent" ></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/' . $whichtube . '&hl=en_US&fs=1&rel=0&color1=0x2b405b&color2=0x6b8ab6" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" wmode="transparent" width="640" height="505"></embed></object>';


I know it seems redundant to post this when you look at the code, but thought it might be handy.

Also, thanks for making the plugin installer for those lazy people like myself Smile
 Quote

Status: offline

beewee

Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
If you use the Autotags plugin instead, you can also make similar tags for other video sites like Vimeo. And editing an tag is much easier in the Autotags plugin because you can edit the tags online.

One of the sites I'm working for, with a slightly pimped Youtube autotag, look at the right column: http://www.campersite.nl/bestemmingen/belgie/vlaanderen.php

Thanks anyway!
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
 Quote

Page navigation

All times are EST. The time is now 02:48 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content