Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

[Solved] Original WP embed function for YouTube?

38 Posts
18 Users
8 Reactions
24.6 K Views
Griffsy
Posts: 13
(@griffsy)
Eminent Member
Joined: 9 years ago

Same issue here @ redmars

Robert
Posts: 10616
Admin
(@robert)
Support Team
Joined: 9 years ago

I just updated the Step 1 code, please update it in your theme's functions.php file.

Griffsy
Posts: 13
(@griffsy)
Eminent Member
Joined: 9 years ago

Thanks  Robert all sorted 🙂

Posts: 6
(@ifail93)
Active Member
Joined: 9 years ago

 i cant get it to work 🙁

<?php echo wpforo_kses($post['body'], 'post') ?>

is not existing in my post.php 

Posts: 35
 N3k0
(@n3k0)
Trusted Member
Joined: 9 years ago

You can make the iframe responsive... something like that, with css 😛

.wpforo-post-content iframe,
.wpforo-post-content object,
.wpforo-post-content embed {
position: relative;
top: 0;
left: 0;
width: 100%;
max-width: 600px;
height: 320px;
}

Cheers!

Page 2 / 5