Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
ydLife
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sweet Zhang
ydLife
Commits
fda6107d
Commit
fda6107d
authored
Jan 26, 2024
by
zeyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修复视频录制完成后不能自动播放的BUG
parent
4d5d51ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
+6
-1
src/app/my/application-process/record-video/record-video.component.ts
+6
-1
No files found.
src/app/my/application-process/record-video/record-video.component.ts
View file @
fda6107d
...
...
@@ -152,7 +152,7 @@ export class RecordVideoComponent implements OnInit {
//停止录制
stop
()
{
this
.
videoType
=
3
;
this
.
initType
=
2
;
var
element
=
document
.
getElementById
(
"loadingBox"
);
element
.
classList
.
remove
(
'loadingBoxHide'
);
element
.
classList
.
add
(
'loadingBox'
);
...
...
@@ -216,10 +216,15 @@ export class RecordVideoComponent implements OnInit {
if
(
e
.
status
==
200
){
let
response
=
JSON
.
parse
(
e
.
responseText
);
if
(
response
.
success
){
that
.
editEmployBasicInfo
.
videoOssPath
=
response
.
data
.
filePath
;
video
.
src
=
that
.
editEmployBasicInfo
.
videoOssPath
;
video
.
play
();
}
else
{
window
.
alert
(
'上传文件失败'
)
}
}
else
{
window
.
alert
(
'上传文件失败'
)
}
});
}
...
...
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