forked from jd-opensource/nutui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cd40bbd
commit dfe4604
Showing
3 changed files
with
39 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
src/packages/__VUE/video/__tests__/__snapshots__/video.spec.ts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Video video base info 1`] = ` | ||
"<div class=\\"nut-video\\"><video class=\\"nut-video-player\\" autoplay=\\"\\" loop=\\"\\" controls=\\"\\" playsinline=\\"true\\" webkit-playsinline=\\"true\\" x5-video-player-type=\\"h5-page\\" x5-video-player-fullscreen=\\"false\\"> | ||
<source src=\\"xxx.mp4\\" type=\\"video/mp4\\"> | ||
</video> | ||
<!--v-if--> | ||
<!--v-if--> | ||
<div class=\\"nut-video-controller show-control\\" style=\\"display: none;\\"> | ||
<div class=\\"control-play-btn\\"></div> | ||
<div class=\\"current-time\\">00:00</div> | ||
<div class=\\"progress-container\\"> | ||
<div class=\\"progress\\"> | ||
<div class=\\"buffered\\" style=\\"width: 0%;\\"></div> | ||
<div class=\\"video-ball\\" style=\\"transform: translate3d(0px, -50%, 0);\\"> | ||
<div class=\\"move-handle\\"></div> | ||
</div> | ||
<div class=\\"played\\"></div> | ||
</div> | ||
</div> | ||
<div class=\\"duration-time\\">00:00</div> | ||
<div class=\\"volume muted\\"></div> | ||
<div class=\\"fullscreen-icon\\"></div> | ||
</div><!-- 错误弹窗 --> | ||
<div class=\\"nut-video-error\\" style=\\"display: none;\\"> | ||
<p class=\\"lose\\">视频加载失败</p> | ||
<p class=\\"retry\\">点击重试</p> | ||
</div> | ||
</div>" | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters