HTML5 Video Play Sequence Of Video Segments - Vanilla JS

JSFiddle - Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle. Your recent fiddles

Collections PRO

Select collections:

  • New collection

Resources URL cdnjs 0

  • Paste a direct CSS/JS URL
  • Type a library name to fetch from CDNJS

Async requests

Simulating async requests:

  • JSON /echo/json/
  • JSONP /echo/jsonp/
  • HTML /echo/html/
  • XML /echo/xml/

See docs for more info.

Changelog

JSFiddle Apps

  • Color Palette Generator
  • Sign in
  • HTML
  • JavaScript
  • CSS

Language

  • HTML
  • HAML

Doctype

XHTML 1.0 Strict XHTML 1.0 Transitional HTML 5 HTML 4.01 Strict HTML 4.01 Transitional HTML 4.01 Frameset

Language

  • JavaScript
  • CoffeeScript
  • JavaScript 1.7
  • Babel + JSX
  • TypeScript
  • CoffeeScript 2
  • Vue
  • React
  • Preact

Extensions

Alpine.js 2.1.2 AngularJS 1.1.1 AngularJS 1.2.1 AngularJS 1.4.8 AngularJS 2.0.0-alpha.47 Bonsai 0.4.1 Brick edge CreateJS 2013.09.25 CreateJS 2015.05.21 D3 3.x D3 4.13.0 D3 5.9.2 Dojo (nightly) Dojo 1.4.8 Dojo 1.5.6 Dojo 1.6.5 Dojo 1.7.12 Dojo 1.8.14 Dojo 1.9.11 Dojo 1.10.8 Dojo 1.11.4 Dojo 1.12.2 Ember (latest) Enyo (nightly) Enyo 2.0.1 Enyo 2.1 Enyo 2.2.0 Enyo 2.4.0 Enyo 2.5.1 Enyo 2.7.0 ExtJS 3.1.0 ExtJS 3.4.0 ExtJS 4.1.0 ExtJS 4.1.1 ExtJS 4.2.0 ExtJS 5.0.0 ExtJS 5.1.0 ExtJS 6.2.0 FabricJS 1.5.0 FabricJS 1.7.7 FabricJS 1.7.15 FabricJS 1.7.20 Inferno 1.0.0-beta9 JSBlocks (edge) KineticJS 4.0.5 KineticJS 4.3.1 Knockout.js 2.0.0 Knockout.js 2.1.0 Knockout.js 2.2.1 Knockout.js 2.3.0 Knockout.js 3.0.0 Knockout.js 3.4.2 Lo-Dash 2.2.1 Minified 1.0 beta1 MithrilJS 0.2.0 MithrilJS 1.1.6 Mootools (nightly) Mootools 1.3.2 Mootools 1.3.2 (compat) Mootools 1.4.5 Mootools 1.4.5 (compat) Mootools 1.5.1 Mootools 1.5.2 Mootools 1.5.2 (compat) Mootools 1.6.0 Mootools 1.6.0 (compat) No-Library (pure JS) OpenUI5 (latest, mobile) Paper.js 0.22 Pixi 3.0.11 Pixi 4.0.0 Processing.js 1.2.3 Processing.js 1.3.6 Processing.js 1.4.1 Processing.js 1.4.7 Prototype 1.6.1.0 Prototype 1.7.3 RactiveJS 0.7.3 Raphael 1.4 Raphael 1.5.2 Raphael 2.1.0 React 0.3.2 React 0.4.0 React 0.8.0 React 0.9.0 React 0.14.3 RightJS 2.1.1 RightJS 2.3.1 Riot 3.7.4 Shipyard (nightly) Shipyard 0.2 Thorax 2.0.0rc3 Thorax 2.0.0rc6 Three.js r54 Three.js 105 Underscore 1.3.3 Underscore 1.4.3 Underscore 1.4.4 Underscore 1.8.3 Vue (edge) Vue 1.0.12 Vue 2.2.1 WebApp Install 0.1 XTK edge YUI 2.8.0r4 YUI 3.5.0 YUI 3.6.0 YUI 3.7.3 YUI 3.8.0 YUI 3.10.1 YUI 3.14.0 YUI 3.16.0 YUI 3.17.2 Zepto 1.0rc1 jQuery (edge) jQuery 1.9.1 jQuery 2.1.3 jQuery 2.2.4 jQuery 3.2.1 jQuery 3.3.1 jQuery 3.4.1 jQuery Slim 3.2.1 jQuery Slim 3.3.1 jQuery Slim 3.4.1 jTypes 2.1.0 qooxdoo 2.0.3 qooxdoo 2.1 svg.js 2.6.5 svg.js 2.7.1 svg.js 3.0.5

script attribute

Language

  • CSS
  • SCSS
  • SASS
  • PostCSS (Stage 0+)
  • PostCSS (Stage 3+)
  • Tailwind CSS

