diff --git a/README.md b/README.md index 3d3727a..c2dab78 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,8 @@ [![Go Report Card](https://goreportcard.com/badge/github.com/alfg/ffmpegd)](https://goreportcard.com/report/github.com/alfg/ffmpegd) [![Docker Pulls](https://img.shields.io/docker/pulls/alfg/ffmpegd.svg)](https://hub.docker.com/r/alfg/ffmpegd/) [![Docker Automated build](https://img.shields.io/docker/automated/alfg/ffmpegd.svg)](https://hub.docker.com/r/alfg/ffmpegd/builds/) +[![Docker Image Push](https://github.com/alfg/ffmpegd/actions/workflows/docker.yml/badge.svg)](https://github.com/alfg/ffmpegd/actions/workflows/docker.yml) +[![goreleaser](https://github.com/alfg/ffmpegd/actions/workflows/release.yml/badge.svg)](https://github.com/alfg/ffmpegd/actions/workflows/release.yml) ## How It Works `ffmpegd` connects [FFmpeg Commander](https://alfg.github.io/ffmpeg-commander) to [ffmpeg](https://www.ffmpeg.org/) by providing a websocket server to send encode tasks and receive realtime progress updates back to the browser. This allows using `ffmpeg-commander` as a GUI for `ffmpeg`. diff --git a/demo/README.md b/demo/README.md index 14aca68..00d13f8 100644 --- a/demo/README.md +++ b/demo/README.md @@ -1,5 +1,9 @@ # WebSocket Client Demo -To run this demo, start `ffmpegd` and load `http://localhost:8080/demo` in your browser. +To run this demo, build and start `ffmpegd` and load `http://localhost:8080/demo` in your browser. + +``` +go build -v && ./ffmpegd +``` http://localhost:8080/demo/ diff --git a/demo/index.html b/demo/index.html index a262eb7..5e26fcd 100644 --- a/demo/index.html +++ b/demo/index.html @@ -101,7 +101,7 @@ } function onMessage(evt) { - writeToScreen('RESPONSE: ' + evt.data+''); + writeToScreen('RESPONSE: ' + evt.data + ''); } function onError(evt) {