UNPKG

@kokotree-inc/videojs-smooth-slider-plugin

Version:

A Video.js plugin that enhances the seek bar with smooth seeking functionality, allowing for a more responsive and precise user interaction during video playback. It overrides the default handleMouseMove and getPercent methods of the SeekBar component to

65 lines (64 loc) 3.33 kB
{ "name": "@kokotree-inc/videojs-smooth-slider-plugin", "version": "1.1.4", "description": "A Video.js plugin that enhances the seek bar with smooth seeking functionality, allowing for a more responsive and precise user interaction during video playback. It overrides the default handleMouseMove and getPercent methods of the SeekBar component to provide a smoother scrubbing experience.", "main": "dist/index.js", "module": "dist/index.js", "typings": "./dist/index.d.ts", "scripts": { "prebuild": "echo Running pre build && node -p \"'export const PLUGIN_VERSION = ' + JSON.stringify(require('./package.json').version) + ';'\" > src/version.ts && test -e tmp/build.version || touch tmp/build.version && date > tmp/build.version", "build": "webpack --mode production --no-watch", "publish:yalc": "yalc publish", "copy:build-version-to-demo": "echo Copying build.version && cp -f tmp/build.version ../demo/typescript/src/build.version", "publish-yalc": "npm run publish:yalc", "change": "echo Files Changed && npm run prebuild && echo Starting Webpack && webpack --mode production --no-watch && wait-on dist && npm run publish-yalc-and-copy-css && npm run copy:build-version-to-demo", "watch": "npm run prebuild && webpack --mode production --no-watch && onchange --exclude 'src/tmp' --exclude 'src/version.ts' 'package.json' 'src' -- npm run change", "doc": "typedoc src/index.ts", "prepublish": "rm -f dist/build.version dist/version.d.ts && cp package.json dist/package.json && cp README.md dist/README.md", "update-dependencies": "npm install concurrently@latest copy-webpack-plugin@latest css-loader@latest css-minimizer-webpack-plugin@latest mini-css-extract-plugin@latest nodemon@latest onchange@latest postcss-loader@latest sass-loader@latest terser-webpack-plugin@latest ts-loader@latest tslint@latest typedoc@latest typescript@latest video.js@latest wait-on@latest webpack-cli@latest --save-dev", "update-dev-dependencies": "npm install @types/video.js@latest --save-dev", "publish-lib": "npm run build && npm run prepublish && cd ./dist && npm publish --access=public" }, "repository": { "type": "git", "url": "git+https://github.com/Kokotree-Inc/videojs-smooth-slider-plugin.git" }, "keywords": [ "videojs", "videojs-plugin", "smooth-seeking", "video-player", "seekbar-enhancement", "videojs-extension", "media-player-plugin", "interactive-media", "video-control", "videojs-seekbar" ], "license": "MIT", "bugs": { "url": "https://github.com/Kokotree-Inc/videojs-smooth-slider-plugin/issues" }, "homepage": "https://github.com/Kokotree-Inc/videojs-smooth-slider-plugin#readme", "devDependencies": { "@types/node": "^20.11.5", "@types/video.js": "^7.3.56", "concurrently": "^8.2.2", "copy-webpack-plugin": "^12.0.2", "css-loader": "^6.9.1", "css-minimizer-webpack-plugin": "^6.0.0", "mini-css-extract-plugin": "^2.7.7", "nodemon": "^3.0.3", "onchange": "^7.1.0", "postcss-loader": "^8.0.0", "sass-loader": "^14.0.0", "terser-webpack-plugin": "^5.3.10", "ts-loader": "^9.5.1", "tslint": "^6.1.3", "typedoc": "^0.25.0", "typescript": "^5.3.3", "video.js": "^8.9.0", "wait-on": "^7.2.0", "webpack-cli": "^5.1.4" } }