Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Plugin support
  3. » arc_vimeo

#1 2014-02-16 13:34:09

monkeyninja
Plugin Author
From: Sheffield, UK
Registered: 2008-10-14
Posts: 239
Website

arc_vimeo

Current version: 1.1

Easily embed Vimeo videos in your content.

Main features:-

  • fetch Vimeo videos using the video’s ID or url
  • option to use custom field to associate videos with articles
  • outputs valid XHTML mark-up
  • customise the look of the player
  • option to autoplay video

Full details on the plugin’s information page.

Last edited by monkeyninja (2014-10-25 08:42:51)

Offline

#2 2014-02-16 13:35:10

monkeyninja
Plugin Author
From: Sheffield, UK
Registered: 2008-10-14
Posts: 239
Website

Re: arc_vimeo

I’ve posted details about the new plugin and how it works with arc_youtube on my blog.

Offline

#3 2014-02-16 13:44:20

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: arc_vimeo

That’s just awesome Andy. Thanks a lot!

Offline

#4 2014-02-16 18:14:57

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 8,794
Website GitHub Twitter

Re: arc_vimeo

Thanks for the plugin.

I was checking the examples in your plugin page and they don’t seem to be following the standard txp syntax which uses double quotes unless there’s a tag in tag. Is there a reason for that?


Yiannis
——————————
neme.org | hblack.net | State Machines | NeMe @ github
I do my best editing after I click on the submit button.

Offline

#5 2014-02-16 18:33:39

monkeyninja
Plugin Author
From: Sheffield, UK
Registered: 2008-10-14
Posts: 239
Website

Re: arc_vimeo

colak wrote #278988:

Thanks for the plugin.

I was checking the examples in your plugin page and they don’t seem to be following the standard txp syntax which uses double quotes unless there’s a tag in tag. Is there a reason for that?

Hi colak, I was completely unaware that there was a standard TXP syntax. Is this a new concept? Using single quotes is just a habit I have from writing PHP. In PHP I only use double quotes if I intend to include variables in a string.

I’ll update my examples.

Offline

#6 2014-02-16 18:45:10

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 8,794
Website GitHub Twitter

Re: arc_vimeo

monkeyninja wrote #278989:

Hi colak, I was completely unaware that there was a standard TXP syntax. Is this a new concept?

I remember reading about it in some place but maybe this indirectly answers your question.


Yiannis
——————————
neme.org | hblack.net | State Machines | NeMe @ github
I do my best editing after I click on the submit button.

Offline

#7 2014-02-16 19:11:08

monkeyninja
Plugin Author
From: Sheffield, UK
Registered: 2008-10-14
Posts: 239
Website

Re: arc_vimeo

colak wrote #278990:

I remember reading about it in some place but maybe this indirectly answers your question.

Strange that the opposite convention to PHP’s usage of quotes has been adopted for Textpattern tags. A bit confusing.

Offline

#8 2014-02-16 20:36:02

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 10,614
Website GitHub

Re: arc_vimeo

monkeyninja wrote #278991:

Strange that the opposite convention to PHP’s usage of quotes has been adopted for Textpattern tags. A bit confusing.

Yes, it’s opposite when viewed from a programming perspective, but (I guess: I wasn’t around at its inception) it made sense to have a front-end parser that parsed HTML-style double-quoted attributes. Although HTML accepts both, the double-quote style was more prevalent in the early 2000s so was probably adopted. Thus when tags-in-tags syntax came along, Ruud had very little left to play with and had to use single quotes as the ‘executable content’ format.

EDIT: In any case, colak’s suggestion to use double quotes is perhaps a trifle faster (though I haven’t walked the code) because double-quoted strings don’t need to be checked for tags in the parser. Whether that’s true in practice, I’m unsure.

Last edited by Bloke (2014-02-16 20:37:27)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#9 2014-10-25 08:42:34

monkeyninja
Plugin Author
From: Sheffield, UK
Registered: 2008-10-14
Posts: 239
Website

Re: arc_vimeo

I’ve updated the plugin to allow both http and https video URLs. It also uses double rather than single quotes for HTML tag attributes now.

Offline

#10 2014-10-27 19:29:17

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,453
Website

Re: arc_vimeo

Just playing with this, so not urgent. Is there a way to overwrite the video size with CSS, e.g, have an option so there’s no height or width?


Gud One Blog
Wondrous Healing Wondrous ways to a healthy old age

Offline

  1. Index
  2. » Plugin support
  3. » arc_vimeo

Board footer

Powered by FluxBB