jein. medium verhindert das ja mittlerweile auch. die haben das bestimmt sehr kompliziert umgesetzt. ich setze es einfach so um, dass ich ein vorschaubild einsetze, das per jquery nach einem klick mit dem youtube-embedcode ersetzt wird. das ist der code den ich dafür verwende. {contents} ist der platzhalter für die youtube-ID.


<figure>
<div class="youtube-wrapper" id="youtube{contents}" data-ytid="{contents}">
<a href="https://www.youtube.com/watch?v={contents}" title="anklicken zum abspielen" class="showtooltipnot"><span class="youtube_previewimage" style="position:relative;display:block;"><img class="u-photo" src="https://root.wirres.net/videothumb.php?id={contents}" width="500" height="300" alt="youtube-video" /></span></a>
</div>
<figcaption><a href="https://www.youtube.com/watch?v={contents}">direkt youtube-link</a></figcaption></figure>
<script type="text/javascript">$(document).ready(function(){$('#youtube{contents} img').click(function(e){$('#youtube{contents}').append('<i'+'frame src="https://www.youtube.com/embed/{contents}?&autoplay=1&modestbranding=1" width="500" height="300" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></i'+'frame>');$('#youtube{contents} img').delay(2000).remove();$('#youtube{contents}').addClass('fluid-width-video-wrapper');e.preventDefault();});});</script>