From 3b019808ef529cacce7f40706441670309e231d1 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 17 Dec 2018 14:14:54 +0100 Subject: Set last subtitle or subtitle in URL --- .../assets/player/peertube-player-local-storage.ts | 12 +++++- client/src/assets/player/peertube-player.ts | 36 ++++++++++-------- .../src/assets/player/peertube-videojs-plugin.ts | 44 ++++++++++++++++------ .../src/assets/player/peertube-videojs-typings.ts | 1 + client/src/assets/player/utils.ts | 1 + 5 files changed, 66 insertions(+), 28 deletions(-) (limited to 'client/src/assets') diff --git a/client/src/assets/player/peertube-player-local-storage.ts b/client/src/assets/player/peertube-player-local-storage.ts index 7e3813570..059fca308 100644 --- a/client/src/assets/player/peertube-player-local-storage.ts +++ b/client/src/assets/player/peertube-player-local-storage.ts @@ -60,6 +60,14 @@ function getAverageBandwidthInStore () { return undefined } +function saveLastSubtitle (language: string) { + return setLocalStorage('last-subtitle', language) +} + +function getStoredLastSubtitle () { + return getLocalStorage('last-subtitle') +} + // --------------------------------------------------------------------------- export { @@ -71,7 +79,9 @@ export { saveMuteInStore, saveTheaterInStore, saveAverageBandwidth, - getAverageBandwidthInStore + getAverageBandwidthInStore, + saveLastSubtitle, + getStoredLastSubtitle } // --------------------------------------------------------------------------- diff --git a/client/src/assets/player/peertube-player.ts b/client/src/assets/player/peertube-player.ts index aaa1170b6..e0e063838 100644 --- a/client/src/assets/player/peertube-player.ts +++ b/client/src/assets/player/peertube-player.ts @@ -26,23 +26,24 @@ videojsUntyped.getComponent('CaptionsButton').prototype.controlText_ = 'Subtitle videojsUntyped.getComponent('CaptionsButton').prototype.label_ = ' ' function getVideojsOptions (options: { - autoplay: boolean, - playerElement: HTMLVideoElement, - videoViewUrl: string, - videoDuration: number, - videoFiles: VideoFile[], - enableHotkeys: boolean, - inactivityTimeout: number, - peertubeLink: boolean, - poster: string, + autoplay: boolean + playerElement: HTMLVideoElement + videoViewUrl: string + videoDuration: number + videoFiles: VideoFile[] + enableHotkeys: boolean + inactivityTimeout: number + peertubeLink: boolean + poster: string startTime: number | string - theaterMode: boolean, - videoCaptions: VideoJSCaption[], + theaterMode: boolean + videoCaptions: VideoJSCaption[] - language?: string, - controls?: boolean, - muted?: boolean, + language?: string + controls?: boolean + muted?: boolean loop?: boolean + subtitle?: string userWatching?: UserWatching }) { @@ -50,8 +51,10 @@ function getVideojsOptions (options: { // We don't use text track settings for now textTrackSettings: false, controls: options.controls !== undefined ? options.controls : true, - muted: options.controls !== undefined ? options.muted : false, loop: options.loop !== undefined ? options.loop : false, + + muted: options.muted !== undefined ? options.muted : undefined, // Undefined so the player knows it has to check the local storage + poster: options.poster, autoplay: false, inactivityTimeout: options.inactivityTimeout, @@ -65,7 +68,8 @@ function getVideojsOptions (options: { videoViewUrl: options.videoViewUrl, videoDuration: options.videoDuration, startTime: options.startTime, - userWatching: options.userWatching + userWatching: options.userWatching, + subtitle: options.subtitle } }, controlBar: { diff --git a/client/src/assets/player/peertube-videojs-plugin.ts b/client/src/assets/player/peertube-videojs-plugin.ts index 4fd5a9be2..4a280b7ef 100644 --- a/client/src/assets/player/peertube-videojs-plugin.ts +++ b/client/src/assets/player/peertube-videojs-plugin.ts @@ -11,10 +11,12 @@ import { isMobile, timeToInt, videoFileMaxByResolution, videoFileMinByResolution import { PeertubeChunkStore } from './peertube-chunk-store' import { getAverageBandwidthInStore, + getStoredLastSubtitle, getStoredMute, getStoredVolume, getStoredWebTorrentEnabled, saveAverageBandwidth, + saveLastSubtitle, saveMuteInStore, saveVolumeInStore } from './peertube-player-local-storage' @@ -67,10 +69,11 @@ class PeerTubePlugin extends Plugin { private currentVideoFile: VideoFile private torrent: WebTorrent.Torrent private videoCaptions: VideoJSCaption[] + private defaultSubtitle: string private renderer: any private fakeRenderer: any - private destoyingFakeRenderer = false + private destroyingFakeRenderer = false private autoResolution = true private forbidAutoResolution = false @@ -106,11 +109,34 @@ class PeerTubePlugin extends Plugin { if (this.autoplay === true) this.player.addClass('vjs-has-autoplay') this.player.ready(() => { + const playerOptions = this.player.options_ + const volume = getStoredVolume() if (volume !== undefined) this.player.volume(volume) - const muted = getStoredMute() + + const muted = playerOptions.muted !== undefined ? playerOptions.muted : getStoredMute() if (muted !== undefined) this.player.muted(muted) + this.defaultSubtitle = options.subtitle || getStoredLastSubtitle() + + this.player.on('volumechange', () => { + saveVolumeInStore(this.player.volume()) + saveMuteInStore(this.player.muted()) + }) + + this.player.textTracks().on('change', () => { + const showing = this.player.textTracks().tracks_.find((t: { kind: string, mode: string }) => { + return t.kind === 'captions' && t.mode === 'showing' + }) + + if (!showing) { + saveLastSubtitle('off') + return + } + + saveLastSubtitle(showing.language) + }) + this.player.duration(options.videoDuration) this.initializePlayer() @@ -124,11 +150,6 @@ class PeerTubePlugin extends Plugin { this.runAutoQualitySchedulerTimer = setTimeout(() => this.runAutoQualityScheduler(), this.CONSTANTS.AUTO_QUALITY_SCHEDULER) }) }) - - this.player.on('volumechange', () => { - saveVolumeInStore(this.player.volume()) - saveMuteInStore(this.player.muted()) - }) } dispose () { @@ -657,14 +678,14 @@ class PeerTubePlugin extends Plugin { } private renderFileInFakeElement (file: WebTorrent.TorrentFile, delay: number) { - this.destoyingFakeRenderer = false + this.destroyingFakeRenderer = false const fakeVideoElem = document.createElement('video') renderVideo(file, fakeVideoElem, { autoplay: false, controls: false }, (err, renderer) => { this.fakeRenderer = renderer // The renderer returns an error when we destroy it, so skip them - if (this.destoyingFakeRenderer === false && err) { + if (this.destroyingFakeRenderer === false && err) { console.error('Cannot render new torrent in fake video element.', err) } @@ -675,7 +696,7 @@ class PeerTubePlugin extends Plugin { private destroyFakeRenderer () { if (this.fakeRenderer) { - this.destoyingFakeRenderer = true + this.destroyingFakeRenderer = true if (this.fakeRenderer.destroy) { try { @@ -695,7 +716,8 @@ class PeerTubePlugin extends Plugin { label: caption.label, language: caption.language, id: caption.language, - src: caption.src + src: caption.src, + default: this.defaultSubtitle === caption.language }, false) } } diff --git a/client/src/assets/player/peertube-videojs-typings.ts b/client/src/assets/player/peertube-videojs-typings.ts index d127230fa..634c7fdc9 100644 --- a/client/src/assets/player/peertube-videojs-typings.ts +++ b/client/src/assets/player/peertube-videojs-typings.ts @@ -39,6 +39,7 @@ type PeertubePluginOptions = { autoplay: boolean, videoCaptions: VideoJSCaption[] + subtitle?: string userWatching?: UserWatching } diff --git a/client/src/assets/player/utils.ts b/client/src/assets/player/utils.ts index c87287482..8b9f34b99 100644 --- a/client/src/assets/player/utils.ts +++ b/client/src/assets/player/utils.ts @@ -39,6 +39,7 @@ function buildVideoLink (time?: number, url?: string) { } function timeToInt (time: number | string) { + if (!time) return 0 if (typeof time === 'number') return time const reg = /^((\d+)h)?((\d+)m)?((\d+)s?)?$/ -- cgit v1.2.3 From c32bf839c11557cac527ca5f181d1ce39fc80974 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 11 Jan 2019 16:44:45 +0100 Subject: Fix captions in HTTP fallback --- client/src/assets/player/peertube-player.ts | 8 ++++++++ client/src/assets/player/peertube-videojs-plugin.ts | 5 +++++ client/src/assets/player/settings-menu-item.ts | 13 +++++++++++++ 3 files changed, 26 insertions(+) (limited to 'client/src/assets') diff --git a/client/src/assets/player/peertube-player.ts b/client/src/assets/player/peertube-player.ts index e0e063838..2de6d7fef 100644 --- a/client/src/assets/player/peertube-player.ts +++ b/client/src/assets/player/peertube-player.ts @@ -254,6 +254,10 @@ function loadLocaleInVideoJS (serverUrl: string, videojs: any, locale: string) { loadLocaleInVideoJS.cache[path] = json return json }) + .catch(err => { + console.error('Cannot get player translations', err) + return undefined + }) } const completeLocale = getCompleteLocale(locale) @@ -270,6 +274,10 @@ function getServerTranslations (serverUrl: string, locale: string) { return fetch(path + '/server.json') .then(res => res.json()) + .catch(err => { + console.error('Cannot get server translations', err) + return undefined + }) } // ############################################################################ diff --git a/client/src/assets/player/peertube-videojs-plugin.ts b/client/src/assets/player/peertube-videojs-plugin.ts index 4a280b7ef..e9fb90c61 100644 --- a/client/src/assets/player/peertube-videojs-plugin.ts +++ b/client/src/assets/player/peertube-videojs-plugin.ts @@ -620,6 +620,9 @@ class PeerTubePlugin extends Plugin { this.player.src = this.savePlayerSrcFunction this.player.src(httpUrl) + // We changed the source, so reinit captions + this.initCaptions() + return this.tryToPlay(err => { if (err && done) return done(err) @@ -720,6 +723,8 @@ class PeerTubePlugin extends Plugin { default: this.defaultSubtitle === caption.language }, false) } + + this.player.trigger('captionsChanged') } // Thanks: https://github.com/videojs/video.js/issues/4460#issuecomment-312861657 diff --git a/client/src/assets/player/settings-menu-item.ts b/client/src/assets/player/settings-menu-item.ts index 698f4627a..2a3460ae5 100644 --- a/client/src/assets/player/settings-menu-item.ts +++ b/client/src/assets/player/settings-menu-item.ts @@ -48,6 +48,19 @@ class SettingsMenuItem extends MenuItem { // Update on rate change player.on('ratechange', this.submenuClickHandler) + if (subMenuName === 'CaptionsButton') { + // Hack to regenerate captions on HTTP fallback + player.on('captionsChanged', () => { + setTimeout(() => { + this.settingsSubMenuEl_.innerHTML = '' + this.settingsSubMenuEl_.appendChild(this.subMenu.menu.el_) + this.update() + this.bindClickEvents() + + }, 0) + }) + } + this.reset() }, 0) }) -- cgit v1.2.3 From 457bb213b273a9b206cc5654eb085cede4e916ad Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 16 Jan 2019 16:05:40 +0100 Subject: Refactor how we use icons Inject them in an angular component so we can easily change their color --- client/src/assets/images/global/add.html | 11 ++++ client/src/assets/images/global/add.svg | 13 ----- client/src/assets/images/global/alert.html | 11 ++++ client/src/assets/images/global/circle-tick.html | 12 +++++ .../src/assets/images/global/cloud-download.html | 11 ++++ client/src/assets/images/global/cloud-error.html | 11 ++++ client/src/assets/images/global/cog.html | 9 ++++ client/src/assets/images/global/cross.html | 10 ++++ client/src/assets/images/global/cross.svg | 12 ----- client/src/assets/images/global/delete-black.svg | 14 ------ client/src/assets/images/global/delete-grey.svg | 14 ------ client/src/assets/images/global/delete-white.svg | 14 ------ client/src/assets/images/global/delete.html | 12 +++++ client/src/assets/images/global/download.html | 11 ++++ client/src/assets/images/global/edit-black.svg | 15 ------ client/src/assets/images/global/edit-grey.svg | 15 ------ client/src/assets/images/global/edit.html | 10 ++++ client/src/assets/images/global/help.html | 10 ++++ client/src/assets/images/global/help.svg | 12 ----- client/src/assets/images/global/im-with-her.html | 10 ++++ client/src/assets/images/global/im-with-her.svg | 15 ------ client/src/assets/images/global/no.html | 10 ++++ client/src/assets/images/global/sparkle.html | 11 ++++ client/src/assets/images/global/syndication.html | 56 +++++++++++++++++++++ client/src/assets/images/global/syndication.svg | 58 ---------------------- client/src/assets/images/global/tick.html | 10 ++++ client/src/assets/images/global/tick.svg | 12 ----- client/src/assets/images/global/undo.html | 9 ++++ client/src/assets/images/global/undo.svg | 11 ---- client/src/assets/images/global/user-add.html | 11 ++++ client/src/assets/images/global/validate.html | 12 +++++ client/src/assets/images/global/validate.svg | 14 ------ client/src/assets/images/header/upload-white.svg | 16 ------ client/src/assets/images/video/alert.svg | 16 ------ client/src/assets/images/video/blacklist.svg | 15 ------ client/src/assets/images/video/dislike-grey.svg | 14 ------ client/src/assets/images/video/dislike-white.svg | 14 ------ client/src/assets/images/video/dislike.html | 12 +++++ client/src/assets/images/video/download-black.svg | 16 ------ client/src/assets/images/video/download-grey.svg | 16 ------ client/src/assets/images/video/download-white.svg | 16 ------ client/src/assets/images/video/heart.html | 11 ++++ client/src/assets/images/video/heart.svg | 13 ----- client/src/assets/images/video/like-grey.svg | 15 ------ client/src/assets/images/video/like-white.svg | 15 ------ client/src/assets/images/video/like.html | 10 ++++ client/src/assets/images/video/more.html | 9 ++++ client/src/assets/images/video/more.svg | 11 ---- client/src/assets/images/video/share.html | 11 ++++ client/src/assets/images/video/share.svg | 16 ------ client/src/assets/images/video/upload.html | 11 ++++ client/src/assets/images/video/upload.svg | 16 ------ 52 files changed, 311 insertions(+), 428 deletions(-) create mode 100644 client/src/assets/images/global/add.html delete mode 100644 client/src/assets/images/global/add.svg create mode 100644 client/src/assets/images/global/alert.html create mode 100644 client/src/assets/images/global/circle-tick.html create mode 100644 client/src/assets/images/global/cloud-download.html create mode 100644 client/src/assets/images/global/cloud-error.html create mode 100644 client/src/assets/images/global/cog.html create mode 100644 client/src/assets/images/global/cross.html delete mode 100644 client/src/assets/images/global/cross.svg delete mode 100644 client/src/assets/images/global/delete-black.svg delete mode 100644 client/src/assets/images/global/delete-grey.svg delete mode 100644 client/src/assets/images/global/delete-white.svg create mode 100644 client/src/assets/images/global/delete.html create mode 100644 client/src/assets/images/global/download.html delete mode 100644 client/src/assets/images/global/edit-black.svg delete mode 100644 client/src/assets/images/global/edit-grey.svg create mode 100644 client/src/assets/images/global/edit.html create mode 100644 client/src/assets/images/global/help.html delete mode 100644 client/src/assets/images/global/help.svg create mode 100644 client/src/assets/images/global/im-with-her.html delete mode 100644 client/src/assets/images/global/im-with-her.svg create mode 100644 client/src/assets/images/global/no.html create mode 100644 client/src/assets/images/global/sparkle.html create mode 100644 client/src/assets/images/global/syndication.html delete mode 100644 client/src/assets/images/global/syndication.svg create mode 100644 client/src/assets/images/global/tick.html delete mode 100644 client/src/assets/images/global/tick.svg create mode 100644 client/src/assets/images/global/undo.html delete mode 100644 client/src/assets/images/global/undo.svg create mode 100644 client/src/assets/images/global/user-add.html create mode 100644 client/src/assets/images/global/validate.html delete mode 100644 client/src/assets/images/global/validate.svg delete mode 100644 client/src/assets/images/header/upload-white.svg delete mode 100644 client/src/assets/images/video/alert.svg delete mode 100644 client/src/assets/images/video/blacklist.svg delete mode 100644 client/src/assets/images/video/dislike-grey.svg delete mode 100644 client/src/assets/images/video/dislike-white.svg create mode 100644 client/src/assets/images/video/dislike.html delete mode 100644 client/src/assets/images/video/download-black.svg delete mode 100644 client/src/assets/images/video/download-grey.svg delete mode 100644 client/src/assets/images/video/download-white.svg create mode 100644 client/src/assets/images/video/heart.html delete mode 100644 client/src/assets/images/video/heart.svg delete mode 100644 client/src/assets/images/video/like-grey.svg delete mode 100644 client/src/assets/images/video/like-white.svg create mode 100644 client/src/assets/images/video/like.html create mode 100644 client/src/assets/images/video/more.html delete mode 100644 client/src/assets/images/video/more.svg create mode 100644 client/src/assets/images/video/share.html delete mode 100644 client/src/assets/images/video/share.svg create mode 100644 client/src/assets/images/video/upload.html delete mode 100644 client/src/assets/images/video/upload.svg (limited to 'client/src/assets') diff --git a/client/src/assets/images/global/add.html b/client/src/assets/images/global/add.html new file mode 100644 index 000000000..bfb0a52bc --- /dev/null +++ b/client/src/assets/images/global/add.html @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/client/src/assets/images/global/add.svg b/client/src/assets/images/global/add.svg deleted file mode 100644 index 42b269c43..000000000 --- a/client/src/assets/images/global/add.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/client/src/assets/images/global/alert.html b/client/src/assets/images/global/alert.html new file mode 100644 index 000000000..7c8c02074 --- /dev/null +++ b/client/src/assets/images/global/alert.html @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/client/src/assets/images/global/circle-tick.html b/client/src/assets/images/global/circle-tick.html new file mode 100644 index 000000000..2327de6be --- /dev/null +++ b/client/src/assets/images/global/circle-tick.html @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/client/src/assets/images/global/cloud-download.html b/client/src/assets/images/global/cloud-download.html new file mode 100644 index 000000000..b2634fd1f --- /dev/null +++ b/client/src/assets/images/global/cloud-download.html @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/client/src/assets/images/global/cloud-error.html b/client/src/assets/images/global/cloud-error.html new file mode 100644 index 000000000..1a3483805 --- /dev/null +++ b/client/src/assets/images/global/cloud-error.html @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/client/src/assets/images/global/cog.html b/client/src/assets/images/global/cog.html new file mode 100644 index 000000000..b74a180e7 --- /dev/null +++ b/client/src/assets/images/global/cog.html @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/client/src/assets/images/global/cross.html b/client/src/assets/images/global/cross.html new file mode 100644 index 000000000..962578487 --- /dev/null +++ b/client/src/assets/images/global/cross.html @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/client/src/assets/images/global/cross.svg b/client/src/assets/images/global/cross.svg deleted file mode 100644 index d47a75996..000000000 --- a/client/src/assets/images/global/cross.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/client/src/assets/images/global/delete-black.svg b/client/src/assets/images/global/delete-black.svg deleted file mode 100644 index 04ddc23aa..000000000 --- a/client/src/assets/images/global/delete-black.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - diff --git a/client/src/assets/images/global/delete-grey.svg b/client/src/assets/images/global/delete-grey.svg deleted file mode 100644 index 67e9e2ce7..000000000 --- a/client/src/assets/images/global/delete-grey.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - diff --git a/client/src/assets/images/global/delete-white.svg b/client/src/assets/images/global/delete-white.svg deleted file mode 100644 index 9c52de557..000000000 --- a/client/src/assets/images/global/delete-white.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - diff --git a/client/src/assets/images/global/delete.html b/client/src/assets/images/global/delete.html new file mode 100644 index 000000000..a0d9a0cac --- /dev/null +++ b/client/src/assets/images/global/delete.html @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/client/src/assets/images/global/download.html b/client/src/assets/images/global/download.html new file mode 100644 index 000000000..259506f31 --- /dev/null +++ b/client/src/assets/images/global/download.html @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/client/src/assets/images/global/edit-black.svg b/client/src/assets/images/global/edit-black.svg deleted file mode 100644 index 0176b0f37..000000000 --- a/client/src/assets/images/global/edit-black.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - edit - Created with Sketch. - - - - - - - - - - diff --git a/client/src/assets/images/global/edit-grey.svg b/client/src/assets/images/global/edit-grey.svg deleted file mode 100644 index 23ece68f1..000000000 --- a/client/src/assets/images/global/edit-grey.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - edit - Created with Sketch. - - - - - - - - - - diff --git a/client/src/assets/images/global/edit.html b/client/src/assets/images/global/edit.html new file mode 100644 index 000000000..f04183c2d --- /dev/null +++ b/client/src/assets/images/global/edit.html @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/client/src/assets/images/global/help.html b/client/src/assets/images/global/help.html new file mode 100644 index 000000000..27e9bee6f --- /dev/null +++ b/client/src/assets/images/global/help.html @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/client/src/assets/images/global/help.svg b/client/src/assets/images/global/help.svg deleted file mode 100644 index 48252febe..000000000 --- a/client/src/assets/images/global/help.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/client/src/assets/images/global/im-with-her.html b/client/src/assets/images/global/im-with-her.html new file mode 100644 index 000000000..de2c62e96 --- /dev/null +++ b/client/src/assets/images/global/im-with-her.html @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/client/src/assets/images/global/im-with-her.svg b/client/src/assets/images/global/im-with-her.svg deleted file mode 100644 index 31d4754fd..000000000 --- a/client/src/assets/images/global/im-with-her.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - im-with-her - Created with Sketch. - - - - - - - - - - \ No newline at end of file diff --git a/client/src/assets/images/global/no.html b/client/src/assets/images/global/no.html new file mode 100644 index 000000000..bb7b28514 --- /dev/null +++ b/client/src/assets/images/global/no.html @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/client/src/assets/images/global/sparkle.html b/client/src/assets/images/global/sparkle.html new file mode 100644 index 000000000..3b29fefb9 --- /dev/null +++ b/client/src/assets/images/global/sparkle.html @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/client/src/assets/images/global/syndication.html b/client/src/assets/images/global/syndication.html new file mode 100644 index 000000000..e6c88a4db --- /dev/null +++ b/client/src/assets/images/global/syndication.html @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/client/src/assets/images/global/syndication.svg b/client/src/assets/images/global/syndication.svg deleted file mode 100644 index cb74cf81b..000000000 --- a/client/src/assets/images/global/syndication.svg +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/src/assets/images/global/tick.html b/client/src/assets/images/global/tick.html new file mode 100644 index 000000000..4784b4807 --- /dev/null +++ b/client/src/assets/images/global/tick.html @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/client/src/assets/images/global/tick.svg b/client/src/assets/images/global/tick.svg deleted file mode 100644 index 230caa111..000000000 --- a/client/src/assets/images/global/tick.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/client/src/assets/images/global/undo.html b/client/src/assets/images/global/undo.html new file mode 100644 index 000000000..228245c86 --- /dev/null +++ b/client/src/assets/images/global/undo.html @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/client/src/assets/images/global/undo.svg b/client/src/assets/images/global/undo.svg deleted file mode 100644 index f1cca03f7..000000000 --- a/client/src/assets/images/global/undo.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/client/src/assets/images/global/user-add.html b/client/src/assets/images/global/user-add.html new file mode 100644 index 000000000..57df23c74 --- /dev/null +++ b/client/src/assets/images/global/user-add.html @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/client/src/assets/images/global/validate.html b/client/src/assets/images/global/validate.html new file mode 100644 index 000000000..520624ff6 --- /dev/null +++ b/client/src/assets/images/global/validate.html @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/client/src/assets/images/global/validate.svg b/client/src/assets/images/global/validate.svg deleted file mode 100644 index 5c7ee9d14..000000000 --- a/client/src/assets/images/global/validate.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - diff --git a/client/src/assets/images/header/upload-white.svg b/client/src/assets/images/header/upload-white.svg deleted file mode 100644 index 2b07caf76..000000000 --- a/client/src/assets/images/header/upload-white.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - - cloud-upload - Created with Sketch. - - - - - - - - - - - diff --git a/client/src/assets/images/video/alert.svg b/client/src/assets/images/video/alert.svg deleted file mode 100644 index 5b43534ad..000000000 --- a/client/src/assets/images/video/alert.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - - alert - Created with Sketch. - - - - - - - - - - - diff --git a/client/src/assets/images/video/blacklist.svg b/client/src/assets/images/video/blacklist.svg deleted file mode 100644 index 431c73816..000000000 --- a/client/src/assets/images/video/blacklist.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - no - Created with Sketch. - - - - - - - - - - diff --git a/client/src/assets/images/video/dislike-grey.svg b/client/src/assets/images/video/dislike-grey.svg deleted file mode 100644 index 56a7908fb..000000000 --- a/client/src/assets/images/video/dislike-grey.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - diff --git a/client/src/assets/images/video/dislike-white.svg b/client/src/assets/images/video/dislike-white.svg deleted file mode 100644 index cfc6eaa1f..000000000 --- a/client/src/assets/images/video/dislike-white.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - diff --git a/client/src/assets/images/video/dislike.html b/client/src/assets/images/video/dislike.html new file mode 100644 index 000000000..acde951e2 --- /dev/null +++ b/client/src/assets/images/video/dislike.html @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/client/src/assets/images/video/download-black.svg b/client/src/assets/images/video/download-black.svg deleted file mode 100644 index 501836746..000000000 --- a/client/src/assets/images/video/download-black.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - - download - Created with Sketch. - - - - - - - - - - - diff --git a/client/src/assets/images/video/download-grey.svg b/client/src/assets/images/video/download-grey.svg deleted file mode 100644 index 5b0cca5ef..000000000 --- a/client/src/assets/images/video/download-grey.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - - download - Created with Sketch. - - - - - - - - - - - diff --git a/client/src/assets/images/video/download-white.svg b/client/src/assets/images/video/download-white.svg deleted file mode 100644 index 0e66e06e8..000000000 --- a/client/src/assets/images/video/download-white.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - - download - Created with Sketch. - - - - - - - - - - - diff --git a/client/src/assets/images/video/heart.html b/client/src/assets/images/video/heart.html new file mode 100644 index 000000000..618f64f10 --- /dev/null +++ b/client/src/assets/images/video/heart.html @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/client/src/assets/images/video/heart.svg b/client/src/assets/images/video/heart.svg deleted file mode 100644 index 5d64aee0f..000000000 --- a/client/src/assets/images/video/heart.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/client/src/assets/images/video/like-grey.svg b/client/src/assets/images/video/like-grey.svg deleted file mode 100644 index 5ef6c7b31..000000000 --- a/client/src/assets/images/video/like-grey.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - thumbs-up - Created with Sketch. - - - - - - - - - - diff --git a/client/src/assets/images/video/like-white.svg b/client/src/assets/images/video/like-white.svg deleted file mode 100644 index 88e5f6a9a..000000000 --- a/client/src/assets/images/video/like-white.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - thumbs-up - Created with Sketch. - - - - - - - - - - diff --git a/client/src/assets/images/video/like.html b/client/src/assets/images/video/like.html new file mode 100644 index 000000000..d0e71763b --- /dev/null +++ b/client/src/assets/images/video/like.html @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/client/src/assets/images/video/more.html b/client/src/assets/images/video/more.html new file mode 100644 index 000000000..39dcad10e --- /dev/null +++ b/client/src/assets/images/video/more.html @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/client/src/assets/images/video/more.svg b/client/src/assets/images/video/more.svg deleted file mode 100644 index dea392136..000000000 --- a/client/src/assets/images/video/more.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/client/src/assets/images/video/share.html b/client/src/assets/images/video/share.html new file mode 100644 index 000000000..7759b37af --- /dev/null +++ b/client/src/assets/images/video/share.html @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/client/src/assets/images/video/share.svg b/client/src/assets/images/video/share.svg deleted file mode 100644 index da0f43e81..000000000 --- a/client/src/assets/images/video/share.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - - share - Created with Sketch. - - - - - - - - - - - diff --git a/client/src/assets/images/video/upload.html b/client/src/assets/images/video/upload.html new file mode 100644 index 000000000..3bc0d3a8a --- /dev/null +++ b/client/src/assets/images/video/upload.html @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/client/src/assets/images/video/upload.svg b/client/src/assets/images/video/upload.svg deleted file mode 100644 index c5b7cb443..000000000 --- a/client/src/assets/images/video/upload.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - - cloud-upload - Created with Sketch. - - - - - - - - - - - -- cgit v1.2.3 From f2fab901df31a0e7081f4bb225f28e98798950b0 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 17 Jan 2019 11:30:47 +0100 Subject: Fix invisible things in dark mode --- client/src/assets/images/global/help.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/src/assets') diff --git a/client/src/assets/images/global/help.html b/client/src/assets/images/global/help.html index 27e9bee6f..80cd40321 100644 --- a/client/src/assets/images/global/help.html +++ b/client/src/assets/images/global/help.html @@ -2,8 +2,8 @@ - - + + -- cgit v1.2.3