HTTPS视频交付 https-video-delivery

如果查看器按本节开头所述的配置工作,则发布的视频投放可能会在HTTPS(安全)和HTTP(不安全)模式下发生。 在默认配置中,视频投放协议严格遵循嵌入网页的投放协议。 但是,可以使用VideoPlayer.ssl配置属性来强制执行HTTPS视频交付,而不考虑嵌入网页所使用的协议。 (创作模式下的视频预览始终通过HTTPS安全交付。)

根据您在Adobe Experience Manager中使用的Dynamic Media视频发布方法,VideoPlayer.ssl配置属性的应用有所不同,如以下所示:

  • 如果您发布带有URL的Dynamic Media视频,则会将VideoPlayer.ssl附加到URL。 例如,要强制安全视频交付,请将&VideoPlayer.ssl=on附加到以下查看器URL示例的末尾:

    code language-none
    https://demos-pub.assetsadobe.com/etc/dam/viewers/s7viewers/html5/MixedMediaViewer.html?asset=%2Fcontent%2Fdam%2FGeometrixx-Outdoors-New-Launch%2Fbackpack%2Fbackpack_mixed_media&config=/etc/dam/presets/viewer/MixedMedia_light&serverUrl=https%3A%2F%2Fadobedemo62-h.assetsadobe.com%2Fis%2Fimage%2F&contenturl=%2F&config2=/etc/dam/presets/analytics&videoserverurl=https://gateway-na.assetsadobe.com/DMGateway/public/demoCo&VideoPlayer.ssl=on
    

    另请参阅(将URL链接到您的Web应用程序

  • 如果使用嵌入代码发布Dynamic Media视频,请将VideoPlayer.ssl添加到嵌入代码片段中的其他查看器配置参数列表中。 例如,要强制HTTPS视频交付,您可以附加&VideoPlayer.ssl=on,如以下示例所示:

    code language-none
    <style type="text/css">
     #s7mixedmedia_div.s7mixedmediaviewer{
       width:100%;
       height:auto;
     }
    </style>
    <script type="text/javascript" src="https://demos-pub.assetsadobe.com/etc/dam/viewers/s7viewers/html5/js/MixedMediaViewer.js"></script>
    <div id="s7mixedmedia_div"></div>
    <script type="text/javascript">
     var s7mixedmediaviewer = new s7viewers.MixedMediaViewer({
      "containerId" : "s7mixedmedia_div",
      "params" : {
       "VideoPlayer.ssl" : "on",
       "serverurl" : "https://adobedemo62-h.assetsadobe.com/is/image",
       "contenturl" : "https://demos-pub.assetsadobe.com/",
       "config" : "/etc/dam/presets/viewer/MixedMedia_light",
       "config2": "/etc/dam/presets/analytics",
       "videoserverurl": "https://gateway-na.assetsadobe.com/DMGateway/public/demoCo",
       "asset" : "/content/dam/Geometrixx-Outdoors-New-Launch/backpack/backpack_mixed_media" }
     }).init();
    </script>
    

    另请参阅(在网页上嵌入视频

recommendation-more-help
b7426f53-aad9-4c00-83fc-664f30f681e8