HTTPS视频交付

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

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

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

    https://demos-pub.assetsadobe.com/etc/dam/viewers/s7viewers/html5/Video360Viewer.html?asset=%2Fcontent%2Fdam%2Fmarketing%2Fshoppable-video%2Fadobe-axis-demo%2FAdobe_AXIS_V3_GRADED-HD.mp4&config=/etc/dam/presets/viewer/Video&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&posterimage=/content/dam/marketing/shoppable-video/adobe-axis-demo/Adobe_AXIS_V3_GRADED-HD.mp4&Video360Player.ssl=on
    

    另请参阅将URL关联到Web应用程序

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

    <style type="text/css">
     #s7video_div.s7video360viewer{
       width:100%;
       height:auto;
     }
    </style>
    <script type="text/javascript" src="https://demos-pub.assetsadobe.com/etc/dam/viewers/s7viewers/html5/js/Video360Viewer.js"></script>
    <div id="s7video_div"></div>
    <script type="text/javascript">
     var s7video360viewer = new s7viewers.Video360Viewer({
      "containerId" : "s7video_div",
      "params" : {
       "Video360Player.ssl" : "on",
       "serverurl" : "https://adobedemo62-h.assetsadobe.com/is/image",
       "contenturl" : "https://demos-pub.assetsadobe.com/",
       "config" : "/etc/dam/presets/viewer/Video",
       "config2": "/etc/dam/presets/analytics",
       "videoserverurl": "https://gateway-na.assetsadobe.com/DMGateway/public/demoCo",
       "posterimage": "/content/dam/marketing/shoppable-video/adobe-axis-demo/Adobe_AXIS_V3_GRADED-HD.mp4",
       "asset" : "/content/dam/marketing/shoppable-video/adobe-axis-demo/Adobe_AXIS_V3_GRADED-HD.mp4" }
     }).init();
    </script>
    

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

在此页面上