Notifications
Clear all

wpDiscuz embed Youtube on frontend

3 Posts
2 Users
1 Reactions
1,935 Views
(@urbaman)
New Member
Joined: 6 years ago
Posts: 2
Topic starter  

Hi,

Using wpDiscuz on my website for comments, I see we can embed Youtube videos (with Youtube's embed code) only if we are logged in users, normal guests/commentors can't (it does not convert code, just showing eventual comment's text).

Is there a way to make it work for guests?

Thank you,


   
Quote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 7 years ago
Posts: 6149
 

Hi @urbaman,

Thank you for using wpDiscuz and for contacting us.

I'm really sorry, but this restriction is done from the WordPress side but not wpDiscuz. Some sanitizes functions of WordPress doesn't allow guests to insert the insert iFrame in comment content. Please read this article: https://gomakethings.com/allowing-iframes-in-sanitized-wordpress-content/

I suggest you check out the wpDiscuz Media Uploader add-on. This add-on already included the Automatic Youtube embedding feature. 

https://gvectors.com/product/wpdiscuz-media-uploader/


   
urbaman reacted
ReplyQuote
(@urbaman)
New Member
Joined: 6 years ago
Posts: 2
Topic starter  

@astghik

Thank you very much, I'll look over it!


   
ReplyQuote
Share:
Scroll to top