HTTPS視訊傳送

注意

安全視訊傳送僅適用於安裝功能套件-13480的AEM6.2和安裝功能套件NPR-15011<a3/AEM>的6.1。

如果檢視器如本節開頭所述的設定運作,發佈的視訊傳送可在HTTPS(安全)和HTTP(不安全)模式下進行。 在預設配置中,視訊傳送通訊協定會嚴格遵循內嵌網頁的傳送通訊協定。 不過,不論使用VideoPlayer.ssl組態屬性內嵌網頁所使用的通訊協定,都可強制HTTPS視訊傳送。 (請注意,在「作者」模式中的視訊預覽一律會透過HTTPS安全地傳送。)

根據您在中使用的發佈Dynamic Media視訊的方AEM法,VideoPlayer.ssl組態屬性的套用方式與下列所示不同:

  • 如果您以URL發佈Dynamic Media影片,請將VideoPlayer.ssl附加至URL。 例如,若要強制安全傳送視訊,請將&VideoPlayer.ssl=on附加至下列檢視器URL範例的結尾:

    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:

    <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>
    

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

本頁內容

Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now