New Dynamic YouTube Gallery - Embed YouTube Playlist, Channel, Live Stream in minutes. Read More

Sharing without the player in Facebook

  • kojot0s
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 27

Sharing without the player in Facebook was created by kojot0s

Hi,

How to turn off the player when sharing on facebook? I would like to share just a thumbnail.
11 years 5 months ago #4765

Please Log in or Create an account to join the conversation.

  • Posts: 2478
  • Thank you received: 1451

Replied by Administrator on topic Re: Sharing without the player in Facebook

- Open {root}/components/com_allvideoshare/models/player.php

- Scroll down to buildCustomMeta()

- Remove the following lines,
$doc->addCustomTag( '<meta property="og:video" content="'.$swf.'" />' );
$doc->addCustomTag( '<meta property="og:video:type" content="application/x-shockwave-flash" />' );
$doc->addCustomTag( '<meta property="og:video:width" content="560" />' );
$doc->addCustomTag( '<meta property="og:video:height" content="340" />' );
- That's it
11 years 5 months ago #4767

Please Log in or Create an account to join the conversation.

  • kojot0s
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 27

Replied by kojot0s on topic Re: Sharing without the player in Facebook

Thank you :)
11 years 5 months ago #4791

Please Log in or Create an account to join the conversation.

Time to create page: 0.108 seconds

We accept cookies to provide you the best viewing experience. By using our services, you agree to our use of cookies