Support » Plugins » youtube video show on mingle profile

  • I am working on a social media site with mingle.
    In this site I want to make some changes. the first one is:
    I want to show a youtube movie in the profile of the user.

    so, I create a customfield in mingle where people can add there youtubelink in. And now I found the file where they show the link in to your profile.(see code)

    if(isset($fields) and !empty($fields) and is_array($fields))
      foreach($fields as $field)
        $field_value = $mngl_custom_field->get_value( $user_id, $field['id'] );
            <td class="mngl-info-tab-col-1"><?php echo stripslashes($field['name']); ?>:</td>
            <td class="mngl-info-tab-col-2"><?php echo stripslashes($field_value->value); ?></td>
    	  <iframe width="420" height="315" src="<?php $field_value->value; ?>" frameborder="0" allowfullscreen></iframe>

    I tried to add some code in to the iframe but it doesnt work.
    Can somebody help me to get this work?

  • The topic ‘youtube video show on mingle profile’ is closed to new replies.