简体   繁体   English

Azure 媒体播放器多实例音量问题

[英]Azure media player multiple instances volume issue

I am using multiple instances of azure media player.我正在使用 azure 媒体播放器的多个实例。 The problem is that I have multiple instances, the player's volume control stops working.问题是我有多个实例,播放器的音量控制停止工作。 Is there any workaround for this?有什么解决方法吗? I am using vuejs.我正在使用 vuejs。 Thanks.谢谢。

anyone who looks for a solution for the volume (mute and unmute too) issues.任何为音量(静音和取消静音)问题寻找解决方案的人。 The only workaround i found to fix the issues is to use a iframe for the player.我发现解决问题的唯一解决方法是为播放器使用 iframe。 Basically i created a html file with the player and loading it via iframe.基本上我用播放器创建了一个 html 文件并通过 iframe 加载它。

For example my videoplayer.html (HTML) looks like this: https://amp.azure.net/libs/amp/latest/samples/dynamic_setsource.html例如我的 videoplayer.html (HTML) 看起来像这样: https://amp.azure.net/libs/amp/latest/samples/dynamic_setsource.html

And my iframe looks like this:我的 iframe 看起来像这样:

<iframe src="/bla/bla/videoplayer.html?video=https://thevideourl.manifest&otherparam=xx&andsomethingelse="yyy"></iframe>

Im also passing the some params via get parameter to the iframe. So i can use the params inside the iframe to make it more dynamic.我还通过 get 参数将一些参数传递给 iframe。因此我可以使用 iframe 中的参数使其更具动态性。

This way you can embed multiple player on the same page and the player works like excepted.通过这种方式,您可以在同一页面上嵌入多个播放器,播放器的工作方式与例外情况相同。 Currently its not possible to use the Azure Media Player on the same page multiple times without control issues.目前无法在同一页面上多次使用 Azure 媒体播放器而不会出现控制问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Azure 媒体播放器的多个实例渲染音量控制无用 - Multiple instances of Azure Media Player render volume control useless Azure 媒体播放器 drm 保护 iPhone 中的视频问题 - Azure media player drm protected video issue in iPhone 无法使用 Azure 媒体播放器播放 m3u8 文件 - Unable to play m3u8 file using Azure Media Player Bootstrap 比率 16x9 在使用 Azure Media Player 时产生很大的差距 - Bootstrap ratio 16x9 creating a large gap when using Azure Media Player Azure 媒体清单文件我无法在 video_player 中重现它 flutter package - Azure Media manifest file I can not reproduce it in video_player flutter package 如果我想在多个 Windows EC2 实例之间共享一个卷,我应该使用什么服务? - What service should I use if I want to share a volume across multiple Windows EC2 instances? Azure 服务总线 - 如果有多个应用服务实例,如何指定消息的接收者 - Azure Services Bus - How to Specify the Receiver of a Message if there are Multiple App Service Instances 使用相同的 docker 图像在 Azure 上运行多个容器实例,就像 AWS Fargate 任务一样 - Run multiple container instances on Azure with the same docker image just like AWS Fargate tasks Azure Function 工人与实例 - Azure Function workers vs instances 无法上传到 azure 媒体服务 - Unable to upload to azure media service
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM