Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mould-vuecli3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lhfe
mould-vuecli3
Commits
6b26a810
Commit
6b26a810
authored
Aug 27, 2020
by
lilei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
00
parent
c70f4cbe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
videoPlayer.vue
src/components/videoCutter/videoPlayer.vue
+1
-0
videoCutter.vue
src/views/videoCutter.vue
+1
-1
No files found.
src/components/videoCutter/videoPlayer.vue
View file @
6b26a810
...
@@ -39,6 +39,7 @@ export default {
...
@@ -39,6 +39,7 @@ export default {
beforeDestroy
()
{
beforeDestroy
()
{
this
.
$refs
.
videoDom
.
removeEventListener
(
'canplay'
)
this
.
$refs
.
videoDom
.
removeEventListener
(
'canplay'
)
this
.
$refs
.
videoDom
.
removeEventListener
(
'ended'
)
this
.
$refs
.
videoDom
.
removeEventListener
(
'ended'
)
this
.
$refs
.
videoDom
.
removeEventListener
(
'timeupdate'
)
},
},
methods
:
{
methods
:
{
canPlayFunc
()
{
canPlayFunc
()
{
...
...
src/views/videoCutter.vue
View file @
6b26a810
...
@@ -40,7 +40,7 @@ export default {
...
@@ -40,7 +40,7 @@ export default {
},
},
created
()
{},
created
()
{},
mounted
()
{
mounted
()
{
this
.
$bus
.
on
(
'
v
ideoCutter.canPlay'
,
this
.
canPlayFunc
)
this
.
$bus
.
on
(
'
V
ideoCutter.canPlay'
,
this
.
canPlayFunc
)
},
},
methods
:
{
methods
:
{
changeVideo
()
{
changeVideo
()
{
...
...
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