HTTP視訊傳送 http-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/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連結至您的網頁應用程式

  • 如果您使用內嵌程式碼發佈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