solved TinyMCE Embed Button not working

alt=
@luis890
10 years ago
57 posts
For some reason I can not embed any kind of media(videos, songs, etc) using the module. Every time I tried to embed, it allows me to select the video, song or you tube video. When saved, it only shows the code "
" in the pages, blogs, events or in the profile.

I tried on other every skin including media pro, same problem.

Any suggestions?
updated by @luis890: 12/20/14 09:26:54PM
brian
@brian
10 years ago
10,148 posts
Double check that you are allowing embedding in the Core -> Quota Config -> Active Text Formatters option. Make sure the "Convert Embed Tags" option is checked for all quotas you want to allow to embed.

Let me know if that helps.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
alt=
@luis890
10 years ago
57 posts
Yes, that fixed the issue thanks. Now I can embed any kind of media only from from the profiles sites....
Is there a way to embed external videos, such as youtube videos in the blogs sections?

Every time I tried to embed a youtube video, using the html the video does show in the page, but after saving the the blog the embedded video gets deleted automatically. Is there any reason why is doing that? Or external embedding is not allowed in the blogs..
Thank You
brian
@brian
10 years ago
10,148 posts
luis890:
Yes, that fixed the issue thanks. Now I can embed any kind of media only from from the profiles sites....
Is there a way to embed external videos, such as youtube videos in the blogs sections?

You should see a YouTube tab in the popup embed window - double check you've enabled all your quotas for the YouTube module.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
alt=
@luis890
10 years ago
57 posts
brian:
You should see a YouTube tab in the popup embed window - double check you've enabled all your quotas for the YouTube module.

Hope this helps!

Thanks your your help.. Yes the youtube module works.. What I meant was to be able to use the embedded code from externals sites.. The you tube works as long as you import the videos to the profile first. On my case I would like embed any video from any external site in the blogs.. JR4 had this option that you were able to embed codes in the blogs section using the "html" editor.. with jamroom jr5 when using that option the embeded video shows, but after saving the blog it disapears.. see image.
embeded.jpg
embeded.jpg  •  144KB


updated by @luis890: 01/04/14 06:14:49PM
brian
@brian
10 years ago
10,148 posts
You would need to do something custom for this - JR5 does not have a "embed something from an external site in the blog" option at this time... sorry!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
MAD
MAD
@madc
10 years ago
600 posts
So @brian if you want to paste in an iframe ie. Youtube
eg.
<iframe width="640" height="360" src="//www.youtube.com/embed/srRJmOF01Ts?feature=player_embedded" frameborder="0" allowfullscreen></iframe>

Into your wysiwyg it won't work as it get's stripped from the code upon saving?
( tested just now )

If a quota has the iframe allowed why can't they use it?


--
~ https://punkbandpromotions.com ~
Check us out for all your Punk/Alternative Music!
Check us out on Facebook:- https://facebook.com/PunkBandPromotion
brian
@brian
10 years ago
10,148 posts
Yeah right now it is stripped, since iframe is an "untrusted" element (since it allows injection directly into the page). There is a feature request open on it:

https://www.jamroom.net/the-jamroom-network/tracker/96/iframe-module-to-allow-iframes-in-editor

but I've received no feedback.

I would highly recommend that you never allow iframes to be used on your site, in any manner, but if enough users really need the functionality it's something we can look at adding.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
michael
@michael
10 years ago
7,715 posts
rather than iframes, you could create a module that looks for a tag, like the jrEmbed module puts in, then replace that tag with the iframe.

a tag something like:
[ youtube ]kdoc485903[ /youtube ]
that then looks for that tag and writes in the iframe code. safer than allowing them to put in any iframe to anywhere perhaps.
brian
@brian
10 years ago
10,148 posts
Yep - that is a much smarter way to do it.


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

Tags