Link Video

5 posts by 3 authors in: Forums > CMS Builder
Last Post: August 7, 2008   (RSS)

By Michael Blake - August 6, 2008

Hi,
Please could you tell me the best way to embed a video within cmsb output. My thought is to have within my html file, a cell that displays a video from YouTube etc. The idea is that I would just need to change the url for a different video to be made available.

Alternatively can I set it up so that cmsb displays either a rotating choice of videos or publishes a different video say every 5 days, probably best to do that manually though through changing the url referenced?

Actually whilst I type this I am thinking why not just do it manually in the html code, what do you think is best?

Mickey

Re: [Michael Blake] Link Video

By Dave - August 6, 2008

Hi Mickey,

The first step is to figure out how to display your videos in a plain html file. Once you do that you should be able to notice what's different in each block of code. If it's just an url you can have CMS Builder display that url in the code.

So when I go to youtube I see this embed code:

<object width="425" height="344">
<param name="movie" value="http://www.youtube.com/v/7Psg3WEhc1w&hl=en&fs=1"></param>
<param name="allowFullScreen" value="true"></param>
<embed src="http://www.youtube.com/v/7Psg3WEhc1w&hl=en&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed>
</object>

So if I had a text field for "YouTube Video Url" I could just insert that where the red url is.

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Link Video

By Michael Blake - August 6, 2008

Thanks Dave,
I am slightly held up whilst I await a response from my web-host about file uploads not happenning. Once that arrives I will try this out :-)

Mickey

Re: [Wolf-E] Link Video

By Michael Blake - August 7, 2008

Hi Wolf-E,
Thanks for that excellent info, I'll give it a go.

Many thanks,
Mickey