Skip to content

Commit

Permalink
Fix for #69 - Video disappears sometimes
Browse files Browse the repository at this point in the history
  • Loading branch information
sco01 committed Oct 4, 2019
1 parent 8c38534 commit ee4baa1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ A dashboard tab for Octoprint that displays the most relevant info regarding the
* Current height, Total height
* Average layer time
* WebCam view
* Settings to configure what widgets and info to include in the Dashboard
* Supports multiple hotends as configured in the printer profile
* Supports chamber temperature if configured in the printer profile
* Configurable progress gauge type (Circle, Bar)
Expand Down Expand Up @@ -51,7 +52,12 @@ The dashboard uses the time estimates provided by PrintTimeGenius if it is insta
* Icons from: http://www.iconninja.com
* Context Menus: https://github.com/nescalante/knockout.contextmenu [license](https://github.com/nescalante/knockout.contextmenu/blob/master/LICENSE)
* Chartist chart framework: https://gionkunz.github.io/chartist-js/ [license](https://github.com/gionkunz/chartist-js/blob/master/LICENSE-WTFPL)
* Github Contributors: Andy Harrison (wizard04wsu), Doug Hoyt (doughoyt), (j7126), Olli (OllisGit)
* Github Contributors: Andy Harrison (wizard04wsu), Doug Hoyt (doughoyt), (j7126), Olli (OllisGit) OverLoad (overload08)
* Community support and encouragement: OutsourcedGuru, jneilliii, foosel

## Support OctoPrint

I'm just doing this for fun and I don't ask for anything in return. If you want to make a donation then [support Octoprint instead](https://octoprint.org/support-octoprint/). Gina is the one who deserves it for creating and maintaining Octoprint.

## Setup

Expand Down
2 changes: 1 addition & 1 deletion octoprint_dashboard/static/js/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ $(function () {

self.embedUrl = function () {
if (self.settingsViewModel.settings.webcam && self.settingsViewModel.settings.plugins.dashboard.showWebCam) {
return self.settingsViewModel.settings.webcam.streamUrl();
return self.settingsViewModel.settings.webcam.streamUrl() + "?" + new Date().getTime();
}
else return "";
};
Expand Down

0 comments on commit ee4baa1

Please sign in to comment.