scottmac / opengraph

Helper class for accessing the OpenGraph Protocol
463 stars 151 forks source link

Repeated tags #41

Open miguelpeniche opened 8 years ago

miguelpeniche commented 8 years ago

Youtube and Vimeo, both sites are duplicating 'go:video:url' tags, the first one works well, but the another one downloads a file, so is not working for embedding purposes.

How can i get the first one instead the last one?

This is the YouTube example:

<meta property="og:video:url" content="https://www.youtube.com/embed/C28onNQMXNU">
<meta property="og:video:secure_url" content="https://www.youtube.com/embed/C28onNQMXNU">
<meta property="og:video:type" content="text/html">
<meta property="og:video:width" content="480">
<meta property="og:video:height" content="360">
<meta property="og:video:url" content="http://www.youtube.com/v/C28onNQMXNU?version=3&amp;autohide=1">
<meta property="og:video:secure_url" content="https://www.youtube.com/v/C28onNQMXNU?version=3&amp;autohide=1">
<meta property="og:video:type" content="application/x-shockwave-flash">