參考:https://uniapp.dcloud.io/component/video.html
參考:https://blog.csdn.net/wusejiege6/article/details/110723290
加入<video src=""><video>
標(biāo)簽即可
<video src="http://114.55.8.17:8000/static/file/%E4%B8%BE%E9%87%8D%E5%A4%B1%E8%AF%AF%E9%9B%86%E9%94%A6.mp4"></video>
效果文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-509583.html
發(fā)現(xiàn)內(nèi)置的瀏覽器始終不行
查看官方文檔
可以直接用瀏覽器或者模擬器運(yùn)行效果
即可運(yùn)行
或者運(yùn)行到內(nèi)置模擬器即可
效果如下文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-509583.html
到了這里,關(guān)于uniapp播放視頻 Uncaught (in promise)DOMException: The element has no supported sources.的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!