kd9000
kd9000

Reputation: 3

Facebook Video Share stopped working since it posts an image instead of video player on wall

enter image description hereI have videos posted on my site that are in my server, but after I press FB share button https://www.sotube.com/player/designers-events-celebs/chanel-fragrances-gabrielle-starring-kristen-stewart they are not being shared as videos as they used to be, but they appear on Facebook as an image now instead of our video player showing on facebook wall as it used to.

The code (see under) that we have on our site backend has not changed. All this problem happened in NOV 2017, right after I changed these 3 other factors.

Therefore since it was all previously working before the changes above we contact you to see what can be the issue and kindly check my code just in case that's missing something I should add today. Thank you

    $document->addCustomTag('<link rel="canonical" href="' . $instance->toString() . '"/>');
    $document->addCustomTag('<link rel="image_src" href="' . $fb . '"/>');

    $document->addCustomTag('<meta property="og:video:secure_url" content="' . PLAYERPATH . '?baserefJHDV=' . $details1 ['baseurl'] . '&id='. $this->videodetails->id .'&playlist_auto=false&showPlaylist=false&shareIcon=false&email=false&zoomIcon=false&playlist_autoplay=false&videoID=0&embedplayer=true" />');
    $document->addCustomTag('<meta property="og:video" content="' . PLAYERPATH . '?baserefJHDV=' . $details1 ['baseurl'] . '&id='. $this->videodetails->id .'&playlist_auto=false&showPlaylist=false&shareIcon=false&email=false&zoomIcon=false&playlist_autoplay=false&videoID=0&embedplayer=true" />');
    $document->addCustomTag('<meta property="og:video:url" content="' . PLAYERPATH . '?baserefJHDV=' . $details1 ['baseurl'] . '&id='. $this->videodetails->id .'&playlist_auto=false&showPlaylist=false&shareIcon=false&email=false&zoomIcon=false&playlist_autoplay=false&videoID=0&embedplayer=true"/>');
    $document->addCustomTag('<meta property="og:video:type" content="application/x-shockwave-flash" />');
    $document->addCustomTag('<meta property="og:video:width" content="1280"/>');
    $document->addCustomTag('<meta property="og:video:height" content="720"/>');
    $document->addCustomTag('<meta property="og:image" content="' . $video_preview . '"/>');
    $document->addCustomTag('<meta property="og:description" content="' . $video_desc . '"/>');

    $document->addCustomTag('<meta property="fb:app_id" content="111111111111111"/>');
    $document->addCustomTag('<meta property="og:site_name" content="' . $siteName . '"/>');
    $document->addCustomTag('<meta property="og:url" content="' . $instance->toString() . '"/>');
    $document->addCustomTag('<meta property="og:title" content="' . $video_title . '"/>');
    $document->addCustomTag('<meta property="og:type" content="website"/>');

Upvotes: 0

Views: 59

Answers (0)

Related Questions