diff --git a/README.md b/README.md index d908df6..6748f6d 100644 --- a/README.md +++ b/README.md @@ -227,10 +227,10 @@ const DefaultResolutions = [ ## Example Front-end Usage -Any video player that can play .m3u8 files can be used. Here is a simple example using the `react-hls-player`. +Any video player that can play .m3u8 files can be used. Here is a simple example using the `react-hls-video-player`. View docs for [react-hls-video-player here.]('https://github.com/cgilly2fast/react-hls') ```tsx import React, { useRef, useState } from 'react'; -import ReactHlsPlayer from 'react-hls-player'; +import ReactHlsPlayer from 'react-hls-video-player'; const SimpleHlsPlayer = () => { const playerRef = useRef(null); diff --git a/package.json b/package.json index 84697e5..07ff938 100644 --- a/package.json +++ b/package.json @@ -25,8 +25,11 @@ "clean": "rimraf dist && rimraf dev/yarn.lock", "prepublishOnly": "yarn clean && yarn build && cd dev && yarn test" }, - "author": "colbygilbert95@gmail.com", - "license": "MIT", + "author": "Colby Gilbert", + "license": "MIT", + "bugs": { + "url": "https://github.com/cgilly2fast/plugin-adaptive-bitrate-videos/issues" + }, "peerDependencies": { "payload": "^2.0.0" }, diff --git a/src/endpoints/ProcessVideo/service/sliceVideo.ts b/src/endpoints/ProcessVideo/service/sliceVideo.ts index b1c314d..be96a20 100644 --- a/src/endpoints/ProcessVideo/service/sliceVideo.ts +++ b/src/endpoints/ProcessVideo/service/sliceVideo.ts @@ -70,6 +70,7 @@ export async function sliceVideo( const copiedVideoPath = path.join(tempOutputDir, `${path.basename(inputPath)}`) await new Promise((resolveCopy, rejectCopy) => { const file = fs.createWriteStream(copiedVideoPath) + console.log(copiedVideoPath) const protocol = copiedVideoPath.toLowerCase().startsWith('https:') ? https : http protocol.get(inputPath, resp => { resp.pipe(file)