Updated OG tags
This commit is contained in:
parent
1e66046463
commit
8d50f9583e
@ -30,8 +30,8 @@ func getOpenGraph(ctx *aero.Context, amv *arn.AMV) *arn.OpenGraph {
|
|||||||
if amv.File != "" {
|
if amv.File != "" {
|
||||||
openGraph.Tags["og:video"] = "https://" + ctx.App.Config.Domain + "/videos/amvs/" + amv.File
|
openGraph.Tags["og:video"] = "https://" + ctx.App.Config.Domain + "/videos/amvs/" + amv.File
|
||||||
openGraph.Tags["og:video:type"] = "video/webm"
|
openGraph.Tags["og:video:type"] = "video/webm"
|
||||||
openGraph.Tags["og:video:width"] = "400"
|
openGraph.Tags["og:video:width"] = "640"
|
||||||
openGraph.Tags["og:video:height"] = "225"
|
openGraph.Tags["og:video:height"] = "360"
|
||||||
|
|
||||||
openGraph.Meta["twitter:player"] = openGraph.Tags["og:video"]
|
openGraph.Meta["twitter:player"] = openGraph.Tags["og:video"]
|
||||||
openGraph.Meta["twitter:player:width"] = openGraph.Tags["og:video:width"]
|
openGraph.Meta["twitter:player:width"] = openGraph.Tags["og:video:width"]
|
||||||
|
Loading…
Reference in New Issue
Block a user