Code Monkey home page Code Monkey logo

video_scene_selector's Introduction

Video Scene Selector

HTML5 video editor for select scenes. It use a range slider to choose the scenes of a video and get the start and end seconds.

Features

  • HTML5
  • Supports touch devices
  • Adapt to your style

Dependencies

  • jQuery
  • jQuery UI
  • jQRangeSlider
  • Bootstrap

Quick Start

  <link href="../video_scene_selector.css" rel="stylesheet" type="text/css"> 
  <script src="../video_scene_selector.js"></script> 

  <script>
    $(function() {
      $('#my_video').vScene({
        onChange: function (start, end) {
          console.log("Start: " + start + " End: " + end);
        },
        onSelect: function (start, end) {
          console.log("Start: " + start + " End: " + end);
        }
      });
    });
  </script>

  <body>
    <div class="container">
      <video controls="controls" id="my_video">
        <source src="http://devfiles.myopera.com/articles/2642/sintel-trailer.ogv" type='video/ogg; codecs="theora, vorbis"'>
      </video>
     </div>
  </body>

Documentation

None of the parameters is mandatory.

Callbacks

Name Values Description
onChange function (start, end) {}

This function is called every time the scene changes its start or end seconds.

onSelect function (start, end) {}

This function is called when the user clicks the select button.

License

Copyright : Jesus Sayar Celestino 2013 License : MIT

video_scene_selector's People

Contributors

jesus-sayar avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.