Allow videos in a blog post

alt=
@kayskeem
11 years ago
200 posts
How do I embed youtube videos into a blog post when I try, it disappears when I post it. Can someone help me create something in form designer that allows embed codes so it shows the video from youtube or even if itll work a url code field that automatically pulls the video in the post ? Thanks.
updated by @kayskeem: 12/29/13 10:07:51PM
paul
@paul
11 years ago
4,326 posts
Check out the jrEmbed module -
https://www.jamroom.net/the-jamroom-network/documentation/modules/194/jrembed
hth
Pa


--
Paul Asher - JR Developer and System Import Specialist
alt=
@kayskeem
11 years ago
200 posts
thanks Paul !
alt=
@kayskeem
11 years ago
200 posts
http://exposehits.com/exposehits/blog/1/jakepapa I tried the jrembed but if you look at the link I put it seems it doesnt render it into a video it just shows...
updated by @kayskeem: 11/22/13 03:35:32PM
SteveX
SteveX
@ultrajam
11 years ago
2,584 posts
The forum isn't printing it, this is what was posted (without the squarebrackets):
Quote:
jrEmbed module="jrYouTube" id="2" jrEmbed module="jrYouTube" id="1"



--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
brian
@brian
11 years ago
10,148 posts
Make sure you go into the ACP -> System Core -> Quota Config, check the "Apply to All Quotas" checkbox, then make sure the "Convert Embed Tags" option is checked in the Active Text Formatters section and save.

By default embed codes are not active in quotas.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
alt=
@kayskeem
11 years ago
200 posts
it worked !! thank you so much.
pch
@pch
11 years ago
328 posts
Sorry for jumping up. Is possible to do the same with comments? or A kind of video response like in Youtube.

Thanks.
michael
@michael
11 years ago
7,713 posts
pch:...Is possible to do the same with comments? or A kind of video response like in Youtube....
Its possible to do in any location that uses the text editor because the jrEmbed module uses that.

Any text that comes in from the text editor is coming in as HTML, so the embed can work, but for comments, they are just straight text, so it wont work there.

Some cleaver module developer with the time might be able to sort something out, but it doesn't exist right now.
paul
@paul
11 years ago
4,326 posts
From to top post -
kayskeem: or even if itll work a url code field that automatically pulls the video in the post ?

Slightly OT, but I wonder if this might be what you had in mind -

http://paul.jamroomnetwork.com/JR5/admin/blog

Its a custom module I built for another site I was working on. Its a smarty modifier that can be tacked onto any text variable. It'll scan the text for URLs and if they are local media URLs, or youtube, vimeo or soundcloud URLs, add appropriate players to the end of the text (think of what Facebook does).
If anyone is interested in this, I'll work it up into a marketplace module.


--
Paul Asher - JR Developer and System Import Specialist
alt=
@kayskeem
11 years ago
200 posts
@Paul YES ! that would be so nice because on my website we do artist interviews in which they send us youtube links so we post them at the end of the video. Well if we can put just a link down there and it converts to a video that would be the best. I'm very interested Thanks.
brian
@brian
11 years ago
10,148 posts
paul:
Its a smarty modifier that can be tacked onto any text variable. It'll scan the text for URLs and if they are local media URLs, or youtube, vimeo or soundcloud URLs, add appropriate players

Looks nice Paul - I think a lot of our customers would be interested in it.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

updated by @brian: 11/23/13 12:49:52PM
boplive
@boplive
11 years ago
342 posts
Is this smarty modifier something that can also work with events...if so I'm also interested :) to get this from the marketplace
paul
@paul
11 years ago
4,326 posts
You can add it to any smarty text variable. Here it is added to event_description - {$item.event_description|jrUrlWatch_watch}

http://paul.jamroomnetwork.com/JR5/admin/event/1/next-gig

The layout of the links is all template driven so you can make it look how you want it.


--
Paul Asher - JR Developer and System Import Specialist

updated by @paul: 11/24/13 03:35:53AM
Dazed
Dazed
@dazed
11 years ago
1,022 posts
looks cool Paul

Tags