Javascript 如何通过js激活Azure Media Player(AMP)上的vtt文件?
我通过js实例化我的AMP。我现在有了每个视频的.vtt文件的URL,但我不清楚如何将每个vtt与每个AMP关联起来。AMP文档注意到对象“Cea708CaptionSettings”和“Imsc1CaptionSettings”,但是我没有看到这些对象的url或src属性。非常感谢任何线索 如果您正在使用Azure Media Player,请确保将链接单独添加到VTT。请参阅AMP样本上的Javascript 如何通过js激活Azure Media Player(AMP)上的vtt文件?,javascript,azure-media-services,Javascript,Azure Media Services,我通过js实例化我的AMP。我现在有了每个视频的.vtt文件的URL,但我不清楚如何将每个vtt与每个AMP关联起来。AMP文档注意到对象“Cea708CaptionSettings”和“Imsc1CaptionSettings”,但是我没有看到这些对象的url或src属性。非常感谢任何线索 如果您正在使用Azure Media Player,请确保将链接单独添加到VTT。请参阅AMP样本上的