Skip to content

Commit

Permalink
Removing the "quirks" section in favor of having everything in issues.
Browse files Browse the repository at this point in the history
This is an automated nightly publish.
  • Loading branch information
MarmadileManteater committed Aug 22, 2022
2 parents c5f2c4a + 2201b8a commit 70c1c03
Show file tree
Hide file tree
Showing 5 changed files with 760 additions and 13 deletions.
8 changes: 6 additions & 2 deletions src/renderer/components/ft-video-player/ft-video-player.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ export default Vue.extend({
videoId: {
type: String,
required: true
},
lengthSeconds: {
type: Number,
required: true
}
},
data: function () {
Expand Down Expand Up @@ -627,8 +631,8 @@ export default Vue.extend({
markerDiv.style.position = 'absolute'
markerDiv.style.opacity = '0.6'
markerDiv.style['background-color'] = marker.color
markerDiv.style.width = (marker.duration / this.player.duration()) * 100 + '%'
markerDiv.style.marginLeft = (marker.time / this.player.duration()) * 100 + '%'
markerDiv.style.width = (marker.duration / this.lengthSeconds) * 100 + '%'
markerDiv.style.marginLeft = (marker.time / this.lengthSeconds) * 100 + '%'
markerDiv.title = this.sponsorBlockTranslatedCategory(marker.category)

this.player.el().querySelector('.vjs-progress-holder').appendChild(markerDiv)
Expand Down
1 change: 1 addition & 0 deletions src/renderer/views/Watch/Watch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
:format="activeFormat"
:thumbnail="thumbnail"
:video-id="videoId"
:length-seconds="videoLengthSeconds"
class="videoPlayer"
:class="{ theatrePlayer: useTheatreMode }"
@ready="checkIfWatched"
Expand Down
3 changes: 3 additions & 0 deletions static/locales/de-DE.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,9 @@ Settings:
External Player Settings: Externe Player-Einstellungen
Custom External Player Executable: Ausführbares, externes Player-Programm
Custom External Player Arguments: Gewählte Einstellungen für externen Player
Players:
None:
Name: Keine
Download Settings:
Download Settings: Herunterladen-Einstellungen
Ask Download Path: Nach dem Herunterladen-Pfad fragen
Expand Down

0 comments on commit 70c1c03

Please sign in to comment.