Showing posts with label codes. Show all posts
Showing posts with label codes. Show all posts

Monday, March 12, 2012

colored youtube player + youtube music player [[tutorial]]

okay, so i'm assuming you don't like the new music player either... i personally hate that stupid auto hide black bar -_- so i searched on google and found a site that has a generator to make the video any color you want!
here's the link: Custom Design Youtube Video

now, for the music player, i'm gonna show you how to make it autoplay :)

this is a code i've known since the MySpace days! so trust me, it works :) i've used it constantly since i was 15 ;D
first for the music player part, use the old embed code on youtube (if you check the box that says "use old embed code" it will change to that code)
it should look like this:


 to make things easier, you remove all of the [param] and [object] tags, which i highlighted in purple:

 now the code should look pretty much like this:

 next, you find the link of the video, after the src=" [as highlighted]
and type "&autoplay=1" right after it. so it should look like this:
and there is your autoplay youtube video :)
it works the exact same way with the colored youtube player.
to make it just look like a music player,
you change the width of the player to match your post or sidebar, then change the height of the player to 25.

for an example, check out my other blog:



thanks for reading :) hope it helped~

Thursday, February 23, 2012

html basic - how to post an image

i know there are some people who are new to blogging and don't know as much as everyone else does about html, so here is one of the most basic need-to-know codes for blogging:
how to post an image
even though there are other ways of it, like copy and paste now (with advanced browsers and stuff) and just uploading straight to posts,  here's how it all began

this is the basic image code.

replace the text "your image url here" with an image url.
[[you can image url by right clicking on "copy image url"]]

i'll use this image as an example


that image had to be resized,
the original dimensions are1024 x 768
all i did was change the width to 400,
and it automatically resizes the width as well

to resize it by just width, add in width="400"
or you can use a different number
for my template, my post width is 400 max, that's why i used 400


to resize by height, you can do this about the same


i'll use this image as an example again

this one has the height as 200


to add a link to your image, use this

now if you click this image,
it will take you to my blog homepage

linked images are what make buttons like the one on my sidebar,
which are useful when you're a blogger
to advertise and people to credit you

hopefully this helped some of you newer bloggers :)


Friday, February 3, 2012

Random Posts Code~!

thanks to this site i now have a "random posts" widget :)
wanna try it out? [[click to visit a random post]]



if you want this for your blog, go to your "Edit Html" and go to your <head> and paste this code under it


after that, then you paste this link anywhere on your blog
you can replace "Feeling Lucky" to something else
if you want more useful quick things, try this site
all credit goes to [[here]]

Tuesday, January 24, 2012

Heart Border Scrollbox Code!

i have been working on this for a little while, trying to make it for my friend's sidebar and i finally got it! :D

this scroller was requested by melonie :D finally after a few weels of frustration i finally have got this coded :D woo! after i found the very extemely simple mistake i had made i felt super retarded! xD hope you like it :D
------- -copy the code and place it on your blog --------  

Thursday, January 12, 2012

Twitter HTML Code (old)

if you have seen the twitter feed in my about me page, 
or you don't like the new twitter gadget, 
i found the old twitter html code if you want a feed like mine :)
just replace where it says
[INSERT TWITTER PROFILE NAME HERE]
with your twitter username, and then you're done :)
you can always edit it a little bit to make it more custom for you,
that's what i did :)