hi smacdonald,
thank you for your reply, but I need to provide the share functionality to the end user, not for the author.
if end user on clicking share button the video from the Aem need to be shared on facebook and twitter sites,
I am using facebook open graph meta tags for sharing, I was able to share the video but on Facebook, after sharing if the user clicks on the shared video it is playing in the new tab instead of playing in facebook. my requirement is video need to be shared by the ender user on clicking the share button and the video has to be played on facebook instead of redirecting to aem.
For twitter, I was able to share the video on twitter and video is also playing on the twitter site, to achieve this I have used twitter player card(meta tags) but on one page I have more than one video I can generate meta tags for only one video to share, how can i share video if I have more than one video. I have tried to change meta tags through jquery but there is no use of that because on sharing the page url
twitter is trying to read meta tags from the serverside.how can i change the meta tags on the server side can you help me with this?
Thank you,
Rahul Nirale