../ (back)

Jekyll Media Embeds

I just made some quick embeds for media stuff.

Youtube

Put this in your _includes folder

<iframe width="560" height="315" src="https://www.youtube.com/embed/{{ include.id }}" frameborder="0" allowfullscreen></iframe>

And insert this where you want the player

{% include youtube_embed.html id="Jr_kxwRRapY" %}

Soundcloud

<iframe width="100%" height="166" scrolling="no" frameborder="no" allow="autoplay" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/{{ include.id }}&color=%23ff5500&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&show_teaser=true"></iframe>
{% include soundcloud_embed.html id=1050991303 %}

Spotify

<iframe src="https://open.spotify.com/embed/track/{{ include.id }}" width="300" height="380" frameborder="0" allowtransparency="true" allow="encrypted-media"></iframe>
{% include spotify_embed.html id=1n7omixiROWs5q6xpWiQuL %}