HTTP video delivery http-video-delivery

If the viewer works in configuration as outlined at the beginning of this section, published video delivery can happen both in HTTPS (secure) and HTTP (insecure) modes. In a default configuration, the video delivery protocol strictly follows the delivery protocol of the embedding web page. However, it is possible to force HTTPS video delivery without regard to the protocol used by embedding the web page using the VideoPlayer.ssl configuration attribute. (Video preview in Author mode is always delivered securely over HTTPS.)

Depending on the method of publishing Dynamic Media video that you use in Adobe Experience Manager, the VideoPlayer.ssl configuration attribute is applied differently as demonstrated in the following:

  • If you publish a Dynamic Media video with a URL, you append VideoPlayer.ssl to the URL. For example, to force secure video delivery, you append &VideoPlayer.ssl=on to the end of the following viewer URL example:

    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
    

    See also Linking URLs to your Web Application.

  • If you publish a Dynamic Media video with embed code, you add VideoPlayer.ssl to the list of other viewer configuration parameters in the embed code snippet. For example, to force HTTPS video delivery, you append &VideoPlayer.ssl=on as in the following example:

    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>
    

    See also Embedding the Video on a Web Page.

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