Skip to content

Commit

Permalink
fix(ovpprovider): refactor media source src property (#6)
Browse files Browse the repository at this point in the history
* Refactor media source src property

* efactor media source src property in tests
  • Loading branch information
tanyaLibatter authored Jun 5, 2017
1 parent 17b593a commit 130f692
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion src/entities/media-source.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default class MediaSource {
* @member - media source URL
* @type {string}
*/
src: string;
url: string;
/**
* @member - media source mimetype
* @type {string}
Expand Down
2 changes: 1 addition & 1 deletion src/k-provider/ovp/providerParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export default class ProviderParser {
}


mediaSource.src = playUrl;
mediaSource.url = playUrl;
mediaSource.id = entry.id + "_" + source.deliveryProfileId + "," + source.format;
if (source.hasDrmData()) {
let drmParams: Array<Drm> = [];
Expand Down
Loading

0 comments on commit 130f692

Please sign in to comment.