How to embed a link at a specific time in a YouTube video?

Discussion in 'Programming' started by qx1789, Jan 7, 2016.

  1. #2


    This video contain 8 songs.But i want to embed only 4th song.I try the embed code of this video.but it embed from starting.So please tell me how to embed.Share your scripts
     
    qx1789, Jan 7, 2016 IP
  2. qwikad.com

    qwikad.com Illustrious Member Affiliate Manager

    Messages:
    7,297
    Likes Received:
    1,701
    Best Answers:
    31
    Trophy Points:
    475
    #3
    1. Determine where you want your video to start. Let's say it's at 5 minutes. 5 minutes = 300 seconds. It's important that you convert minutes to seconds.

    2. Change your link

    from:

    
    https://www.youtube.com/watch?v=Q0ZK29TSjPA
    
    Code (markup):
    to:

    
    https://www.youtube.com/v/Q0ZK29TSjPA&start=300
    
    Code (markup):
    then place that link into this embed code:

    
    
    <embed src="https://www.youtube.com/v/Q0ZK29TSjPA&start=300" type="application/x-shockwave-flash" allowscriptaccess="always" width="640" height="385"></embed>
    
    
    Code (markup):
    Your video will now start playing at 5 minutes.

    ================

    If you want to just share a link and want it to start at, let's say, 5 minutes you can do it simply like this:

    
    https://www.youtube.com/watch?v=Q0ZK29TSjPA&t=5m0s
    
    Code (markup):
     
    qwikad.com, Jan 7, 2016 IP
  3. qx1789

    qx1789 Greenhorn

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #4
    Its working.Thank you for your reply
     
    qx1789, Jan 9, 2016 IP