Embedded YouTube video: Start in full screen
You can start a YouTube video linked to your website with a little trick in full-screen mode when it is clicked on. We will show you how to do this here.
YouTube: full screen mode at video start
Videos make a website much more interesting. The easiest way is to link YouTube videos. If you want the video to play in full screen mode without detours, you only need to expand the code a little.
- Select the video in YouTube that you want to link to your website. Copy the video ID of the YouTube video.
- Paste the link "//www.youtube.com/swf/cps.swf?video_id=" in front of the video ID on your website. Clicking the link starts the video in full screen mode.
Start embedded YouTube videos in full screen
If you not only want to link a YouTube video but also embed it, you can also display it in full screen.
- Copy the code to embed the video.
- For example, the code generated by YouTube looks like this:
- At the beginning you have to remove "width" and "heigh". To do this, set the size after "frameborder". So change the sample code as follows:
Sometimes YouTube is down. You can read what you can do in this case in the next practical tip.