CrazyKens

Audio & Video Tools

1/22/8

Copy your URL and replace the $ signs with your URL then select all, copy,   then paste on your space or website

If you make a mistake, click here

Audio Player (With controls) Auto start - Looped

 

Audio Player (With controls) Auto start - NOT looped

 

 

Audio Player (With controls) Push to play. Not Looped

 

Audio Player (With controls) Push to play - Looped

 

Audio Player (Hidden) Auto start - Looped

 
Audio Player (Hidden) Auto start - Not Looped

 

 

Video Player (With Controls - Auto-play)

 

Video Player (With Controls - Push to play non looped)

 

 

Video Player (With Controls - Auto Start and Looped

 

How to auto-play a YouTube video

Code below is copied with color choices and setting I selected from YouTube

Color blue

Size small

Include related videos NO
Show Border Yes
Enable delayed cookies Yes

This is from YouTube with the selections above



Here's how the script starts out,

<object width="340" height="285"><param name="movie" value="http://www.youtube-nocookie.com/v/RkAMtXTEjco&hl=en&fs=1&rel=0&color1=0x006699&color2=0x54abd6&border=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube-nocookie.com/v/RkAMtXTEjco&hl=en&fs=1&rel=0&color1=0x006699&color2=0x54abd6&border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="340" height="285"></embed></object>



This is how I reduce it down,

Remove the yellow area

<object width="340" height="285"><param name="movie" value="http://www.youtube-nocookie.com/v/RkAMtXTEjco&hl=en&fs=1&rel=0&color1=0x006699&color2=0x54abd6&border=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube-nocookie.com/v/RkAMtXTEjco&hl=en&fs=1&rel=0&color1=0x006699&color2=0x54abd6&border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="340" height="285"></embed></object>
 

And you will end up with this,


<embed src="http://www.youtube-nocookie.com/v/RkAMtXTEjco&hl=en&fs=1&rel=0&color1=0x006699&color2=0x54abd6&border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="340" height="285"></embed></object>


Then we put <center> in front of it,

<center><embed src="http://www.youtube-nocookie.com/v/RkAMtXTEjco&hl=en&fs=1&rel=0&color1=0x006699&color2=0x54abd6&border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="340" height="285"></embed></object>

Then I type in &autoplay=1 after the last letter or number in the URL

<center><embed src="http://www.youtube-nocookie.com/v/RkAMtXTEjco&hl=en&fs=1&rel=0&color1=0x006699&color2=0x54abd6&border=1&autoplay=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="340" height="285"></embed></object>

On MySpace and some sites, removing the </embed></object> will remove the .... at the end when posted. You can remove that and put a <br> at the end. Like this.

<center><embed src="http://www.youtube-nocookie.com/v/RkAMtXTEjco&hl=en&fs=1&rel=0&color1=0x006699&color2=0x54abd6&border=1&autoplay=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="340" height="285"><br>

To send a video in a link to open in a full page simply highlight copy and paste the url with the way you want it to show in email etc like this

<center><embed src="http://www.youtube-nocookie.com/v/RkAMtXTEjco&hl=en&fs=1&rel=0&color1=0x006699&color2=0x54abd6&border=1&autoplay=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="340" height="285"><br>

http://www.youtube-nocookie.com/v/RkAMtXTEjco&hl=en&fs=1&rel=0&color1=0x006699&color2=0x54abd6&border=1&autoplay=1

and that's what it will do. All the colors and autoplay will happen as you've set it. Click it to see.

You can also manipulate the colors with your own colors by changing these below highlighted in yellow

http://www.youtube-nocookie.com/v/RkAMtXTEjco&hl=en&fs=1&rel=0&color1=0x006699&color2=0x54abd6&border=1&autoplay=1

I have a color code chart here if you'd like to use this one. There are others on the web, but my page is safe.

BEFORE:

<center><embed src="http://www.youtube-nocookie.com/v/RkAMtXTEjco&hl=en&fs=1&rel=0&color1=0x006699&color2=0x54abd6&border=1&autoplay=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="340" height="285"><br>

Here's an example of red and blue using my chart Red FF0000 Blue 2B60DE Note above before and after below

AFTER:

<center><embed src="http://www.youtube-nocookie.com/v/RkAMtXTEjco&hl=en&fs=1&rel=0&color1=0xFF0000&color2=0x2B60DE&border=1&autoplay=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="340" height="285"><br> 

These select colors are RED and ROYAL BLUE and this is what the script above turns out like below. I removed the autoplay=1 so it doesn't play every time someone comes to this page.

 

Remember, donations are always appreciated :)