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.


Embed youtube videos or any other video URL

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#52983 (In Topic #11536)

Non-joined user

would love to be able to embed a video instead of having to make it a download or upload a video thats already on another site such as youtube
Back to the top
 
Posted
Rating:
#52992
Avatar

You can do this yourself in about 10 minutes using custom comcode tags:

ocPortal video tutorial

Back to the top
 
Posted
Rating:
#77709
Avatar

Community saint

Allen, thanks for that video.   I was more interested in youtube/vimeo video's in the forums.

I did notice under comcode help it shows a youtube tag.   Is it possible for us to add a custom tag for vimeo as well?    Any direction for that sort of thing in the documentation?

Also, is it possible to add 'buttons' to the editor so they just click the button and it puts the tags in like the other buttons?   I haven't even gotten deep enough in to see what the editor is to know if it's customizable like that.

Thanks,
Paul

Paul
Back to the top
 
Posted
Rating:
#77717
Avatar

Community saint

Arbo said

Is it possible for us to add a custom tag for vimeo as well?
Yes, and it should be fairly trivial.
Also, is it possible to add 'buttons' to the editor so they just click the button and it puts the tags in like the other buttons?
Yes, although its non-trivial.

From memory, when I added a youtube button for my site it required about a half dozen changes spread over multiple files.

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#100051
Avatar

Fan in action

Yeh I would love a youtube button that is built into the posting tools so you just click it, enter the youtube video url and it automatically embeds the video. Same with an upload image button as opposed to having to go down to attachments to upload something.
Back to the top
 
Posted
Rating:
#100054
Avatar

Community saint

Walbertross said

Yeh I would love a youtube button that is built into the posting tools so you just click it, enter the youtube video url and it automatically embeds the video.
This is how I added it: View topic: Newbie fail - ocPortal.com

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: