Sha256: 9feff4a070d1d895f7750eed2b3f8c13fa238d845b2ded265a98be8a7c546d67
Contents?: true
Size: 377 Bytes
Versions: 1
Compression:
Stored size: 377 Bytes
Contents
# frozen_string_literal: true module Cosensee class TailwindRenderer YoutubeBracket = Data.define(:content, :project) do def render %(<iframe class="w-full aspect-video px-8" src="https://www.youtube.com/embed/#{content.video_id}?autoplay=0" type="text/html" allowfullscreen="" scrolling="no" allow="encrypted-media"></iframe>) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cosensee-0.8.0 | lib/cosensee/tailwind_renderer/youtube_bracket.rb |