【发布时间】:2016-07-04 20:00:36
【问题描述】:
我需要在一个网页上包含 42 个教程视频,每个视频时长在 30-90 秒之间。我目前正在以mov 格式将它们上传到S3,并将它们包含在带有video 标签的页面中。 6 个视频,页面加载速度足够快,但视频需要很长时间才能加载。
从我所做的研究看来,我有 2 个选项可以加快速度 -
1 - 将视频上传到 Youtube,在网站上加载缩略图和replace them with the video when the user clicks on the thumbnail image。
2 - Use Amazon CloudFront to deliver the videos to the user.
以下哪种方式可以更快地向用户提供视频? Youtube 似乎是更便宜的选择,并具有允许用户在 Youtube 上流式传输视频的额外优势,但 AWS CloudFront 似乎是专门为此目的而构建的服务。
【问题讨论】:
标签: amazon-web-services video amazon-s3 youtube web-performance