jetpack icon indicating copy to clipboard operation
jetpack copied to clipboard

Open Graph: Stop using Flash for og:video

Open kraftbj opened this issue 11 years ago • 4 comments

Right now, we have Flash hardcoded: https://github.com/Automattic/jetpack/blob/8a30daea4c9caea855c24b0ea7e9758d35e01e32/modules/publicize/enhanced-open-graph.php#L89

Per Otto, FB accepts mp4, which we should try to use, at least for VideoPress.

Would fix: https://meta.trac.wordpress.org/ticket/1375

kraftbj avatar Nov 04 '15 14:11 kraftbj

Relevant code from media-summary: https://github.com/Automattic/jetpack/blob/b5fd4cfc5dff8f59cc60b0fa8a2c8dc0edde6739/class.media-summary.php#L60

kraftbj avatar Nov 04 '15 14:11 kraftbj

Actually, per Facebook, they accept MP4. I guarantee nothing, and tend to be cynical about their documentation. :)

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

Otto42 avatar Nov 04 '15 19:11 Otto42

@Otto42 Yup, sorry. I meant more that you said FB said that and I hadn't clicked-thru to read it myself. #lazyweb May the record reflect MP4 might be an option and even if it works, it might not. :)

kraftbj avatar Nov 04 '15 19:11 kraftbj

Moving this to 3.9 since the corresponding PR was moved there.

zinigor avatar Dec 02 '15 13:12 zinigor