InfoHeap
Tech
Navigation
  • Home
  • Tutorials
    • CSS tutorials & examples
    • CSS properties
    • Javascript cookbook
    • Linux/Unix Command Line
    • Mac
    • PHP
      • PHP functions online
      • PHP regex
    • WordPress
  • Online Tools
    • Text utilities
    • Online Lint Tools
search

Youtube tutorials

  • Create and embed youtube playlist
  • Create youtube video link from a specific start time
  • Embed youtube video slice
  • Enable youtube monetization and link to adsense
  • Upload closed captions youtube video
  • Create vanity url for your channel in youtube
 
  • Home
  • > Tutorials
  • > Youtube

How embed youtube video slice (specific start and end time)

By admin | Last updated on Mar 21, 2016

Youtube iframe video embed code can be used to embed a slice of a video using extra parameters start and end. These are the steps to embed video slice.

  1. Visit the video page, click share and then embed.
    youtube-video-share-embed

  2. You should be able to see the following embed code. This can be used to embed the full video.
    <iframe width="560" height="315" src="https://www.youtube.com/embed/NxJ0W-yz0LQ" frameborder="0" allowfullscreen></iframe>

  3. Now add start=20 and end=25 parameters as shown below. This code can be used to embed video which will start at 20 seconds and play for 5 seconds (till 25 seconds).
    <iframe width="560" height="315" src="https://www.youtube.com/embed/NxJ0W-yz0LQ?start=20&end=25" frameborder="0" allowfullscreen></iframe>
    try it online

Suggested posts:

  1. How to become Google verified author of your wordpress blog using Google+ profile
  2. Cross browser site testing – what browsers to cover
  3. Python selenium webdriver – quick start guide on Mac
  4. How to create youtube video link from a specific start time
  5. How to write custom css in wordpress
  6. How to create vanity url for your channel in youtube
  7. Python re (regex) replace examples
  8. Python – How to sort dictionary by values
Share this article: share on facebook share on linkedin tweet this submit to reddit
Posted in Tutorials | Tagged Tutorials, Youtube
  • Browse content
  • Article Topics
  • Article archives
  • Contact Us
Popular Topics: Android Development | AngularJS | Apache | AWS and EC2 | Bash shell scripting | Chrome developer tools | Company results | CSS | CSS cookbook | CSS properties | CSS Pseudo Classes | CSS selectors | CSS3 | CSS3 flexbox | Devops | Git | HTML | HTML5 | Java | Javascript | Javascript cookbook | Javascript DOM | jQuery | Kubernetes | Linux | Linux/Unix Command Line | Mac | Mac Command Line | Mysql | Networking | Node.js | Online Tools | PHP | PHP cookbook | PHP Regex | Python | Python array | Python cookbook | SEO | Site Performance | SSH | Ubuntu Linux | Web Development | Webmaster | Wordpress | Wordpress customization | Wordpress How To | Wordpress Mysql Queries | InfoHeap Money | InfoHeap Mutual Funds

Copyright © 2025 InfoHeap.

Powered by WordPress