【发布时间】:2021-07-19 09:15:05
【问题描述】:
在带有 VideoJS 的 Azure 媒体服务中,我们正在创建 Mainfest 文件并在 UI 中显示该视频,
我想隐藏 Azure URL 或使用其他方式显示视频,而不在前端显示 Azure 云,
以下 URL 来自 Spring Boot 后端,
需要对客户端隐藏 Azure 端口或以任何其他方式将视频从 springboot ressonce 显示到 Video.js,
代码:
const videoJsOptions = {
techOrder: ['html', 'youtube', 'flash', 'other supported tech'],
autoplay: true,
controls: true,
usingNativeControls: true,
sources: [
{
src:
'https://**my-video.streaming.media.azure.net**/tes-122/manifest',
type: 'application/vnd.ms-sstr+xml'
}
]
};
【问题讨论】:
-
快速提示:考虑同时添加 javascript 标签
标签: spring-boot vue.js video.js azure-media-services