This is the following, I have an audio player in html5 and javascript, when I try to share a song in the face for example, the post will not with the audio title but only with the title of the page, my question is how can I do so that when sharing is also shown the name of the audio being shared.
I tried to use a variable that takes the name of the running song, but the "og" tag does not recognize html:
<?php $description = '<span class="center" id="npTitle"></span>';?>
I tried to call it like this:
<meta property="og:description" content="<?php echo $description;?>" />
But it does not work, any suggestions, can you solve without having to reshape the entire player? Thanks!
My player: link