HTTP視訊傳送 http-video-delivery

如果檢視器在設定中依本節開頭所述的方式運作,則發佈的視訊傳送可能會同時在HTTPS (安全)和HTTP (不安全)模式中發生。 在預設設定中,視訊傳送通訊協定會嚴格遵循內嵌網頁的傳送通訊協定。 不過,不論使用內嵌網頁所使用的通訊協定,還是強制HTTPS視訊傳送是可能的。 VideoPlayer.ssl 設定屬性。 (作者模式下的視訊預覽一律會透過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/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 如下列範例所示:

    code language-none
    <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>
    

    另請參閱 將影片內嵌在網頁上.

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