We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug The 'play button' on the embedded player doesn't match the styling of the official YouTube embedded player.
To Reproduce Steps to reproduce the behavior:
LiteYouTubeEmbed
Expected behavior The 'play' button should match the official YouTube styling.
Screenshots Current styling:
Expected styling:
Desktop (please complete the following information):
Additional context
The original lite-youtube-embed package uses a background-image SVG to match the play button styling to the official YouTube embedded player:
background-image
/* play button */ lite-youtube > .lty-playbtn { display: block; /* Make the button element cover the whole area for a large hover/click target… */ width: 100%; height: 100%; /* …but visually it's still the same size */ background: no-repeat center/68px 48px; /* YT's actual play button svg */ background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 68 48"><path d="M66.52 7.74c-.78-2.93-2.49-5.41-5.42-6.19C55.79.13 34 0 34 0S12.21.13 6.9 1.55c-2.93.78-4.63 3.26-5.42 6.19C.06 13.05 0 24 0 24s.06 10.95 1.48 16.26c.78 2.93 2.49 5.41 5.42 6.19C12.21 47.87 34 48 34 48s21.79-.13 27.1-1.55c2.93-.78 4.64-3.26 5.42-6.19C67.94 34.95 68 24 68 24s-.06-10.95-1.48-16.26z" fill="red"/><path d="M45 24 27 14v20" fill="white"/></svg>'); position: absolute; cursor: pointer; z-index: 1; filter: grayscale(100%); transition: filter .1s cubic-bezier(0, 0, 0.2, 1); border: 0; }
The text was updated successfully, but these errors were encountered:
Would love to see this by default since the current button really looks like my site is scam.
Sorry, something went wrong.
No branches or pull requests
Describe the bug
The 'play button' on the embedded player doesn't match the styling of the official YouTube embedded player.
To Reproduce
Steps to reproduce the behavior:
LiteYouTubeEmbed
component.Expected behavior
The 'play' button should match the official YouTube styling.
Screenshots
![Screenshot 2024-05-22 at 11 14 44 AM](https://private-user-images.githubusercontent.com/13686180/332606308-a0031391-1c33-4362-83ba-66ac73ecafa3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4ODExMjksIm5iZiI6MTczODg4MDgyOSwicGF0aCI6Ii8xMzY4NjE4MC8zMzI2MDYzMDgtYTAwMzEzOTEtMWMzMy00MzYyLTgzYmEtNjZhYzczZWNhZmEzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA2VDIyMjcwOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJhODEwNGEwOTVjNWExZjU3NzRlZjMxOTY5NzA0MjIwNzgxNzczMjkxOWJkNzNlYjQzOGUzZGJkZTgwZTliNDgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.QT1ozlnl7TgBtJajR9Of54EBng4Ua3ac7fCxjtGGr7s)
Current styling:
Expected styling:
![paulirish github io_lite-youtube-embed_variants_solo html](https://private-user-images.githubusercontent.com/13686180/332605804-c362f01f-d0e3-4228-8839-315eecebe277.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4ODExMjksIm5iZiI6MTczODg4MDgyOSwicGF0aCI6Ii8xMzY4NjE4MC8zMzI2MDU4MDQtYzM2MmYwMWYtZDBlMy00MjI4LTg4MzktMzE1ZWVjZWJlMjc3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA2VDIyMjcwOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZiOTQ1YzM0OGM0ZDc4MjVjMjU1YWQxMzhmZDkxOGMxYmFkNjQ2Yzc2YTM4N2I0NGRmZDFmNjcxZmQyODUzOGMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.8UZIuM5nY8DTvcS_KpmOYh5U_-7GjmNdvGUu5qai8f8)
Desktop (please complete the following information):
Additional context
The original lite-youtube-embed package uses a
background-image
SVG to match the play button styling to the official YouTube embedded player:The text was updated successfully, but these errors were encountered: