HTTP視頻傳送

如果查看器按本節開頭概述的配置工作,則發佈的視頻傳送可以在HTTPS(安全)和HTTP(不安全)模式下進行。 在預設配置中,視頻傳送協定嚴格遵循嵌入網頁的傳送協定。 但是,可以強制HTTPS視頻傳送,而不考慮使用 VideoPlayer.ssl 配置屬性。 (在「作者」模式下,視頻預覽始終通過HTTPS安全提供。)

根據您在Adobe Experience Manager使用的Dynamic Media視頻發佈方法, VideoPlayer.ssl 配置屬性的應用方式不同,如下所示:

  • 如果發佈帶有URL的Dynamic Media視頻,則會追加 VideoPlayer.ssl 的子菜單。 例如,要強制安全視頻傳送,請追加 &VideoPlayer.ssl=on 到以下查看器URL示例的末尾:

    https://demos-pub.assetsadobe.com/etc/dam/viewers/s7viewers/html5/VideoViewer.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&VideoPlayer.ssl=on
    

    另請參閱 將URL連結到Web應用程式

  • 如果發佈帶有嵌入代碼的Dynamic Media視頻,則添加 VideoPlayer.ssl 嵌入代碼段中其他查看器配置參數的清單。 例如,要強制HTTPS視頻傳送,請追加 &VideoPlayer.ssl=on 如下例所示:

    <style type="text/css">
     #s7video_div.s7videoviewer{
       width:100%;
       height:auto;
     }
    </style>
    <script type="text/javascript" src="https://demos-pub.assetsadobe.com/etc/dam/viewers/s7viewers/html5/js/VideoViewer.js"></script>
    <div id="s7video_div"></div>
    <script type="text/javascript">
     var s7videoviewer = new s7viewers.VideoViewer({
      "containerId" : "s7video_div",
      "params" : {
       "VideoPlayer.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>
    

    另請參閱 將視頻嵌入到網頁

本頁內容