Languages
[Edit]
EN

HTML - embeded youtube video started from specific second/time

1 points
Created by:
AnnLen
1780

In this short article, we're going to have a look at how insert embeded YouTube video that stars from indicated time after run. In presented example YouTube video starts from indicated second.

Example runnable code below:

// ONLINE-RUNNER:browser;

<iframe width="640" height="480"
        src="//www.youtube.com/embed/SOGpvHun6vg?start=30" 
        frameborder="0" allowfullscreen>
</iframe>

Where:

  • SOGpvHun6vg is video id,
  • 30 number is default start second for embeded video.
Hey 👋
Would you like to know what we do?
  • Dirask is a friendly IT community for learners, professionals and hobbyists to share their knowledge and help each other in extraordinary easy way.
  • We welcome everyone,
    no matter what the experience,
    no matter how basic the question is,
    this community will help you.