Use full path for OpenGraph og:image
All checks were successful
Invidious CI / build (push) Successful in 4m23s
All checks were successful
Invidious CI / build (push) Successful in 4m23s
This commit is contained in:
parent
0d3eb678f0
commit
01bfa94f84
3 changed files with 2 additions and 11 deletions
|
@ -6,15 +6,6 @@ on:
|
|||
schedule:
|
||||
- cron: '0 7 * * 0'
|
||||
push:
|
||||
branches: ["*"]
|
||||
paths:
|
||||
- './src/**'
|
||||
- './lib/**'
|
||||
- './spec/**'
|
||||
- './locales/**'
|
||||
- './docker/**'
|
||||
- 'shard.yml'
|
||||
- 'videojs-dependencies.yml'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
<meta property="og:site_name" content="Invidious">
|
||||
<meta property="og:url" content="<%= HOST_URL %>/channel/<%= ucid %>">
|
||||
<meta property="og:title" content="<%= author %>">
|
||||
<meta property="og:image" content="/ggpht<%= channel_profile_pic %>">
|
||||
<meta property="og:image" content="<%= HOST_URL %>/ggpht<%= channel_profile_pic %>">
|
||||
<meta property="og:description" content="<%= channel.description %>">
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:url" content="<%= HOST_URL %>/channel/<%= ucid %>">
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<meta property="og:site_name" content="<%= author %> | Invidious">
|
||||
<meta property="og:url" content="<%= HOST_URL %>/watch?v=<%= video.id %>">
|
||||
<meta property="og:title" content="<%= title %>">
|
||||
<meta property="og:image" content="/vi/<%= video.id %>/maxres.jpg">
|
||||
<meta property="og:image" content="<%= HOST_URL %>/vi/<%= video.id %>/maxres.jpg">
|
||||
<meta property="og:description" content="<%= HTML.escape(video.short_description) %>">
|
||||
<meta property="og:type" content="video.other">
|
||||
<meta property="og:video:url" content="<%= HOST_URL %>/embed/<%= video.id %>">
|
||||
|
|
Loading…
Reference in a new issue