Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Digizuite embed player
    Out of the box, we use the Digizuite's embed player is used for rendering video asset in Sitecore. The html is a iframe, which can be ether a fixed width and height or it can be responsive to the container it is part of.

    Info
    titleExample

    <iframe width="100%" height="100%" scrolling="no" allowfullscreen="true" frameborder="0" src="https://[DAM URL]/dmm3bwsv3/embedplayer/play.aspx?accesskey=71c38ac6-2def-43b8-a226-ce1ad8152f57&aid=86&autostart=0&width=auto&height=auto&videoquality=videoPreview&fs=1" style=""></iframe>



  2. Native browser video playback
    This player uses the native browser video playback. The drawback of this solution, is that the player controls looks different on each browser vendor.

    Info
    titleExample

    <div style="width:640px; height:360px;">
       <video controls="controls" width="640" height="360" poster="/media/9c60ffb4e919412ab924c6b925612774/774-50045" >
          <source type="video/mp4" src="https://[DAM URL]/dmm3bwsv3/assetstream.aspx?accesskey=a9402f36-039d-43ba-9109-ac599b6335b7&destinationid=10010&assetid=774&mediaformatid=50050">
       </video>
    </div>


  3. Custom video playback through API (code behind)
    You can retrieve the video streaming URL from the API, see this guide DFS 8.1.0 - 4 Accessing metadata through API, and from here you can construct your own preferred video player.

12.1 Configuration

To configure the html for the video asset go to sitecore → Templates → Branches → DFS → AssetTypeOutputRoot →  AssetTypeOutputRoot and select the 01 - Video item.

Image Added