当前位置:网站首页>Wechat applet video upload component is directly uploaded to Alibaba cloud OSS
Wechat applet video upload component is directly uploaded to Alibaba cloud OSS
2022-07-29 05:32:00 【crystal lattices 】
One 、 Example of wechat applet video upload component
Multi video upload function , Direct transmission OSS, Can be directly from OSS Delete ; The organization accepts videos separated by commas url Address , Automatically list multiple videos , But after clicking the upload button to upload the video , Also return videos separated by commas url Address .
bindchange It is the event of successful uploading of video components , The format of the returned data is :{e: {detail: {name: ' The attribute name can be customized according to the attribute name of the external object ', value: ' Comma separated video addresses '}}}
usage :
<form-video-upload-oss title=" Upload video " name="videos" value="{
{info.videos}}" noContent="{
{true}}" placeholder=" Video has not been uploaded yet " btnText=" Shoot and upload " sourceType="{
{['camera']}}" path="business_pic/momeplan_video" bindchange="valueChange" isDeleted="{
{saved}}"></form-video-upload-oss>
/**
* Process form values
*/
valueChange: function (e) {
let name = e.detail.name;
let value = e.detail.value;
let labelName &
边栏推荐
猜你喜欢
浅谈范式
Alibaba cloud and Dingjie software released the cloud digital factory solution to realize the localized deployment of cloud MES system
数千个数据库、遍布全国的物理机,京东物流全量上云实录 | 卓越技术团队访谈录
More than 200 ISVs have settled in! The first anniversary of Alibaba cloud computing nest
牛客网编程题—【WY22 Fibonacci数列】和【替换空格】详解
[event preview] cloud development, efficient and intelligent - the second Alibaba cloud ECS cloudbuild developer competition is about to start
QML control: combobox
NVIDIA Zhou Xijian: the last mile from design to digital marketing
365 day challenge leetcode 1000 questions - day 039 full binary tree inserter + find peak II + snapshot array
365 day challenge leetcode1000 question - distance between bus stops on day 038 + time-based key value storage + array closest to the target value after transforming the array and + maximum value at t
随机推荐
QML type: mousearea
C语言 一维数组
数千个数据库、遍布全国的物理机,京东物流全量上云实录 | 卓越技术团队访谈录
科班同学真的了解未来的职业规划吗?
C语言数组入门到精通(数组精讲)
来!看排名一年上升16位的ClickHouse,如何在京东落地实践
【C语言系列】— 字符串+部分转义字符详解+注释小技巧
Alibaba cloud architect details nine trends in the game industry
Side effects and sequence points
MySQL的基础概念+数据库系统结构+拓展延申+基础命令学习
Detailed explanation of serial port communication
Why is Google's internal tools not suitable for you?
适创科技以云仿真平台,支持“中国智造”升级
365 day challenge leetcode1000 question - distance between bus stops on day 038 + time-based key value storage + array closest to the target value after transforming the array and + maximum value at t
文件结尾
Cryengine Technology
题解:在一个排序数组中查找元素第一个和最后一个的位置 (个人笔记)
JD cloud and Forrester consulting released a hybrid cloud report that cloud Nativity has become a new engine driving industrial development
冒泡排序 C语言
365 day challenge leetcode 1000 questions - day 039 full binary tree inserter + find peak II + snapshot array