Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
allkindofbeauty
allkindofbeauty
Hi all im new to this i just cant figure out where i can display a youtube movie, or just to paste the html code can any one help please Wall Bash
 
Ned
Ned
Hi, If you go to the YouTube movie you want to use, in the top right of the screen in the information about the movie there are two lines "URL" and "Embed".
 
Highlight ALL the "Embed" and copy it into your computer clipboard - (Control+C). You should have something like the code below starting and ending with the <object> tag. Heres the embed code from a ViArt demonstration.
 
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/glCMpgY7baE&hl=en&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/glCMpgY7baE&hl=en&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>
 
Now If you go to "Administration > CMS> Custom Blocks" and create a custom block then this can be used within most site pages. The custom block will contain the YouTube embeded code.
Call the block title something useful like "YouTube" and then above the block content field click on the top left icon, - the "Source". You should then see a "<br>" in the block content window. Copy (Control+V) the YouTube code into the block contents window. Click "Update". Delete the "<br>".
 
In "Administration > CMS > CMS Settings" you can now select a page and move the "Custom Blocks (YouTube)" block to where you want it.
(Note that the width in the above example is 425 pixels so you might have to scale the width and height up or down to fit the area of screen you want. Try to keep the aspect ratio the same as before.)
 
Last modified: 29 Sep 2009 7:37 AM
 
allkindofbeauty
allkindofbeauty
thank you Ned that's great