HTTP視訊傳送

如果檢視器的設定如本節開頭所述,則發佈的視訊傳送可能會以HTTPS(安全)和HTTP(不安全)模式進行。 在預設配置中,視頻傳送協定嚴格遵守嵌入網頁的傳送協定。 不過,強制HTTPS視訊傳送是可能的,而不考慮透過內嵌網頁所使用的通訊協定 SmartCropVideoPlayer.ssl 配置屬性。 (在製作模式中的視訊預覽一律會透過HTTPS安全地傳送。)

根據您在Adobe Experience Manager中使用的Dynamic Media視訊發佈方法, SmartCropVideoPlayer.ssl 設定屬性的套用方式不同,如下所示:

  • 若您發佈含有URL的Dynamic Media影片,會附加 SmartCropVideoPlayer.ssl 至URL。 例如,為了強制傳送安全視訊,您會附加 &SmartCropVideoPlayer.ssl=on 到下列檢視器URL範例的結尾:

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

    另請參閱 將URL連結至您的Web應用程式.

  • 若您使用內嵌程式碼發佈Dynamic Media影片,請新增 SmartCropVideoPlayer.ssl 內嵌程式碼片段中其他檢視器設定參數的清單。 例如,若要強制HTTPS視訊傳送,請附加 &SmartCropVideoPlayer.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/SmartCropVideoViewer.js"></script>
    <div id="s7video_div"></div>
    <script type="text/javascript">
     var s7videoviewer = new s7viewers.SmartCropVideoViewer({
      "containerId" : "s7video_div",
      "params" : {
       "SmartCropVideoPlayer.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>
    

    另請參閱 將視訊內嵌在網頁上.

本頁內容