Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in URL for Web Client User View #19

Open
DanielAyo opened this issue Jun 28, 2020 · 1 comment
Open

Error in URL for Web Client User View #19

DanielAyo opened this issue Jun 28, 2020 · 1 comment

Comments

@DanielAyo
Copy link

DanielAyo commented Jun 28, 2020

Following the documentation on the UserView.md, the react code for Location 13 is not working.

It seems like the src value in the sources array is incorrect.

sources: [{
    src: `https://${awsvideo.awsOutputVideo}/output/${item.video.id}.m3u8`,
    type: 'application/x-mpegURL',
}],

After the uploaded video asset is encoded by Media Convert, the files are stored within the public folder of the output s3 bucket.

Changing the src URL to the following, resolved the issue

sources: [{
    src: `https://${awsvideo.awsOutputVideo}/public/${item.video.id}/${item.video.id}.m3u8`,
    type: 'application/x-mpegURL',
}],
@insidedctm
Copy link

Thanks saved me an hour or so of debugging!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants