Textpattern CMS support forum

You are not logged in. Register | Login | Help

#11 2016-09-01 16:12:41

jakob
Moderator
From: Germany
Registered: 2005-01-20
Posts: 3,342
Website

Re: oui_player (formerly oui_video) - Easily embed customized players

NicolasGraph wrote #300921:

Good tip; rah_repeat could also do the job.

That’s a good idea and would make it even easier!

If you used the same delimiter between your video details, e.g. commas, for example:

service, video-id, 16:9

then all you would need to get the three variables is:

<txp:rah_repeat value='<txp:custom_field name="article_video" />' 
                assign="video_service, video_id, video_ratio" />

That makes a txp variable out of each of the values in your custom field. As rah_repeat also automatically trims off white space, it should be forgiving about spaces after commas.


TXP Builders – finely-crafted code, design and txp

Offline

#12 2016-09-05 12:09:59

NicolasGraph
Plugin Author
From: France
Registered: 2008-07-24
Posts: 860
Website

Re: oui_player (formerly oui_video) - Easily embed customized players

You can now oui_video v0.1.0-beta-2. Thanks for your feedbacks.


Nicolas
Follow me on Twitter and GitHub!
Multiple edits are usually to correct my frenglish…

Offline

#13 2016-09-13 09:01:06

NicolasGraph
Plugin Author
From: France
Registered: 2008-07-24
Posts: 860
Website

Re: oui_player (formerly oui_video) - Easily embed customized players

oui_video v0.1.0 is out!
There were a lot of changes from the beta; please uninstall the previous version before to install this one and check the help file to see attribute changes.
‘hope you’ll like it…


Nicolas
Follow me on Twitter and GitHub!
Multiple edits are usually to correct my frenglish…

Offline

#14 2016-09-21 15:38:02

NicolasGraph
Plugin Author
From: France
Registered: 2008-07-24
Posts: 860
Website

Re: oui_player (formerly oui_video) - Easily embed customized players

oui_video will become oui_player soon to be easily extended by other providers like Soundcloud.
You can already try oui_player v0.2.0-beta for Txp 4.6+ from the oui_video dev branch!
Frenglish corrections in the help file and the english textpack would be really welcome… ;-)

Last edited by NicolasGraph (2016-09-21 16:41:45)


Nicolas
Follow me on Twitter and GitHub!
Multiple edits are usually to correct my frenglish…

Offline

#15 2016-09-21 15:50:29

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 7,103
Website

Re: oui_player (formerly oui_video) - Easily embed customized players

NicolasGraph wrote #301659:

oui_video will become oui_player soon to be easily extended by other providers like Soundcloud.
You can already try oui_player v0.2.0-beta from the oui_video dev branch!
Frenglish corrections in the help file and the english textpack would be really welcome… ;-)

Goody! THanks so much Nicolas. This plugin is developing into a major help


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | NeMe @ github

Offline

#16 2016-09-21 16:34:25

NicolasGraph
Plugin Author
From: France
Registered: 2008-07-24
Posts: 860
Website

Re: oui_player (formerly oui_video) - Easily embed customized players

colak wrote #301660:

Goody! THanks so much Nicolas. This plugin is developing into a major help

You are welcome; glad it helps!


Nicolas
Follow me on Twitter and GitHub!
Multiple edits are usually to correct my frenglish…

Offline

#17 2016-09-23 15:08:38

NicolasGraph
Plugin Author
From: France
Registered: 2008-07-24
Posts: 860
Website

Re: oui_player (formerly oui_video) - Easily embed customized players

I just published oui_player-v1.1.0-beta.
Major changes include tags and attributes names changes, extendable coding and support for additional providers; it also requires Txp 4.6.


Nicolas
Follow me on Twitter and GitHub!
Multiple edits are usually to correct my frenglish…

Offline

#18 2016-09-29 18:36:35

detail
Member
From: geez, I seem to be in NZ
Registered: 2010-07-13
Posts: 133
Website

Re: oui_player (formerly oui_video) - Easily embed customized players

N

This looks fantastic for a site I am currently working on. Thanks for the hard work.

But . . .

I’ve just attempted to install 1.1.0-beta 7bd771e (the latest version on Git Hub) and have the following message:

Parse error
: syntax error, unexpected T_OBJECT_OPERATOR in
/home/content/d/e/t/detail/html/cylvim/textpattern/lib/txplib_misc.php(1368) : eval()'d code
on line
750

That doesn’t look right!

I’m using Txp 4.6.0.

Guess I’ll try 0.1.0 165a231

Thought I should mention this.

Graeme

Last edited by detail (2016-09-29 18:44:01)

Offline

#19 2016-09-30 06:52:57

NicolasGraph
Plugin Author
From: France
Registered: 2008-07-24
Posts: 860
Website

Re: oui_player (formerly oui_video) - Easily embed customized players

detail wrote #301837:

Thanks for the hard work.

You’re welcome!

But…

Thanks for the report; I cannot reproduce but my guess is that you are running PHP 5.3 or earlier. I should mentioned that the plugin requires 5.4+ in its current version, sorry for that! Trivial changes could fix this issue in a next beta to make it work for earlier versions of PHP; keep in touch.


Nicolas
Follow me on Twitter and GitHub!
Multiple edits are usually to correct my frenglish…

Offline

#20 2016-10-14 13:59:23

NicolasGraph
Plugin Author
From: France
Registered: 2008-07-24
Posts: 860
Website

Re: oui_player (formerly oui_video) - Easily embed customized players

oui_player is officially out; try, enjoy and extend it!


Nicolas
Follow me on Twitter and GitHub!
Multiple edits are usually to correct my frenglish…

Offline

Board footer

Powered by FluxBB