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

Player's feature 'Faceook' shares wrong video

  • Skysun
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0

Player's feature 'Faceook' shares wrong video was created by Skysun

Hello. When you click on the F on the big player, it gives you an option to share the video on facebook. But somehow it shares not the video i clicked on. how to fix. tnx.

example watchthelife.com/index.php?option=com_al...by=latest&Itemid=101
11 years 1 month ago #7254

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

  • Posts: 2518
  • Thank you received: 1463

Replied by Administrator on topic Re: Player's feature 'Faceook' shares wrong video

It seems you're using multiple players on the same page which is the reason for the cause. Facebook requires OG tags in page header in order to share the player, image and description. When using multiple players in same page, multiple OG tags are added and this cause trouble in choosing the right video. Kindly mail me your server FTP access details to This email address is being protected from spambots. You need JavaScript enabled to view it.. So, I can remove the OG tags and this should solve your issue.
11 years 1 month ago #7255

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

  • Skysun
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0

Replied by Skysun on topic Re: Player's feature 'Faceook' shares wrong video

Thanks. Can you please point me to the right direction so i can remove the tags myself?
11 years 1 month ago #7256

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

  • Posts: 2518
  • Thank you received: 1463

Replied by Administrator on topic Re: Player's feature 'Faceook' shares wrong video

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

- Search for the following line and remove it
$this->buildCustomMeta( $player, $video );
- That's it.

But, still you would have issues when sharing the page due to Facebook cache. Kindly clear Facebook cache of all your URLs using tools.zenverse.net/clear-facebook-cache/
Last edit: 11 years 1 month ago by Administrator.
11 years 1 month ago #7258

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

  • Skysun
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0

Replied by Skysun on topic Re: Player's feature 'Faceook' shares wrong video

Hi. It does not work even after cleaning cache.
11 years 1 month ago #7263

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

  • Skysun
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0

Replied by Skysun on topic Re: Player's feature 'Faceook' shares wrong video

Hi, it does not work. Removed the code and still does not work. Cleaned the cache also.
11 years 1 month ago #7264

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

Time to create page: 0.107 seconds

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