diff -ru video/video.field.inc video_mod/video.field.inc
--- video/video.field.inc	2013-05-22 12:59:21.000000000 +0200
+++ video_mod/video.field.inc	2013-06-27 10:09:12.000000000 +0200
@@ -1102,8 +1102,9 @@
         }
         elseif ($settings['image_link'] == 'colorbox') {
           $dimentions = explode('x', $settings['widthxheight']);
+	  $eid=isset($entity->nid)?$entity->nid:$entity->pid;
           $uri = array(
-            'path' => 'video/embed/' . $entity->nid . '/' . str_replace('x', '/',$settings['widthxheight']),
+            'path' => 'video/embed/' . $instance['entity_type'] . '/' . $eid . '/' . str_replace('x', '/',$settings['widthxheight']),
             'options' => array('query' => array('width' => $dimentions[0], 'height' => $dimentions[1] + 10, 'iframe' => 'true'))
           );
        }
diff -ru video/video.module video_mod/video.module
--- video/video.module	2013-05-22 12:59:21.000000000 +0200
+++ video_mod/video.module	2013-06-27 10:10:19.000000000 +0200
@@ -40,10 +40,10 @@
     'access arguments' => array('access content'),
     'type' => MENU_CALLBACK,
   );
-  $items['video/embed/%node/%/%'] = array(
+  $items['video/embed/%/%/%/%'] = array(
     'page callback' => 'video_file_embed',
     'file' => 'video.pages.inc',
-    'page arguments' => array(2, 3, 4),
+    'page arguments' => array(2, 3, 4, 5),
     'access arguments' => array('access content'),
     'type' => MENU_CALLBACK,
   );
diff -ru video/video.pages.inc video_mod/video.pages.inc
--- video/video.pages.inc	2013-05-22 12:59:21.000000000 +0200
+++ video_mod/video.pages.inc	2013-06-27 10:06:08.000000000 +0200
@@ -86,18 +86,27 @@
 /**
  * Menu callback : video/embed
  */
-function video_file_embed(stdClass $node, $width, $height) {
-  $fields = field_info_instances('node', $node->type);
+function video_file_embed($entity_type,$entity_id, $width, $height) {
+  if (preg_match('/profil/',$entity_type)){
+    $entity=profile2_load($entity_id);
+    $fields=field_info_instances('profile2', $entity->type);
+  }
+  else if (is_numeric($entity_id)){
+    $fields = field_info_instances('node', $node->type);
+    $entity = node_load ($entity_id);
+  }else return null;
+
   foreach ($fields as $field_type => $field) {
     if ($field['widget']['type'] == 'video_upload') {
       $video_field = $field;
+      break;
     }
   }
-
+  
   $element = array(
     '#theme' => 'video_formatter_player',
-    '#item' => $node->{$video_field['field_name']}['und'][0],
-    '#entity' => $node,
+    '#item' => $entity->{$video_field['field_name']}['und'][0],
+    '#entity' => $entity,
     '#field' => $video_field,
     '#instance' => $video_field,
     '#player_dimensions' => $width . 'x' . $height,
