View previous topic :: View next topic |
Author |
Message |
ws Write and Show support
Joined: 27 May 2007 Posts: 140
|
Posted: Mon Aug 20, 2007 9:42 am Post subject: Youtube button - displays youtube videos |
|
Displaying videos --Youtube,
Steps:
A. Just go to youtube to the page with the video (you don't have to watch it, just be on that page). There you will see a little section called Tags.
B. There are two tag tiny windows: one for URL and the other for Embed.
C. Copy the Embed tag (be sure to get it completely) and then
D. Click the Youtube button in your WriteandShow author panel.
E. Paste in you code you got from YouTube location indictate after clicking the Youtube button.
Changing the dimensions
After you paste the code where it says after you use the you tube button, you need to change the height and width to make it fit properly on the page.]
Dimensions:
You will need to adjust the dimensions of the youtube width and height... for these pages...
It comes like this: width="425" height="350"
edit those to this:
width="320" height="260"
It will display correctly on the page.
Two places to change the dimensions:
In the embedding code there are two places Ito make the change.
Quote: | <div>
<object width="320" height="260"><param name="movie" value="http://www.youtube.com/v/1pnvU1rZGXo"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/1pnvU1rZGXo" type="application/x-shockwave-flash" wmode="transparent" width="320" height="260"></embed></object>
</div> |
Last edited by ws on Mon Aug 20, 2007 10:00 am; edited 2 times in total |
|
Back to top |
|
|
ws Write and Show support
Joined: 27 May 2007 Posts: 140
|
Posted: Mon Aug 20, 2007 9:57 am Post subject: How to make a video start automatically |
|
Making the video start automatically
If you want the video to display automatically the moment someone accesses the page and/or if you want it to loop (play over and over), here is the code you have to add to the youtube embed tag to make that happen.
In your code, where the url to the actual video is shown, you add this code:
Quote: | &autoplay=1&loop=1 |
Here is an example of the url without the addition:
Quote: | src="http://www.youtube.com/v/YXD3hJu2-kY" |
This is how the url appears after the addtion to make it autoplay and loop:
Quote: | src="http://www.youtube.com/v/YXD3hJu2-kY&autoplay=1&loop=1" |
|
|
Back to top |
|
|
|
|
|