Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Facebook Video
This user has been denied support. This user has been denied support.
I want to share facebook videos on my MYBB forum. I used to have right codes before 3 month ago. But now my videos didn't work. Some Film-TVseries sites and forums are using new facebook video embedding system. Anybody have this facebook video embedding codes?

It's my old codes.

<embed src="" width="640" height="480" allowscriptaccess="always" allowfullscreen="true" flashvars="width=640&volume=100&displayclick=true&fullscreen=true&file="/>

if ($_REQUEST['link']){
    header("Location: ".faceduzelt($_REQUEST['link']));
function faceduzelt($url)
    $data = file_get_contents("".$id[1]);
    $karakter = array('\\\\u00253A'=>':','\\\\u00252F'=>"/",'\\\\u00253F'=>'?','\\\\u002526'=>'&','\\\\u00253D'=>'=');
    preg_match('@\\\"video_src\\\", \\\"([^"]*)\\\"@i',$data,$adres);
    return ($adres[1])?str_replace(array_keys($karakter),$karakter,$adres[1]):false;


Sorry for my bad english :)
Stop the duplicate threads. This is not security-related at all.
PGP Key (Fingerprint: 23B6 F4C0 FE2D 45AA 61A0 1E86 DB87 09DC DD87 6E40)

Forum Jump:

Users browsing this thread: 1 Guest(s)