• Delana Taylor

    (@delanataylor)


    I’ve set a text area for a bio section in the profile form. I’ve attempted to drop in a youtube video link and save but nothing shows up.

    I tried the insert media option that initially loads the video but it vanishes when the profile is saved.

    I tried the insert link option and nothing shows up either way.

    I then attempted to add a youtube video field that’s in the options below the text area box but the only validation option in the list shows youtube profile…so even selecting that, or selecting “none”, but that value doesn’t even show up when the profile is saved.

    I’d like the option for members to insert video links in the profile as a video greeting to visitors of their page. None of the above are working.

    Is it even doable?

    Can you help point me to the right solution?

    Also, is there a free option to display profile or user ratings as maybe a new tab? I saw you suggest a directory of plugins on an image embed question recently so I downloaded all of them to try out but none of those worked for the video problem. I’d seen the ratings option but with it installed, it only offered a field option in the profile fields but the output doesn’t show up when the profile is saved and there is nothing about any of the posts that allow rating the user so not sure what that’s about.

    Thanks so much!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Aswin Giri

    (@aswingiri)

    Hello @delanataylor

    You can use this hook:

    add_action( 'um_profile_header', function($t){
    	echo 'Your embed code goes here';
    }, 9, 1 );

    This code displays content just above the profile navbar. If you want users to be able to change the video, you can just create a field in profile form “Youtube video id” and set it to only display on edit mode.

    On the above-given hook, you can check if the user has entered the video id and if the video id is available, you can simply display a youtube embed video.

    Thread Starter Delana Taylor

    (@delanataylor)

    If I am understanding it right, this inserts a video above the nav bar, which isn’t suitable for what I’m after.

    I have a text area designated for a bio section where the member can input a larger body of content including html, etc. I want them to be able to insert a video url (youtube, basically) right in there the same way they can do with a wordpress post in the editor…and when the profile is saved, the video appears in the content where they put it.

    I’ve dropped the url right into the content, saved, no video.
    I’ve added the link via the insert media option, saved, no video.
    I’ve added the link via the insert video option, video appears in the editor text area, saved, no video.

    It works with images but not video. I’m asking if there is a way to make the video show up in the saved version of the profile ??

    Plugin Support Ultimate Member Support

    (@ultimatemembersupport)

    Hi @delanataylor

    Sorry for the late response. Could you please provide the field name/meta keys of those fields that you want to render/embed video?

    Thread Starter Delana Taylor

    (@delanataylor)

    So on the profile form itself, when they click edit profile, there is a text area field for them to input their information. Not to be confused with a text field.

    The text area is the big box like this one used to submit this post.

    I have this option for them to create bios on their user profile instead of exclusively text fields.

    In this text area, I’d like them to be able to insert a video link so they can include a video greeting in their profile bio section if they want to.

    Except putting a direct link for a youtube video does not work, as was described above.

    So it’s the text area.

    Here’s a sample membership role profile I have on my site to show visitors what their profile will look like per that member group

    https://www.ravesandreviews.com/reviewer/reviewer/

    If they drop a youtube video link in that editor when they’re writing out their bio and hit save, I’d like a video to actually render and play. Right now it doesn’t show up at all. Adding the link through the insert media or insert video option in the editor works until you save it, then either the link itself shows up in the body or it’s a big blank spot.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Hey Champ…YouTube Videos In Profile?’ is closed to new replies.