solved Jamroom Why Are You Stripping My Video Code From HTML?

derrickhand300
@derrickhand300
9 years ago
1,353 posts
Been through this MANY times here in the forum- each time I think we have it resolved.
I am trying to add the following video to my page
<script height="433px" width="770px" src="http://player.ooyala.com/iframe.js#pbid=61ad5ff4ba57488ab20328b38b5a6f05&ec=AyODM3MDE6kVoe95J2wTUcCQ9y-ZDtL0"></script>
and again and again the code is stripped out.
I have allowed all tags ( check box) I have allowed all domains ( check box) and I have added this to the iframe control module
player.ooyala.com
still it strips it
The above code is generated by the video source as the embed code- why can I not embed it like everyone else in the world.
I appreciate the arguments that the founding fathers here feel this is a danger to my site and all..BUT I want MY website to display the content I WANT and not what others feel is BEST for me...
Can anyone provide an update that fixes this issue once and for all-been told for a long time here that its fixed...but had the exact same issue yesterday with a video and tried to get it to post for an hour and gave up
I pride my site on delivering news events in real time to my site visitors concerning our niche and not allowing me to post the video from a News station who p[rovides the code is just REALLY frustrating
Thanks again on this

updated by @derrickhand300: 12/22/16 11:55:59AM
paul
@paul
9 years ago
4,335 posts
http://jam5uk.jamroomhosting.com/curtis_test

This site just has the default tags allowed, allow all domains unchecked with nothing in the domains box and the Framer module hasn't been configured for this domain - Ie. its set up 'out of the box'.


--
Paul Asher - JR Developer and System Import Specialist
derrickhand300
@derrickhand300
9 years ago
1,353 posts
Thanks Paul
Are you embedding it there using the tinyMCE editor and sitebuilder ?
derrickhand300
@derrickhand300
9 years ago
1,353 posts
Here is what thre code looks like installed on my test server here using an out of the box install of jamroom elastic and the site builder installed
(No mods)
http://eaglesports.us/test-video
michael
@michael
9 years ago
7,791 posts
It does get displayed if you use a "Template Code" widget, its not getting displayed if you use the HTML Editor widget.

I'll look for what changed and why.
michael
@michael
9 years ago
7,791 posts
Debugging this now, but its getting late.

What I've found so far is that its not jamroom specificly this time, its tinymce as far as I can see.

When I add your script to the code section, then click OK to return to the editor view, all seams like it worked, but if I then open the tinymce again the code pasted in is gone.

So when its saved to the jamroom datastore, the code isn't there. I'll look for why that could be tomorrow.

See its not just us trying to save you from nasty code, others are trying to too :p :)
michael
@michael
9 years ago
7,791 posts
This is the solution:
http://stackoverflow.com/questions/6266487/tinymce-allow-all-html-tag#answer-6267161

We'll get it into upcoming versions.

Thanks.
michael
@michael
9 years ago
7,791 posts
There is a fix in the marketplace now for the beta sitebuilder system:
https://www.jamroom.net/the-jamroom-network/networkmarket/292/site-builder

The core change will be coming with the next core release.
derrickhand300
@derrickhand300
9 years ago
1,353 posts
Thank you Michael

Tags