Reset CSS

  • This fiddle has previously unsaved changes. Apply changes Discard

Keep JSFiddle running.Whitelist us in your content blocker.

We've been providing web developers, educators, students, companies with JSFiddle free for many years.

Your can help us in one of two ways:

  • Whitelist JSFiddle in your content blocker
  • Go PRO and get access to additional PRO features →
  • Ad-free

    All ads in the editor and listing pages are turned completely off.

  • Use pre-released features

    You get to try and use features (like the Palette Color Generator) months before everyone else.

  • Fiddle collections

    Sort and categorize your Fiddles into multiple collections.

  • Private collections and fiddles

    You can make as many Private Fiddles, and Private Collections as you wish!

  • Console

    Debug your Fiddle with a minimal built-in JavaScript console.

Join the 4+ million users, and keep the JSFiddle dream alive.

  • Ad-free

    All ads in the editor and listing pages are turned completely off.

  • Use pre-released features

    You get to try and use features (like the Palette Color Generator) months before everyone else.

  • Fiddle collections

    Sort and categorize your Fiddles into multiple collections.

  • Private collections and fiddles

    You can make as many Private Fiddles, and Private Collections as you wish!

  • Console

    Debug your Fiddle with a minimal built-in JavaScript console.

JSFiddle is used by you and 4+ million other developers, in many companies ...

... and top educational institutions:

image/svg+xml Join as PRO

Tabs:

JavaScript HTML CSS Result

Visual:

Light Dark

Embed snippet Prefer iframe?:

No autoresizing to fit the code

Render blocking of the parent page

Behavior

Auto-run code

Only auto-run code that validates

Auto-save code

Auto-close HTML tags

Auto-close brackets

Live code validation

Highlight matching tags

Hot reload CSS NEW

Hot reload HTML NEW

General

Line numbers

Wrap lines

Indent with tabs

Code hinting (autocomplete)

Indent size: 2 spaces 3 spaces 4 spaces Key map: Default Sublime Text EMACS Vim Font size: Default Big Bigger Jabba

Console

Console in the editor

Clear console on run

  • New Your recent fiddles when logged out

    Saving a fiddle, even when you're logged out, will put it under the Your recent fiddles modal in the sidebar. They will eventually disappear (since they're anonymous), but now you'll have time to save them under your user after logging in.

  • New Tailwind CSS

    Added Tailwind CSS to the list of precompilers - even though it's really HTML, you can activate it from the dropdown in the CSS panel. Tailwind CSS would be best used with HTML Hot-reload enabled.

  • Update Code linting and formatting

    We've replaced the dated code linter and formatted with more modern ones: Stylelint and Prettier.

  • New JSFiddle 3.0

    The 3.0 updates brings a lot of changes, most notably a modern UI refresh.

    There was an increadible amount of under-the-hood changes for the front-end, we've mostly moved away from pre-processors. The light/dark themes are using a modern light-dark() approach. The refactoring allows for more changes to be made in a spedier manner.

    • In the new sidebar you can find our mini-apps (right now the Color Palette Generator)

    • System theme follows your OS settings

    • CSS Hot-reload - styles update immidietly as you type

    • HTML Hot-reload (experimental) - update HTML immidietly as you type

    • Results panel color follows the selected theme

    • Title and description are now a single field

    • Public Profile page is completelty redesigned and can be easily used as your code showcase

    • Groups are now Collections and we have big plans for them

    • Collections are completely redesigned

    • Users can now add groups straight from the editor

  • New Import fiddles as modules

    Import fiddle code into other fiddles with Modules and Imports.

    JS Modules: import [name] from '@jsfiddle/[username]/[fiddle].js'

    CSS Import: @import url('@jsfiddle/[username]/[fiddle].css')

    See how this works in this fiddle.

  • Change Fiddle listing shows latest version

    The fiddle listings (Public, Private, Titled, etc) will now display latest versions instead of the ones saved as Base versions - this was causing more confusion than good, so we decided to change this long-standing behavior.

  • Change Evaluate code into the console

    Custom Console beta is getting more stable and feature-rich. Just added the ability to evaluate code in the console.

  • New Console in the editor

    Introducing the first beta of the editor console - it's going to show you logs, warnings, errors without the need of opening full devtools.

    Console is avaialble for all users during beta, after that it'll be available for JSFiddle supporters.

  • New More user's social links (Dev.to, Stack Overflow, Medium)

    You can add more of your social links `Settings / Social Media`, for Dev.to, Stack Overflow and Medium. These will be displayed on the profile section in Editor's sidebar and your public profile.

  • Change Refactored Unsaved Drafts feature

    Unsaved drafts feature is completely rewritten with 100% fewer bugs and 10x more maintainable codebase – as the author of the previous one, I had hard times figuring out what it does 🥴

Classic Columns Bottom results Right results Tabs (columns) Tabs (rows) System Light Dark

Từ khóa » Html5 Video Segment