...
The embed code generator is always on the asset detail page.
Accessing the Player code generation from the DAM
...
Accessing the Player code generation from the DAM back-office
...
back-office
...
The embed code generator offer multiple options :
...
Manually managing the player embed code
The player is a HTML page that can be embedded into a iframe (this is the default output from the code generator) :
Player page :
https://your-media-cloud-server-name/api/media/play.html?PlayerUid=player uuid&MediaUid=asset uuid&width=640px&height=360px&autostart=false&Share=false
Embed code with an iframe :
<iframe width="640" height="360" src="your-media-cloud-server-name/api/media/play.html?PlayerUid=player uuid&MediaUid=asset uuid&width=640px&height=360px&autostart=false&share=false" allow="autoplay; fullscreen" frameborder="0" scrolling="no" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" ></iframe>
Typically, external web pages are using the embed code with an iframe.
Player options :
The player can be customized with multiple options :
Please note that we are using in this table camel case options for legibility, but the case of the code is not relevant when creating your coe.
Code | Option | Possible values |
---|---|---|
| The uuid of the player defined in Player Manager: player manager is a service managed by Wedia Account Manager to define a player skin. The skin is defined by the control colors, and optionnaly by a watermark overlayed on the video in one corner of the player | |
| This is the unique asset identifier in the DAM | |
| The Width of the player, suffixed with the unit | 640px, 1rem … |
| The Height of the player, suffixed with the unit | 320px, 1rem … |
| When supported by the browser, starts the video upon loading | true, false |
| Display an “email” icon inside the player to allow the user to send a link to the video via email to a friend | true, false |
| Starts the video at a given time position. | value in seconds |
Using the Content Picker to embed a simplified DAM in a CMS tool.
...