Support Forum
Most all of the new browsers support HTML5 video before trying to open up iframes you may want to give that a try.
Using the TinyMCE embed media icon you can open it up and add a video. Select HTML5 video and enter the filename.
Depending on what type of videos you are sharing mp4,ogg this may be a solution.
Simple:Press also works with WordPress's Oembed feature http://codex.wordpress.org/Embeds you may want to look at that also.
or if you really want to take the security risk () we can tell you how to use a filter to change the allowed html...
Visit Cruise Talk Central and Mr Papa's World
OK - this is untested as I am doing it quickly but I think this should do the trick.
Open up the spFunctions.php file in the SP theme templates folder and add this code:
add_filter('sph_custom_kses', 'my_function'); function my_function($allowedforumtags) { $allowedforumtags['iframe'] = array('class' => array(), 'style' => array(), 'height' => array(), 'width' => array(). 'src' => array(), 'scrolling' => array()); return $allowedforumtags; }
Of course - you should supply your own function name to replace 'my_function'.
As always we recommend that you create your own SP theme so that any customisation is not lost during a future update. (http://codex.simple-press.com/codex/themes/theme-basics/creating-a-theme/)
YELLOW
SWORDFISH
|
Sorry not clear - you can call it whatever you like. Even 'my_function' if you wish. 🙂
But is usually better to come up with something unique - like putting your initials in front of it. No spaces of course. Note there are two instances of the function name to change - they must be the same.
YELLOW
SWORDFISH
|
1 Guest(s)