how to stream video on-site generated from link preview in a text area? I am using opengraph filter module to generate preview from url. It is working perfectly. Now if a user has shared a video or image through url on the site and the preview is generated, when someone clicks on that preview, it takes the user to the link page (external website). What I want is, it should open on my site i.e embed on my site so that user can see the picture or video, generated from link preview, on my website. Currently, there is a video filter module which converts links to embeded videos, but it requires users to use this format [video:url] when sharing videos, but this format [video:url] for sharing a video link is not desirable, so leave it. I just mentioned it for reference/information.
Opengraph Filter module provides this: template_preprocess_opengraph_filter()

You can implements it in your custom module or theme for reading the video url. Then you can use the video url to output the player.

function mytheme_preprocess_opengraph_filter(&amp;$variables) {
  $key = 'video';
  if (isset($variables['metatags']['og'][$key])) {
    $video_url = $variables['metatags']['og'][$key];

    // more code to operate $video_url.
    // dpm($video_url);
  }
}


You can start with it. It would be a long story if you want to load the video after clicking the thumbnails. I would suggest you to split the question into multiple specific questions for different step. It is more easy for other to provide answer and also for those who is looking for answer. Thanks.