公众号素材还不可以通过API上传视频号的短视频吗?
发布于 5 年前 作者 ping62 14946 次浏览 来自 官方Issues

新增其他类型永久素材

http请求方式: POST,需使用https https://api.weixin.qq.com/cgi-bin/material/add_material?access_token=ACCESS_TOKEN&type=TYPE 

目前公众号后台已支持手动插入视频号的短视频进素材,复制了代码出来是很长串的HTML代码,中间有些临时链接,是目前还不支持这种方式吗?

<section class=“channels_iframe_wrp custom_select_card_wrp” style=“margin: 16px auto; padding: 0px; text-align: center;”>

    <mpvideosnap class="_135editor" data-pluginname=“videosnap” data-id=“export/UzFfAgtgekIEAQAAAAAAD9IZgk4dzQAAAAstQy6ubaLX4KHWvLEZgBPEwaFUDVdNNJ_5zNPgMIuTEAUhNpPTezy1fQotPmVN” data-url=“https://findermp.video.qq.com/251/20350/stodownload?encfilekey=jEXicia3muM3GjTlk1Z3kYCefzc4VU4EASJI6iagdtB6QaHef1yoP09jelxku0FfJYuPicOW1ibOBicFuESjAdSNQX3QZoT8rOsfXNibw1yKtonHPSoC4zMLxC1ibHFpR6iadRHa7DH68WU9VzR7yc4sD75YiaAdeWYjB8Mgmy&amp;bizid=1023&amp;dotrans=0&amp;hy=SH&amp;idx=1&amp;m=f854dc30825b802c3b46c318af4ab01e&amp;token=cztXnd9GyrFic3jndkicLXICNK3BwUr1kopwTFM1lCWqaZL2tKe0PXBN54h8lnvrts” data-headimgurl=“http://wx.qlogo.cn/finderhead/rc3tl0ggXtkLD340uJNFJRibia3wUYc9eWkia66DKvVLz4/0” data-username=“v2_060000231003b20faec8c4eb8819c4d7cf06e53db077d5fad7fb6fe19e009520b7897d5ce6dd@finder” data-nickname=“新草笔记” data-desc="一个视频带你全面读懂江苏#江苏 #南京 #地理 #旅游  #新草笔记 @福利公会 " data-nonceid=“7000055769662136136” data-type=“video” style=“margin: 0px 1px; padding: 0px; position: relative; display: inline-block; width: 100%;”>

        <section style=“margin: 0px; padding: 0px;”>

            <section class=“wxw_wechannel_card appmsg_card_context js_wechannel_card” style=“margin: 0px auto; padding: 0px; position: relative; background-color: rgb(247, 247, 247); border-radius: 8px; display: block; font-size: 14px; text-align: left; line-height: 1.4; overflow: hidden; width: 254px;”>

                <section class=“wxw_wechannel_card_inner” style=“margin: 0px; padding: 0px;”>

                    <section class=“wxw_wechannel_card_bd” style=“margin: 0px; padding: 0px;”>

                        <section class=“wxw_wechannel_video_context” style=“margin: 0px; padding: 0px 0px 253.992px; position: relative; background-position: 50% 50%; background-size: cover; background-image: url(&quot;https://findermp.video.qq.com/251/20350/stodownload?encfilekey=jEXicia3muM3GjTlk1Z3kYCefzc4VU4EASJI6iagdtB6QaHef1yoP09jelxku0FfJYuPicOW1ibOBicFuESjAdSNQX3QZoT8rOsfXNibw1yKtonHPSoC4zMLxC1ibHFpR6iadRHa7DH68WU9VzR7yc4sD75YiaAdeWYjB8Mgmy&amp;bizid=1023&amp;dotrans=0&amp;hy=SH&amp;idx=1&amp;m=f854dc30825b802c3b46c318af4ab01e&amp;token=cztXnd9GyrFic3jndkicLXICNK3BwUr1kopwTFM1lCWqaZL2tKe0PXBN54h8lnvrts&quot;);”>

                            <em class=“weui-play-btn_primary” style=“margin: 0px; padding: 0px; position: absolute; top: 126.996px; left: 126.996px;transform: translate(-50%, -50%);-webkit-transform: translate(-50%, -50%);-moz-transform: translate(-50%, -50%);-o-transform: translate(-50%, -50%);”></em>

                        </section>

                        <section class=“wxw_wechannel_profile weui-flex” style=“margin: 0px; padding: 12px; display: flex;”>

                            <img class=“wxw_wechannel_avatar” src=“https://wx.qlogo.cn/finderhead/rc3tl0ggXtkLD340uJNFJRibia3wUYc9eWkia66DKvVLz4/0” style=“margin: 0px 8px 0px 0px; padding: 0px; max-width: 100%; height: 20px !important; width: 20px; border-radius: 50%;” data-ratio=“1” data-w=“166”/><strong class=“wxw_wechannel_nickname” style=“margin: 0px; padding: 0px; color: rgba(0, 0, 0, 0.9); font-weight: 500; width: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; overflow-wrap: normal;”>新草笔记</strong>

                        </section>

                        <section class=“wxw_wechannel_desc” style=“margin: -4px 0px 0px; padding: 0px 12px 12px; color: rgba(0, 0, 0, 0.9); width: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; overflow-wrap: normal;”>

                            一个视频带你全面读懂江苏#江苏 #南京 #地理 #旅游 #新草笔记 @福利公会

                        </section>

                    </section>

                    <section class=“wxw_wechannel_card_ft weui-flex” style=“margin: 0px; padding: 8px 12px; display: flex; -webkit-box-align: center; align-items: center; position: relative; color: rgba(0, 0, 0, 0.5);”>

                        <em class=“wxw_wechannel_logo” style=“margin: 0px 5px 0px 0px; padding: 0px; display: inline-block; vertical-align: middle; width: 18px; background-size: cover; background-image: url(&quot;data:image/svg+xml;charset=utf8,%3Csvg xmlns=&#39;http://www.w3.org/2000/svg&#39; width=&#39;18&#39; height=&#39;18&#39; viewBox=&#39;0 0 18 18&#39;%3E  %3Cg fill=&#39;none&#39; fill-rule=&#39;evenodd&#39;%3E    %3Cpath d=&#39;M0 0h18v18H0z&#39;/%3E    %3Cpath stroke=&#39;%23FA9D3B&#39; stroke-width=&#39;.9&#39; d=&#39;M9 9.878S6.512 15 5.161 15 1.556 6.027 2.457 3.753C3.827.293 9 9.878 9 9.878zm0 0S11.488 15 12.839 15c1.352 0 3.605-8.973 2.704-11.247C14.173.293 9 9.878 9 9.878z&#39;/%3E  %3C/g%3E%3C/svg%3E&quot;); height: 18px !important;”></em>视频号&nbsp; &nbsp;&nbsp; &nbsp;

                    </section>

                </section>

            </section>

        </section>

    </mpvideosnap>

</section>

回到顶部