当前位置:网站首页>Tiktok practice ~ sharing module ~ short video download (save to photo album)
Tiktok practice ~ sharing module ~ short video download (save to photo album)
2022-06-26 19:06:00 【gblfy】

One 、 Visible range
Save to album 、 Replication link 、 QR code It is all done by the front end
1. Publish your own short video
The short video released by myself will have “ Save to album 、 Replication link 、 QR code 、 Become private ”
2. Others post short videos
Others post short videos , I can only see “ Save to album 、 Replication link 、 QR code ”
Two 、 Source code analysis
2.1. Bottom window popup
<view>
<!-- Bottom window popup -->
<uni-popup ref="comment" type="comment">
<uni-popup-comments :thisVlogerId="thisVlogerId" :thisVlogId="thisVlogId"></uni-popup-comments>
</uni-popup>
<uni-popup ref="share" background-color="#fff" type="share">
<uni-popup-share :thisVlogerId="thisVlogerId" :thisVlogId="thisVlogId" :vlogUrl="thisVlog.url"
:isPrivate="thisVlog.isPrivate"></uni-popup-share>
</uni-popup>
</view>
2.2. Implementation components uni-popup Pop-up layer
Plug in links :https://ext.dcloud.net.cn/plugin?id=329
Component case :
2.3. Plug ins involve components
Plugins include 4 Components :“uni-popup-comments、uni-popup-dialog、uni-popup-message、uni-popup-share”
2.4. Component modification
uni-popup-share
2.5. pivotal api
Official website api:
uni.uploadFile(OBJECT)
uni.saveVideoToPhotosAlbum
Involving key api:uni.downloadFile、uni.saveVideoToPhotosAlbum

3、 ... and 、 Appreciation of works
3.1. Post your own video

3.2. Others post videos

3.3. Save short video

边栏推荐
- 抖音实战~搜索页面~扫描二维码
- 問題解决:虛擬機無法複制粘貼文件
- Basic and necessary common plug-ins of vscade
- 【Mysql系列】工作常用sql集锦(持续更新)
- Résumé des points de connaissance
- 转:实事求是
- Using recursion to find all gray codes with n bits
- LeetCode 面试题29 顺时针打印矩阵
- 9. Intelligent transportation project (2)
- [MySQL series] collection of common working SQL (continuous update)
猜你喜欢

Refresh the strong pointer assignment problem in the HP-UX system of Sanguan

项目实战四:用户登录及token访问验证(reids+jwt)

Tree array

Pinda general permission system (day 3~day 4)

IK word breaker

限流设计及实现

Crawl Douban to read top250 and import it into SqList database (or excel table)

最小生成树、最短路径、拓扑排序、关键路径

Basic and necessary common plug-ins of vscade

黑客用机器学习发动攻击的九种方法
随机推荐
Solidity - 合约继承子合约包含构造函数时报错 及 一个合约调用另一合约view函数收取gas费用
Successfully solved the problem of garbled microservice @value obtaining configuration file
Record of user behavior log in SSO microservice Engineering
成功解决之idea引用Lombok的@Slf4j后无法正常使用log
DVD digital universal disc
链游开发成品源码 链游系统开发详情说明
Take you to resolve hash conflicts and implement a simple hash table,
Boot的单元测试
To: Apple CEO Cook: great ideas come from constantly rejecting the status quo
品达通用权限系统(Day 3~Day 4)
【推荐收藏】这8个常用缺失值填充技巧一定要掌握
stm32和电机开发(直流有刷电机和步进电机)
50 lines of code to crawl TOP500 books and import TXT documents
The cross compilation environment appears So link file not found problem
8VC Venture Cup 2017 - Final Round C. Nikita and stack
数据库范式和主码的选择
抖音实战~分享模块~短视频下载(保存到相册)
問題解决:虛擬機無法複制粘貼文件
IK word breaker
Filebeat安装及使用