Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Motion Bank
MB.js
Quasar Components MoSys
Commits
5c6312fd
Commit
5c6312fd
authored
May 20, 2020
by
anton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fetch metadata for fauxMedia
parent
2f2fce6c
Pipeline
#59860
passed with stage
in 1 minute and 32 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
2 deletions
+15
-2
partials/cells/CellMedia.vue
partials/cells/CellMedia.vue
+15
-2
No files found.
partials/cells/CellMedia.vue
View file @
5c6312fd
...
...
@@ -58,14 +58,27 @@
const
meta
=
await
this
.
$store
.
dispatch
(
'
metadata/getLocal
'
,
this
.
video
)
this
.
$emit
(
'
onMetadata
'
,
meta
)
}
catch
(
e
)
{
console
.
error
(
'
Unable to fetch metadata for media
'
)
catch
(
e
rr
)
{
console
.
error
(
'
Unable to fetch metadata for media
:
'
,
err
.
message
)
}
}
}
}
else
{
const
videoUrl
=
this
.
cell
?
this
.
cell
.
source
.
_value
.
content
:
undefined
if
(
!
videoUrl
)
return
this
.
fauxMedia
()
if
(
!
this
.
display
)
{
try
{
const
meta
=
await
this
.
$store
.
dispatch
(
'
metadata/get
'
,
this
.
video
)
this
.
$emit
(
'
onMetadata
'
,
meta
)
}
catch
(
err
)
{
console
.
error
(
'
Unable to fetch metadata for fauxMedia
'
,
err
.
message
)
}
}
}
if
(
this
.
display
)
{
if
(
!
this
.
cell
.
source
.
start
)
this
.
showPlayer
=
true
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment