Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6471445
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T06:13:31+00:00 2026-05-25T06:13:31+00:00

I am trying to embed a Youtube video on my site with specific start

  • 0

I am trying to embed a Youtube video on my site with specific start and end times. Sites such as snipsnip.it and splicd.com use the start= and end= tags in the iframe src like so:

<iframe src='http://www.youtube.com/embed/OwjfE2ylbWU?start=5&end=10' width='640' height='360'>
</iframe> 

However, this does not work on my web page. The video starts at the right time but then just plays till the end of the video. The Youtube API states that there is no “end=” tag, yet these sites all use it successfully.

Any idea on how to get embedded Youtube videos to end at a specific point?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T06:13:31+00:00Added an answer on May 25, 2026 at 6:13 am

    splicd.com doesn’t actually depend on the YouTube to stop the video. They poll the player with the following JavaScript and the YouTube Player API:

    function checkYouTubePlayHead()
    {
      current = player.getCurrentTime();
      if((current >= end) && splice) {
        player.seekTo(start, true);=
        player.pauseVideo();
      }
      if(current > start)
        played = true;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to embed a youtube video on my site and it doesn't seem
I'm trying to embed a youtube video on to my page once the user
my site lets users upload the youtube video codes. I am trying to make
So I'm trying to embed a Youtube Video in a Fancybox pop-up window. However,
I'm trying to use the youtube javascript player api to embed youtube videos into
New to programming. I am trying to embed a YouTube video from a link
I'm trying to get the following functionality: Embed a youtube video into a webpage
i'm trying to embed youtube video into my iphone application. I'm using UIWebView and
I am trying to embed a YouTube video in my application, and I am
I'm trying to embed an HD YouTube video but no matter what I try,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.