dloa / browser-react

React version of the Alexandria Browser
2 stars 2 forks source link

Custom player #37

Open copernicus-mogley opened 7 years ago

copernicus-mogley commented 7 years ago

From @copernicus-mogley on April 13, 2017 16:58

For Facebook and Twitter

Audio:

Video:

Copied from original issue: dloa/oip-seo#3

copernicus-mogley commented 7 years ago

From @DevonJames on April 16, 2017 23:23

facebook post audio 1 facebook post audio 2 facebook post video 1

copernicus-mogley commented 7 years ago

The blurred background on these will be tricky because I need to use a node module or some other javascript to blur the cover art image on the fly. Looking into imagemagick to do this.

copernicus-mogley commented 7 years ago

I think that a better solution is to save multiple version of the preview image when publishing. For audio: An optimal size (in case their preview image is huge), a thumbnail, and a blurred version of the optimal-size image. For video: Optimal size and thumbnail. Only the original filename needs to be stored in the json because we can use a predetermined naming method to reference the others.

copernicus-mogley commented 7 years ago

According to https://developers.facebook.com/docs/opengraph/music/ ... Facebook Open Graph Music is only available to whitelisted partners at this time. And I cannot find information anywhere on how to become such a partner.