HTTPS視訊傳送 https-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/MixedMediaViewer.html?asset=%2Fcontent%2Fdam%2FGeometrixx-Outdoors-New-Launch%2Fbackpack%2Fbackpack_mixed_media&config=/etc/dam/presets/viewer/MixedMedia_light&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&VideoPlayer.ssl=on
    

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

  • 如果您使用內嵌程式碼發佈Dynamic Media視訊,請將VideoPlayer.ssl新增至內嵌程式碼片段中的其他檢視器組態引數清單。 例如,若要強制HTTPS視訊傳送,您可以附加&VideoPlayer.ssl=on,如下列範例所示:

    code language-none
    <style type="text/css">
     #s7mixedmedia_div.s7mixedmediaviewer{
       width:100%;
       height:auto;
     }
    </style>
    <script type="text/javascript" src="https://demos-pub.assetsadobe.com/etc/dam/viewers/s7viewers/html5/js/MixedMediaViewer.js"></script>
    <div id="s7mixedmedia_div"></div>
    <script type="text/javascript">
     var s7mixedmediaviewer = new s7viewers.MixedMediaViewer({
      "containerId" : "s7mixedmedia_div",
      "params" : {
       "VideoPlayer.ssl" : "on",
       "serverurl" : "https://adobedemo62-h.assetsadobe.com/is/image",
       "contenturl" : "https://demos-pub.assetsadobe.com/",
       "config" : "/etc/dam/presets/viewer/MixedMedia_light",
       "config2": "/etc/dam/presets/analytics",
       "videoserverurl": "https://gateway-na.assetsadobe.com/DMGateway/public/demoCo",
       "asset" : "/content/dam/Geometrixx-Outdoors-New-Launch/backpack/backpack_mixed_media" }
     }).init();
    </script>
    

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

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