Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(mediaComposition): exposes the media URN through the main resources
Today, it's not possible to retrieve the identifier of the media currently being played. In some cases, however, this information may be of interest to the developer. This modification fills the gap by exposing the URN through the `mediaData` object accessible from the player current source. ```javascript // Access the media URN player.currentSource().mediaData.urn ``` - add `urn` property to `mediaComposition.getMainResources` - update `getMainResources` test case to ensure that the urn property is exposed
- Loading branch information