diff options
-rw-r--r-- | client/src/sass/video-js-custom.scss | 5 | ||||
-rw-r--r-- | server/tests/cli/update-host.ts | 9 |
2 files changed, 13 insertions, 1 deletions
diff --git a/client/src/sass/video-js-custom.scss b/client/src/sass/video-js-custom.scss index 0d615d664..351ef21cd 100644 --- a/client/src/sass/video-js-custom.scss +++ b/client/src/sass/video-js-custom.scss | |||
@@ -37,6 +37,11 @@ $control-bar-height: 34px; | |||
37 | margin-left: -($big-play-width / 2); | 37 | margin-left: -($big-play-width / 2); |
38 | margin-top: -($big-play-height / 2); | 38 | margin-top: -($big-play-height / 2); |
39 | background-color: transparent !important; | 39 | background-color: transparent !important; |
40 | |||
41 | &::-moz-focus-inner { | ||
42 | border: 0; | ||
43 | padding: 0 | ||
44 | } | ||
40 | } | 45 | } |
41 | 46 | ||
42 | &.vjs-has-started .vjs-big-play-button { | 47 | &.vjs-has-started .vjs-big-play-button { |
diff --git a/server/tests/cli/update-host.ts b/server/tests/cli/update-host.ts index 4358f28e3..39242c494 100644 --- a/server/tests/cli/update-host.ts +++ b/server/tests/cli/update-host.ts | |||
@@ -1,3 +1,5 @@ | |||
1 | /* tslint:disable:no-unused-expression */ | ||
2 | |||
1 | import 'mocha' | 3 | import 'mocha' |
2 | import * as chai from 'chai' | 4 | import * as chai from 'chai' |
3 | const expect = chai.expect | 5 | const expect = chai.expect |
@@ -66,7 +68,12 @@ describe('Test update host scripts', function () { | |||
66 | expect(file.magnetUri).to.contain('localhost%3A9002%2Fstatic%2Fwebseed%2F') | 68 | expect(file.magnetUri).to.contain('localhost%3A9002%2Fstatic%2Fwebseed%2F') |
67 | 69 | ||
68 | const torrent = await parseTorrentVideo(server, videoDetails.uuid, file.resolution) | 70 | const torrent = await parseTorrentVideo(server, videoDetails.uuid, file.resolution) |
69 | expect(torrent.announce[0]).to.equal('ws://localhost:9002/tracker/socket') | 71 | const announceWS = torrent.announce.find(a => a === 'ws://localhost:9002/tracker/socket') |
72 | expect(announceWS).to.not.be.undefined | ||
73 | |||
74 | const announceHttp = torrent.announce.find(a => a === 'http://localhost:9002/tracker/announce') | ||
75 | expect(announceHttp).to.not.be.undefined | ||
76 | |||
70 | expect(torrent.urlList[0]).to.contain('http://localhost:9002/static/webseed') | 77 | expect(torrent.urlList[0]).to.contain('http://localhost:9002/static/webseed') |
71 | } | 78 | } |
72 | } | 79 | } |