Support Forum

embedding a non youtube video

18 Answers

New Answer

MP Mr Papa
Mr Papa
Member

that by itself worked???

should have had to use a second filter – which was created after that old post…  maybe thats why you have to edit the post… you shouldnt have too…

add_filter('sph_forum_vars', 'my_forum_vars');
function my_forum_vars($strings) {
$strings['checkiframe'] = 'no';
return $strings;
}

that might be your issue on saving when creating…

JG joe griffith
joe griffith
Member

Mr Papa said
that by itself worked???

should have had to use a second filter – which was created after that old post…  maybe thats why you have to edit the post… you shouldnt have too…

<br />
add_filter('sph_forum_vars', 'my_forum_vars');
function my_forum_vars($strings) {
$strings['checkiframe'] = 'no';
return $strings;
}
<br />

that might be your issue on saving when creating…

You sound surprised Mr. Papa :)

Yes, it did work other than what I mentioned above. Thanks for the additional code, I’ll add this to the library.

 

Thanks again,

Joe

 

 

YS Yellow Swordfish
Yellow Swordfish
Member

And with the next version iframes will become a permission and we will all keep our fingers crossed…

MP Mr Papa
Mr Papa
Member

surprised because the 2nd filter is what is need to work on the initial save… hadnt realized you could get around that filter by editing…

but with the second change, it should work fine when saving first time…