Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-10-08 19:25:31

howsyamama
New Member
Registered: 2009-10-08
Posts: 2

HELP! Placing embedded video/player in an article

I would, at best, be classified an ignorant newbie. I use Textpattern to update my site, created by a terrific web design firm.

Here’s what I’m trying to do – so far unsuccessfully.

I want to include an embedded Flash video, in a player on a page (article).

The program I have that automates this process generates the following html code:

<script type="text/javascript" src="swfobject.js"></script>
<div id="index">
Upgrade your Flash Player to version 8 to view this video! (<a href=http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player.exe target=_blank>Click here for the download</a>)<br><br>
</div>
<script type="text/javascript">	
var so = new SWFObject("VIDEOPLAYERNAME.swf?path=VIDEONAME.FLV&buffersize=0&startauto=false&redirect=", "index", "420", "340", "8", "#ffffff");
so.write("index");</script>
<!--LINK-->

There are THREE files referenced: swfobject.js, VIDEOPLAYERNAME.swf and VIDEONAME.FLV.

I have no problem adding the code to my article.

But for the life of me, I can’t figure out where to put the three files, and how to map them in the code so they get called.

Can anyone help?

I’d rather do this myself than pay to have my web designer do it.

BUT if this is more complicated that I imagine, let me know that, too.

Thanks very much in advance!
Keith

Added bc. -Gocom

Last edited by Gocom (2009-10-08 20:07:14)

Offline

#2 2009-10-08 19:56:26

whaleen
Member
From: Portland
Registered: 2006-05-11
Posts: 373
Website

Re: HELP! Placing embedded video/player in an article

You might upload your three files under the files tab in textapattern. After that you could click the HTML link under the tags column in the files list so that you can build a link. That link will tell you how (which path) to locate your files so you can add that ‘address’ to your video script.

Last edited by whaleen (2009-10-08 19:57:21)


txtstrap (Textpattern + Twitter Bootstrap + etc…)

Offline

#3 2009-10-08 20:05:22

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: HELP! Placing embedded video/player in an article

howsyamama wrote:

But for the life of me, I can’t figure out where to put the three files, and how to map them in the code so they get called.

To your server and after that you point the URLs in your code to those files.

Please see:

Or you can ease the thing by using TXP plugins:

And there are similiar topics on the forums. Example:

howsyamama wrote:

<a href=http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player.exe target=_blank>Click here for the download</a>

Note, don’t link to exes on webpages. Instead to a Get Flash page or something like that. Not everyone uses Windows.

Offline

#4 2009-10-10 20:25:59

howsyamama
New Member
Registered: 2009-10-08
Posts: 2

Re: HELP! Placing embedded video/player in an article

Thanks all for the help! It was huge! I got it to work!!! :)

Offline

Board footer

Powered by FluxBB