Skip to content

Commit

Permalink
fix video embed..
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas2511 committed Jan 2, 2025
1 parent b26d251 commit 3259ed8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/frontend/events/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
%meta{property: 'og:video:release_date', content: @event.release_date}
%meta{property: 'og:description', content: @event.short_description}
%meta{property: 'twitter:card', content: 'player'}
%meta{property: 'twitter:player', content: oembed_event_url(slug: event.slug)}
%meta{property: 'twitter:player', content: oembed_event_url(slug: @event.slug)}
%meta{property: 'twitter:player:height', content: '480'}
%meta{property: 'twitter:player:width', content: '854'}
- @event.persons.each do |speaker|
Expand Down Expand Up @@ -41,7 +41,7 @@
}
},
"contentUrl": "#{@event.preferred_recording.filename}",
"embedUrl": "#{oembed_event_url(slug: event.slug)}"
"embedUrl": "#{oembed_event_url(slug: @event.slug)}"
}
= render partial: 'frontend/shared/folder_feeds', locals: { conference: @conference }
!= "<link href='#{oembed_api_event_url(@event)}' rel='alternate' title='media.ccc.de oembed profile' type='application/json+oembed'>"
Expand Down

0 comments on commit 3259ed8

Please sign in to comment.