Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
V
V3-TailingPond
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
xinzhedeai
V3-TailingPond
Commits
cd60b0f0
Commit
cd60b0f0
authored
Sep 02, 2024
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除无用测试媒体文件mp4
parent
e5d564e9
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
72 additions
and
101 deletions
+72
-101
oceans.mp4
src/assets/video/oceans.mp4
+0
-0
zimu.mp4
src/assets/video/zimu.mp4
+0
-0
index-mp4.vue
src/views/video/index-mp4.vue
+45
-45
index-videojs-m3u8.vue
src/views/video/index-videojs-m3u8.vue
+27
-56
No files found.
src/assets/video/oceans.mp4
deleted
100644 → 0
View file @
e5d564e9
File deleted
src/assets/video/zimu.mp4
deleted
100644 → 0
View file @
e5d564e9
File deleted
src/views/video/index-mp4.vue
View file @
cd60b0f0
...
...
@@ -42,7 +42,7 @@
style=
"width: 100%; height: 100%;"
>
<source
:src=
"attachmentLink"
type=
"application/x-mpegURL"
/>
<
source
:src=
"require('@/assets/video/zimu.mp4')"
type=
"video/mp4"
>
<
!--
<source
:src=
"require('@/assets/video/zimu.mp4')"
type=
"video/mp4"
>
--
>
</video>
</div>
</div>
...
...
@@ -58,7 +58,7 @@
style=
"width: 100%; height: 100%;"
>
<source
:src=
"attachmentLink"
type=
"application/x-mpegURL"
/>
<
source
:src=
"require('@/assets/video/zimu.mp4')"
type=
"video/mp4"
>
<
!--
<source
:src=
"require('@/assets/video/zimu.mp4')"
type=
"video/mp4"
>
--
>
</video>
<!--
</div>
-->
<!--
<video
...
...
@@ -103,49 +103,49 @@ export default {
autoplay
:
true
,
//是否自动播放
controls
:
true
,
// 是否显示控制栏
// poster: 'http://path/to/poster.jpg',//视频封面
sources
:
[
{
type
:
"
video/mp4
"
,
src
:
require
(
'
@/assets/video/oceans.mp4
'
),
},
{
type
:
"
video/mp4
"
,
src
:
require
(
'
@/assets/video/oceans.mp4
'
),
},
{
type
:
"
video/mp4
"
,
src
:
require
(
'
@/assets/video/oceans.mp4
'
),
},
{
type
:
"
video/mp4
"
,
src
:
require
(
'
@/assets/video/zimu.mp4
'
),
},
{
type
:
"
video/mp4
"
,
src
:
require
(
'
@/assets/video/zimu.mp4
'
),
},
{
type
:
"
video/mp4
"
,
src
:
require
(
'
@/assets/video/zimu.mp4
'
),
},
// sources: [
// {
// type: "video/mp4",
// src: require('@/assets/video/oceans.mp4'),
// },
// {
// type: "video/mp4",
// src: require('@/assets/video/oceans.mp4'),
// },
// {
// type: "video/mp4",
// src: require('@/assets/video/oceans.mp4'),
// },
// {
// type: "video/mp4",
// // src: "https://www.example.com/path/to/your/video.mp4"
// src: require('@/assets/video/zimu.mp4'),
// }
// },
// {
// type: "m3u8",
// // src: "https://www.example.com/path/to/your/video.mp4"
// src: 'https://dh5.cntv.myalicdn.com/asp/h5e/hls/main/0303000a/3/default/de77ac92685211efbfb96c92bf2d4d36/main.m3u8?maxbr=2048&contentid=15120519184043',
// }
// type: "video/mp4",
// src: require('@/assets/video/zimu.mp4'),
// },
// {
// // src: 'https://d2zihajmogu5jn.cloudfront.net/bipbop-advanced/bipbop_16x9_variant.m3u8',//视频文件地址
// // src: 'https://dh5.cntv.myalicdn.com/asp/h5e/hls/main/0303000a/3/default/de77ac92685211efbfb96c92bf2d4d36/main.m3u8?maxbr=2048&contentid=15120519184043',//视频文件地址
// src: "https://gctxyc.liveplay.myqcloud.com/gc/zjjmht_1/index.m3u8",
// type: "m3u8",
// // type: 'application/x-mpegURL'//视频类型,这里可以不写,如果写一定要写对,否则会无法播放
// type: "video/mp4",
// src: require('@/assets/video/zimu.mp4'),
// },
],
// // {
// // type: "video/mp4",
// // // src: "https://www.example.com/path/to/your/video.mp4"
// // src: require('@/assets/video/zimu.mp4'),
// // }
// // {
// // type: "m3u8",
// // // src: "https://www.example.com/path/to/your/video.mp4"
// // src: 'https://dh5.cntv.myalicdn.com/asp/h5e/hls/main/0303000a/3/default/de77ac92685211efbfb96c92bf2d4d36/main.m3u8?maxbr=2048&contentid=15120519184043',
// // }
// // {
// // // src: 'https://d2zihajmogu5jn.cloudfront.net/bipbop-advanced/bipbop_16x9_variant.m3u8',//视频文件地址
// // // src: 'https://dh5.cntv.myalicdn.com/asp/h5e/hls/main/0303000a/3/default/de77ac92685211efbfb96c92bf2d4d36/main.m3u8?maxbr=2048&contentid=15120519184043',//视频文件地址
// // src: "https://gctxyc.liveplay.myqcloud.com/gc/zjjmht_1/index.m3u8",
// // type: "m3u8",
// // // type: 'application/x-mpegURL'//视频类型,这里可以不写,如果写一定要写对,否则会无法播放
// // },
// ],
},
};
},
...
...
src/views/video/index-videojs-m3u8.vue
View file @
cd60b0f0
...
...
@@ -19,36 +19,7 @@
Your browser does not support the video tag.
</video>
</div>
<div
class=
"item"
>
<video
ref=
"videoPlayer1"
id=
"my-video"
class=
"video-js vjs-default-skin"
controls
autoplay
preload=
"auto"
width=
"640"
height=
"360"
>
<source
:src=
"attachmentLink"
type=
"application/x-mpegURL"
/>
Your browser does not support the video tag.
</video>
</div>
<div
class=
"item"
>
<video
ref=
"videoPlayer2"
id=
"my-video"
class=
"video-js vjs-default-skin"
controls
autoplay
preload=
"auto"
width=
"640"
height=
"360"
>
<source
:src=
"attachmentLink"
type=
"application/x-mpegURL"
/>
Your browser does not support the video tag.
</video>
</div>
<!--
<div
class=
"item"
v-for=
"(index, item) in playerOptions.sources"
@
click=
"openDialog"
:key=
"index"
>
<video
id=
"videoPlayer"
...
...
@@ -101,31 +72,31 @@ export default {
autoplay
:
true
,
//是否自动播放
controls
:
true
,
// 是否显示控制栏
// poster: 'http://path/to/poster.jpg',//视频封面
sources
:
[
{
type
:
"
video/mp4
"
,
src
:
require
(
'
@/assets/video/zimu.mp4
'
),
},
{
type
:
"
video/mp4
"
,
src
:
require
(
'
@/assets/video/zimu.mp4
'
),
},
{
type
:
"
video/mp4
"
,
src
:
require
(
'
@/assets/video/zimu.mp4
'
),
},
{
type
:
"
video/mp4
"
,
src
:
require
(
'
@/assets/video/zimu.mp4
'
),
},
{
type
:
"
video/mp4
"
,
src
:
require
(
'
@/assets/video/zimu.mp4
'
),
},
{
type
:
"
video/mp4
"
,
src
:
require
(
'
@/assets/video/zimu.mp4
'
),
},
//
sources: [
//
{
//
type: "video/mp4",
//
src: require('@/assets/video/zimu.mp4'),
//
},
//
{
//
type: "video/mp4",
//
src: require('@/assets/video/zimu.mp4'),
//
},
//
{
//
type: "video/mp4",
//
src: require('@/assets/video/zimu.mp4'),
//
},
//
{
//
type: "video/mp4",
//
src: require('@/assets/video/zimu.mp4'),
//
},
//
{
//
type: "video/mp4",
//
src: require('@/assets/video/zimu.mp4'),
//
},
//
{
//
type: "video/mp4",
//
src: require('@/assets/video/zimu.mp4'),
//
},
// {
// type: "video/mp4",
// // src: "https://www.example.com/path/to/your/video.mp4"
...
...
@@ -143,7 +114,7 @@ export default {
// type: "m3u8",
// // type: 'application/x-mpegURL'//视频类型,这里可以不写,如果写一定要写对,否则会无法播放
// },
],
//
],
},
};
},
...
...
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