LoginSignup
0
0

More than 1 year has passed since last update.

CloudFront + videojs-vr でセキュアな360° グリグリ動画配信を実現する!

Posted at

最近VR動画撮影&配信のお仕事をいただくようになってきたので、はまったところを記事にしていきます。

全体像は追って書きます。

今日はCloudFrontの署名付きCookieを使ってセキュアな配信を実装している場合にvideojs-vrで再生がうまくいかなかったので
対処法をメモ。

結論

videojsのwithCredentialsをtrueにしても署名cookieが送信されない場合は、videoタグのオプションに、
「crossorigin="use-credentials"」をセットすると解決できる!

<video id="my_video_1" class="video-js vjs-fluid" playsinline controls crossorigin="use-credentials"> </video>
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0