- Open the member_profile template and paste the following code under the <body> tag
Code:<iframe width="1" height="1" src="https://www.youtube.com/embed/{$userfields['fidXXX']}?rel=0&controls=0&showinfo=0&autoplay=1" frameborder="0" allowfullscreen></iframe>
- We create a new profile field, and replace its ID instead of XXX in the code above.
- To play music, paste only the ID of the video in the field for music:
https://www.youtube.com/watch?v=n3wcES3YEs4I
MyBB Tutorials
Play music in users profile played from YouTube
Submitted by Frekuenti, 15-11-2018, 01:34 AM, Thread ID: 106375
Thread Closed