my code stock.com

Timo Müller

youTube Einbindung einfach
by Timo Müller

Snippet options

Download: Download snippet as youtube-einbindung-einfach.html.
Copy snippet: For this you need a free my code stock.com account.
Embed code : You will find the embed code for this snippet at the end of the page, if you want to embed it into a website or a blog!

<we:ifEditmode>
  <link rel="stylesheet" href="/core/css/screen/content.css" />
  <h1>YouTube Clip Einbindung</h1>
  <strong>Bitte hier den letzten Teil der URL zum einzubettenden YouTube MovieClip angeben (im Beispiel <font color="red">rot</font> markiert).</strong><br />
  z.B.: http://youtu.be/<font color="red">h4e7F5SoeME</font><br />
  <we:input type="text" name="ClipURL" /><br /><br />
  <strong>Bitte hier die Breite (in Pixel) des einzubettenden YouTube MovieClips angeben.</strong><br />
  <we:input type="text" name="ClipBreite" /><br /><br />
  <strong>Bitte hier die Höhe (in Pixel) des einzubettenden YouTube MovieClips angeben.</strong><br />
  <we:input type="text" name="ClipHoehe" /><br /><br />
<we:else>
  <iframe width="<we:input type="text" name="ClipBreite" />" height="<we:input type="text" name="ClipHoehe" />" src="http://www.youtube.com/embed/<we:input type="text" name="ClipURL" />" frameborder="0" allowfullscreen></iframe>
</we:ifEditmode>

Create a free my code stock.com account now.

my code stok.com is a free service, which allows you to save and manage code snippes of any kind and programming language. We provide many advantages for your daily work with code-snippets, also for your teamwork. Give it a try!

Find out more and register now

You can customize the height of iFrame-Codes as needed! You can find more infos in our API Reference for iframe Embeds.