Dont include extra dot in instructure media url
This commit is contained in:
parent
563625097e
commit
7efcd3b87e
@ -120,7 +120,7 @@ export class ArcPlayer extends Component {
|
|||||||
getHostUrl() {
|
getHostUrl() {
|
||||||
const { url } = this.props;
|
const { url } = this.props;
|
||||||
const m = url.match(MATCH_URL);
|
const m = url.match(MATCH_URL);
|
||||||
return m && 'https://' + m[1] + '.' + m[2];
|
return m && 'https://' + m[1] + m[2];
|
||||||
}
|
}
|
||||||
|
|
||||||
getEmbedUrl() {
|
getEmbedUrl() {
|
||||||
|
Loading…
Reference in New Issue
Block a user