Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

og:video Tags werden falsch erzeugt #1

Open
kobelobster opened this issue Jan 15, 2016 · 0 comments
Open

og:video Tags werden falsch erzeugt #1

kobelobster opened this issue Jan 15, 2016 · 0 comments

Comments

@kobelobster
Copy link
Collaborator

Die Library erzeugt og:video-Tags wie folgt

<meta property="og:video" content="https://www.youtube.com/watch?v=4OX6LDUr548">

Das reicht allerdings nicht aus. Denn das resultiert dazu, dass wenn man eine Seite auf Facebook shared der Videoplay-Button angezeigt wird, wenn man aber drauf drückt nichts passiert und da wo vorher das Bild war, ist einfach nur noch'n weisser Block.

https://developers.facebook.com/docs/sharing/webmasters#video

Auszug

og:video:width - Width of video in pixels. This property is required for videos.
og:video:height - Height of video in pixels. This property is required for videos.

Beispiel wie es sein sollte anhand von YT

<meta property="og:type" content="video">
<meta property="og:video:url" content="https://www.youtube.com/embed/tRQZRToIBxU">
<meta property="og:video:secure_url" content="https://www.youtube.com/embed/tRQZRToIBxU">
<meta property="og:video:type" content="text/html">
<meta property="og:video:width" content="1280">
<meta property="og:video:height" content="720">

(optional)

<meta property="og:video:tag" content="Wiz Khalifa">
@kobelobster kobelobster changed the title og:video Tags sind falsch. og:video Tags werden falsch erzeugt Jan 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant