Hello ,
This is an easy tutorial on How to do something like this to all users and all user posts
without plugin
users can share youtube videos that will appear on their posts
to do that from in acp ---> Member Settings ---> profiles
should work on IPB3 too
create new Category (that what i did) so that it's looks better
you can add it on any Category instead, np
you will see these fields once you create new profile field :
Field Name : Youtube Video ID
Description: No Description
Field Type : Text
Required?: naaa...
Display format :
<iframe width="170" height="100" src="https://www.youtube.com/embed/{content}" frameborder="0" allowfullscreen></iframe>
That's it , it's easy
To know Youtube video ID :
it’s will be on the video link after “=” and before “&”
ex: https://www.youtube.com/watch?v=Vh_Ayo2DOuM&ab_channel=CaesarCp
you can change the Width and height of the player from the code , i have chosen 170x100 cause that's fit on our useinfopane
hope you like it....