+
+
Sponsors Segments: {{ sponsors.segments.length }}
@@ -122,6 +124,7 @@ import VideoComment from '@/components/VideoComment'
import { addWatchedVideo, updateWatchedVideoProgress, findLastWatch } from '@/store/watched-videos-db'
import SubscriptionButton from '@/components/SubscriptionButton'
import ExpandableDate from '@/components/ExpandableDate'
+import VideoChapters from '@/components/VideoChapters'
export default {
name: 'WatchVideo',
@@ -349,7 +352,7 @@ export default {
videoId () {
return this.$route.query.v || this.$route.params.v
},
- skipToTime () {
+ initialSkip () {
// 't' in $route.query ? Number($route.query.t) : (lastWatch.progress ? lastWatch.progress : undefined)
// 1st Priority - t in query
// 2nd Priority - Last Watched Progress, if enabled
@@ -367,6 +370,7 @@ export default {
}
},
components: {
+ VideoChapters,
ExpandableDate,
SubscriptionButton,
VideoComment,
diff --git a/yarn.lock b/yarn.lock
index 5b052ce..b7c6b41 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1700,6 +1700,11 @@ acorn@^7.1.1, acorn@^7.4.0:
resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa"
integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==
+add-zero@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/add-zero/-/add-zero-1.0.0.tgz#88e221696717f66db467672f3f9aa004de9f1a2c"
+ integrity sha1-iOIhaWcX9m20Z2cvP5qgBN6fGiw=
+
address@^1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/address/-/address-1.1.2.tgz#bf1116c9c758c51b7a933d296b72c221ed9428b6"
@@ -4418,6 +4423,14 @@ form-data@~2.3.2:
combined-stream "^1.0.6"
mime-types "^2.1.12"
+format-duration@^1.4.0:
+ version "1.4.0"
+ resolved "https://registry.yarnpkg.com/format-duration/-/format-duration-1.4.0.tgz#6ad86c88f504150873cd28ca82d26a26898d9971"
+ integrity sha512-Mcg3hOAiKxo6JRBgfrQ+sbVvr3D9/4wE7eDQXx3WV2d/yKmrcHXHJS4OhrqVeg+iiFE2Op+pHhdOkQUl8yIclw==
+ dependencies:
+ add-zero "^1.0.0"
+ parse-ms "^1.0.1"
+
forwarded@0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.2.0.tgz#2269936428aad4c15c7ebe9779a84bf0b2a81811"
@@ -6799,6 +6812,11 @@ parse-json@^5.0.0:
json-parse-even-better-errors "^2.3.0"
lines-and-columns "^1.1.6"
+parse-ms@^1.0.1:
+ version "1.0.1"
+ resolved "https://registry.yarnpkg.com/parse-ms/-/parse-ms-1.0.1.tgz#56346d4749d78f23430ca0c713850aef91aa361d"
+ integrity sha1-VjRtR0nXjyNDDKDHE4UK75GqNh0=
+
parse5-htmlparser2-tree-adapter@^6.0.0:
version "6.0.1"
resolved "https://registry.yarnpkg.com/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-6.0.1.tgz#2cdf9ad823321140370d4dbf5d3e92c7c8ddc6e6"