HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


OCF embed video button?

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#61860 (In Topic #13472)
Avatar

Fan in action

Is it possible to create a custom button for embedding youtube/other videos OCF posts?
Because using semihtml tags is a little complicated for regular users, even after giving them a visual tutorial :dry:

Also, because i dont like the way Youtube player looks in my theme (stupid un modifieable white highlight of the gradient!) Ive been thinking of using the "chromless" player, as in this tutorial Making a Custom YouTube Video Player With YouTube’s APIs – Tutorialzine
But do i need anything special to implement it in OCF?
Back to the top
 
Posted
Rating:
#61882
Avatar

Well-settled

HI there are a couple of video tutorials so you can set up an easy to use comcode tag

something like

Code

[youtube]vh34qwsd[/youtube]
the video tutorials can be found here ocPortal video tutorial

Hope this is helpful and should make it easier for your users. i use my tag as just "yt" instead of "youtube" to make is shorter

Hello I'm The Hamburgler and if you want to know more please visit my website, The New Hut All your Burgers are belonging to me!
Back to the top
 
Posted
Rating:
#61892
Avatar

Fan in action

Thanks, but ive already set some easy to use tags (yt as well.)
The issue that its still too difficult for some members  (yeah :rolleyes: )
So im trying to find out whether its possible to add an extra button to the insert tab, or to the Areaedit buttons tab (an Areaedit plugin?).
Back to the top
 
Posted
Rating:
#61894
Avatar

Just for interest, our current plans for this are as follows:
0000076: Comcode wizard - ocPortal feature tracker

People have asked about this before but I didn't reply as we didn't have the tracker up at those time. The linked issue implies why we haven't implemented it – essentially there are so many Comcode tags we think a wizard will be the best approach going forward.

It would be possible to add a button, via editing the right template(s) with a chunk of new HTML/Javascript. I'm not sure which off-hand.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#61898
Avatar

Fan in action

Chris Graham said

Just for interest, our current plans for this are as follows:
0000076: Comcode wizard - ocPortal feature tracker

People have asked about this before but I didn't reply as we didn't have the tracker up at those time. The linked issue implies why we haven't implemented it – essentially there are so many Comcode tags we think a wizard will be the best approach going forward.

The would be definitly a nice feature, better than just a specific button :thumbs:

Chris Graham said

It would be possible to add a button, via editing the right template(s) with a chunk of new HTML/Javascript. I'm not sure which off-hand.
If im not mistaken its the COMCODE_EDITOR.tpl but im afraid i dont know enough of HTML/Javascript to modify it. :$
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: