Hi,
Thanks for contacting us for your issue.
This is Sungraiz from Technical Support Department. From now on, I’ll be at your assistance.
We are using the WordPress default method for contents output which is a standard and secure way and you know by default, WordPress doesn’t allow iframes in the post contents.
You can enable it by adding the following code in your theme’s functions.php
/**
* Add iFrame to allowed wp_kses_post tags
*
* @param array $tags Allowed tags, attributes, and/or entities.
* @param string $context Context to judge allowed tags by. Allowed values are 'post'.
*
* @return array
*/
function custom_wpkses_post_tags( $tags, $context ) {
if ( 'post' === $context ) {
$tags['iframe'] = array(
'src' => true,
'height' => true,
'width' => true,
'frameborder' => true,
'allowfullscreen' => true,
);
}
return $tags;
}
add_filter( 'wp_kses_allowed_html', 'custom_wpkses_post_tags', 10, 2 );
Please let me know if i can help you with any other questions.
Regards,
Hi,
I hope that your recent visit to our support forum is satisfactory.
We would love it if you shared your experience as our plugin review.
Thanks,
Hi,
We’ve got this problem still, the videos don’t shown on the front page.
https://blog.zyntern.com/help/
I embedded it in the drop down menu but it is not working. But it does not indicate an error.
The weird thing is that everything else works fine (like pictures, buttons).
Do you have any other solutions for this problem?
Thank you so much,
Réka
Hi,
Did you try the code snippet which i have provided in the previous reply?
You have to allow the iframes in WordPress posts so you have to add the above code in the theme’s functions.php
If you still facing this issue kindly email your WordPress login credentials at the following address. I’ll check it for you.
sungraiz@inspirythemes.com
Regards,
Hello,
I was trying to embed a YouTube video. I have embedded the code snippet from your previous answer – but only a preloader appears! He loads and loads and loads …
https://sorel.de/service-support/faq/?w3tc_note=flush_all
Other videos on the site are running. Do you have any solutions for this problem?
Many thanks!
Regards,
Christiane
-
This reply was modified 5 years, 10 months ago by
sorel2017.
Hi @sorel2017,
The page you have shared doesn’t have our FAQs plugin. Please recheck and let me know if you are still facing this issue.
Regards,
Hi,
sure, the groups and the first toggle are from your plugin. The video in the toggle is not shown.
I have inserted the following shortcode:
[faqs style=”accordion” filter=”true”]
https://sorel.de/service-support/faq
Regards,
Hi @sorel2017,
I have checked it and it looks like you are using a third-party source to add iframes. Did you try a simple youtube embed code? If not then please try it because after adding the above script, normal iframe should work.
Regards,
Hello,
I use the link from YouTube. I have tried the following variants:
– https://youtu.be/HS9p8GmT7KQ
– <iframe width=”560″ height=”315″ src=”https://www.youtube.com/embed/HS9p8GmT7KQ” frameborder=”0″ allow=”accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture” allowfullscreen></iframe>
The strange thing is, on the separate page of the FAQ https://sorel.de/faq/wie-updatet-man-einen-sorel-regler-per-updateplatine/ the video is loaded and displayed.
Regards,
-
This reply was modified 5 years, 10 months ago by
sorel2017.
Hi,
Please try the following simple iframe.
<iframe width="560" height="315" src="https://www.youtube.com/embed/7e90gBu4pas" frameborder="0" allowfullscreen></iframe>
You can also check it by disabling other plugins.
Regards,
Hi,
your video didn’t work either. I have deactivated the following plugin: https://de.wordpress.org/plugins/a3-lazy-load/
now it’ s works!
Regards,
Hi @sorel2017,
I’m glad I was able to assist you. We would love it if you shared this experience as our plugin review.
Regards,