mimetypes-media-video-youtube
Introduced in v1.0.0
Available in TYPO3
7.6 8.6 9.5 10.4 11.5
Buttons
Button Label Button Label
Button Label Button Label
Usage
Markup
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g><path fill="#CD201F" d="M2 0v16h12V4l-4-4H2z"/><path fill="#FFF" d="M10 4V0l4 4h-4z" opacity=".65"/><path fill="#212121" d="M14 4v5l-4-5h4z" opacity=".15"/></g><g><path fill="#FFF" d="M7.1 11V8.5l2.4 1.3L7.1 11zm5.3-3s-.1-.6-.4-.9c-.3-.4-.7-.4-.9-.4H8s-1.9 0-3.2.1c-.2 0-.6 0-.9.4-.2.2-.3.8-.3.8s-.1.8-.1 1.5v.7c0 .7.1 1.5.1 1.5s.1.6.4.9c.3.4.8.3 1 .4h3s1.9 0 3.2-.1c.2 0 .6 0 .9-.4.3-.3.4-.9.4-.9s.1-.7.1-1.5v-.6c-.1-.7-.2-1.5-.2-1.5"/></g></svg>
Inline
<span class="icon icon-size-small icon-state-default">
<span class="icon-markup">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g><path fill="#CD201F" d="M2 0v16h12V4l-4-4H2z"/><path fill="#FFF" d="M10 4V0l4 4h-4z" opacity=".65"/><path fill="#212121" d="M14 4v5l-4-5h4z" opacity=".15"/></g><g><path fill="#FFF" d="M7.1 11V8.5l2.4 1.3L7.1 11zm5.3-3s-.1-.6-.4-.9c-.3-.4-.7-.4-.9-.4H8s-1.9 0-3.2.1c-.2 0-.6 0-.9.4-.2.2-.3.8-.3.8s-.1.8-.1 1.5v.7c0 .7.1 1.5.1 1.5s.1.6.4.9c.3.4.8.3 1 .4h3s1.9 0 3.2-.1c.2 0 .6 0 .9-.4.3-.3.4-.9.4-.9s.1-.7.1-1.5v-.6c-.1-.7-.2-1.5-.2-1.5"/></g></svg>
</span>
</span>
Sprite
<span class="icon icon-size-small icon-state-default">
<span class="icon-markup">
<svg role="img"><use xlink:href="dist/sprites/mimetypes.svg#mimetypes-media-video-youtube" /></svg>
</span>
</span>
TYPO3 ViewHelper
<core:icon identifier="mimetypes-media-video-youtube" size="small" />
CSS Background Image
.myclass {
background-size: 1em 1em;
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cg%3e%3cpath fill='%23CD201F' d='M2 0v16h12V4l-4-4H2z'/%3e%3cpath fill='%23FFF' d='M10 4V0l4 4h-4z' opacity='.65'/%3e%3cpath fill='%23212121' d='M14 4v5l-4-5h4z' opacity='.15'/%3e%3c/g%3e%3cg%3e%3cpath fill='%23FFF' d='M7.1 11V8.5l2.4 1.3L7.1 11zm5.3-3s-.1-.6-.4-.9c-.3-.4-.7-.4-.9-.4H8s-1.9 0-3.2.1c-.2 0-.6 0-.9.4-.2.2-.3.8-.3.8s-.1.8-.1 1.5v.7c0 .7.1 1.5.1 1.5s.1.6.4.9c.3.4.8.3 1 .4h3s1.9 0 3.2-.1c.2 0 .6 0 .9-.4.3-.3.4-.9.4-.9s.1-.7.1-1.5v-.6c-.1-.7-.2-1.5-.2-1.5'/%3e%3c/g%3e%3c/svg%3e");
}
Sass Background Variable
@import "@typo3/icons/dist/icons.scss";
@import "@typo3/icons/dist/scss/icons-variables-mimetypes.scss";
.myclass {
background-size: 1em 1em;
background-image: $icon-mimetypes-media-video-youtube;
}