Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-04-01 19:57:28

dada78
Member
From: New York
Registered: 2005-10-27
Posts: 138
Website

Videoblog How To?

Hi guys,

I would like to use Textpattern for a videoblog site.

What plug-ins would I need to use in order to be able to upload videos such as .mov files on the go and insert them into new articles? I am looking for a solution where even a “non-tech” person can upload the .mov file and add an article.

Thank you!
Dada

Offline

#2 2006-04-01 20:26:32

Nichod
Member
Registered: 2005-06-06
Posts: 119

Re: Videoblog How To?

You can most definetly do this in TXP.

I’d just setup a download setup to do this. The person would create categories for the videos, then upload the files via the files tab. And any accompanying images into the images tab.

Just create a article form like so:

<code>
<div class=“wrap”>

<div class=“videoimage”>

<a href=”<txp:file_download form=“videos” id=”<txp:custom_field name=“video_id” />” />”><txp:article_image /></a>

</div>
<div class=“rightwrap”>

<div class=“videottitle”>
<h2><txp:permlink><txp:title /></txp:permlink></h2>
</div>
<div class=“videoarticle”>
<txp:body />
</div>
<div class=“download”>
<txp:file_download form=“videos” id=”<txp:custom_field name=“video_id” />” />
</div>
</code>

The download form:

<code>
<txp:text item=“file” />:
<txp:file_download_link>
<txp:file_download_name /> [<txp:file_download_size format=“auto” decimals=“2” />]
</txp:file_download_link>
<br />
<txp:text item=“category” />: <txp:file_download_category /><br />
<txp:text item=“download” />: <txp:file_download_downloads />
</code>

Then just create a custom field for the video_id. And then the person would just enter in the file ID they uploaded. That should be fairly simple to explain what the ID is. The same for the article image which can be a picture of a clip from the video. The article image will link to the video as well when clicked. You could eliminate some of those divs if you’d like, I just like the control.

Last edited by Nichod (2006-04-01 20:32:39)

Offline

#3 2006-04-01 23:37:56

dada78
Member
From: New York
Registered: 2005-10-27
Posts: 138
Website

Re: Videoblog How To?

Hi Nichod,

thanks very much for your reply.
So if I understood correctly, I don’t need a plug-in, only the code that you provided, correct?

Is there a way to define the size and dimensions of a file as well?

Have you heard of Podesk (podesk.com) ? This is ideally what I would like to integrate into Textpattern.

Thank you!
Dada

Offline

#4 2006-04-01 23:48:56

Nichod
Member
Registered: 2005-06-06
Posts: 119

Re: Videoblog How To?

Looks like DotClear works with that product. Or will. The plugin isn’t publically available. I’d think it might be possible. It looks like all the plugin is doing is setting up file location, and linking it with DotClear,etc. It might be an easy thing for some handy dandy plugin peeps to make.

Offline

Board footer

Powered by FluxBB