Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-07-12 11:54:18

aeonflux
Plugin Author
Registered: 2006-01-22
Posts: 33
Website

cfm_videoplayer - Video player Plugin beta

Hello,

Before releasing cfm_videoplayer, I would like others to test drive it and give some feedback.

What does the plugin do?
This plugin is designed to allow you to easily add video to your site. With mobile devices, iTunes video Podcast and Google Analytics support. You can embed video files from your Textpattern file tap or use url’s to external located video files.

It uses the JW FLV Player which can handle FLV, MP4, MP3, AAC, JPG, PNG and GIF files.
and is based on the wlk_qt script made by Walker Hamilton.
It uses two files; swfobject.js and player.swf

All you need to do is to put the files in the root of your textpattern site, add the javascript to the head section of your site, and place the cfm_videoplayer tag in an article, form or page.
Then your ready to embed video on your site!

Sample and Source
See it in action on the Circus Family website build in textpattern
Get the plugin here

Any feedback is appreciated!

Offline

#2 2009-07-12 19:58:23

candyman
Member
From: Italy
Registered: 2006-08-08
Posts: 684

Re: cfm_videoplayer - Video player Plugin beta

Very interesting the Google Analytics support.
What about the XHTML output validation?

Offline

#3 2009-07-12 21:12:46

aeonflux
Plugin Author
Registered: 2006-01-22
Posts: 33
Website

Re: cfm_videoplayer - Video player Plugin beta

candyman wrote:

Very interesting the Google Analytics support.
What about the XHTML output validation?

Yes it is valid XHTML 1.0 Transitional according to the W3 Markup Validation Service Check the Circus Showreel page with the Validator

And when checked as strict it also is valid =)

Offline

#4 2009-07-13 14:42:55

candyman
Member
From: Italy
Registered: 2006-08-08
Posts: 684

Re: cfm_videoplayer - Video player Plugin beta

Perfect! I’ll give a try.

Offline

#5 2009-08-23 17:42:35

Vienuolis
Member
From: Vilnius, Lithuania
Registered: 2009-06-14
Posts: 307
Website GitHub GitLab Twitter

Re: cfm_videoplayer - Video player Plugin beta

Uff, finally cfm_videoplayer found multimedia file ID and URL. Apparently, not every custom field name is accepted as video1, given as an example. Not the most appropriate word for users, willing upload audio records, and also in Lithuanian language. I could name the field Vaizdo, garso įrašo URL:, at least Audio video ID arba URL:, but even the word Video inappropriate.

And one minor question: is it possible to set div class, besides of automatically assigned id (which differs in every post)?

Offline

#6 2009-08-28 10:15:57

Hennie
Member
From: Nederland
Registered: 2009-02-06
Posts: 18
Website

Re: cfm_videoplayer - Video player Plugin beta

The tag ‘repeat’ gives variable ‘controlbar’.

The tag ‘title’ gives an error (doesn’t exist).

(I just tested these tags)

Keep up the good work!

Last edited by Hennie (2009-08-31 13:59:46)

Offline

#7 2009-08-31 17:10:37

aeonflux
Plugin Author
Registered: 2006-01-22
Posts: 33
Website

Re: cfm_videoplayer - Video player Plugin beta

Vienuolis wrote:

Uff, finally cfm_videoplayer found multimedia file ID and URL. Apparently, not every custom field name is accepted as video1, given as an example. Not the most appropriate word for users, willing upload audio records, and also in Lithuanian language. I could name the field Vaizdo, garso įrašo URL:, at least Audio video ID arba URL:, but even the word Video inappropriate.
Hi Vienuolis,

Thanks for your remarks. I will look into that.

And one minor question: is it possible to set div class, besides of automatically assigned id (which differs in every post)?

About the div id. The plugin uses the SWFobject 1.5 javascript to embed the flash player in the page.
SWFobject needs a DIV or other container set with an unique ID. So it can find and replace the right container with the right flashplayer.

You could put the cfm_player tag in a separate container div with a class… But I don’t know what you want to achieve …

Offline

#8 2009-08-31 17:11:48

aeonflux
Plugin Author
Registered: 2006-01-22
Posts: 33
Website

Re: cfm_videoplayer - Video player Plugin beta

Hennie wrote:

The tag ‘repeat’ gives variable ‘controlbar’.
The tag ‘title’ gives an error (doesn’t exist).
(I just tested these tags)
Keep up the good work!

Thanks will take that with me!

Last edited by aeonflux (2009-08-31 17:12:26)

Offline

#9 2009-09-06 03:02:33

Vienuolis
Member
From: Vilnius, Lithuania
Registered: 2009-06-14
Posts: 307
Website GitHub GitLab Twitter

Re: cfm_videoplayer - Video player Plugin beta

Tag error: <txp:cfm_videoplayer ... -> Textpattern Notice: Unknown tag attribute: playlist  on line 699

Is this attribute unsupported by the plugin?

You could put the cfm_player tag in a separate container div with a class… But I don’t know what you want to achieve …

Class is a standard way to control position and overall look of an HTML selector by CSS. Of course, I can put another, outer div container, although the same <div class="player" id="123"> would be a bit cleaner.

Last edited by Vienuolis (2009-09-07 05:09:06)

Offline

#10 2009-09-06 08:59:31

candyman
Member
From: Italy
Registered: 2006-08-08
Posts: 684

Re: cfm_videoplayer - Video player Plugin beta

+1

Offline

#11 2009-09-07 09:25:20

aeonflux
Plugin Author
Registered: 2006-01-22
Posts: 33
Website

Re: cfm_videoplayer - Video player Plugin beta

Vienuolis wrote:

Tag error: <txp:cfm_videoplayer … -> Textpattern Notice: Unknown tag attribute: playlist on line 699
Is this attribute unsupported by the plugin?

It should not be… So adding this to the buglist…

Class is a standard way to control position and overall look of an HTML selector by CSS. Of course, I can put another, outer div container, although the same <div class="player" id="123"> would be a bit cleaner.

True =) I will add a class to it when updating the plugin…

Thanks!

Offline

#12 2009-09-23 10:30:12

aeonflux
Plugin Author
Registered: 2006-01-22
Posts: 33
Website

Re: cfm_videoplayer - Video player Plugin beta

Vienuolis wrote:

Uff, finally cfm_videoplayer found multimedia file ID and URL. Apparently, not every custom field name is accepted as video1, given as an example. Not the most appropriate word for users, willing upload audio records, and also in Lithuanian language. I could name the field Vaizdo, garso įrašo URL:, at least Audio video ID arba URL:, but even the word Video inappropriate.

The plugin can’t handle spaces and capitals so i would suggest you use something like this for your custom field: vaizdo_garso_įrašo_url

Offline

Board footer

Powered by FluxBB