10930 Posts in 2613 Topics by 1810 members
|Go to End|
15 September 2011 at 6:14pm
I'd like to be able to embed vimeo vids in my pages. There are two modules that say they do this, the vimeoembbed and vimeoservice modules.
I have installed them both. awesome. But what do i do next? The documentation says you can use short codes. but what is the format for the codes?
Ideally I'd like to use the vimeoembebd module, because thats all i really need.
This is what i have tried: [vimeo clip_id="2805235"] [vimeo id="2805235"] [vimeo id=2805235]
20 September 2011 at 9:26am
Nobody used the vimeo modules?
21 September 2011 at 11:45am
Ok, i looked at vimeoembed on a fresh install. It gives me a new tab - vimeos on the main horizontal nav,
adding the config to mysite
// -- MUST HAVE--
// -- RECOMMENDED--
// it says VideoPage in the readme, but that won't work unless you create the page type
VimeoDataObject::add_video(2805235, "Test Video");
I can now go to a page and choose a vimeo in a new tab content->vimeo using a drop down
I poked about in the source and then did this in my template:
<% include VimeoObject %>
So no short code but its working. groovy. Obvious once you know.
21 September 2011 at 12:25pm
Further investigation into the vimeo service module
There isn't a button i don't think. The short codes only work on the gallery page.
adding this into site confg gets short codes working elsewhere
ShortcodeParser::get('default')->register('vimeo', array('Page', 'VimeoShortcodeHandler'));
format is [vimeo id=2805235]
just posting this incase anybody else isn't quite sure what to expect from the module. Obvious once you know.
23 September 2011 at 10:57pm
thanks for this module!
Just two issues:
1. In the readme you write: call the directory "vimeo". It needs to be "ssvimeo", like in the list below in the readme.
2. In the editor_plugin.js is a pathing issue. In Tinymce the image "V" is not shown. You need to change Line 17.
image : 'vimeo/images/v.png',
image : 'ssvimeo/images/v.png',
But then, it works like charm! Nice and helpful module
24 September 2011 at 1:12pm
Thanks for your feed back! Iv'e made those changes.
|Go to Top|