JavaScript
-
videoJS를 이용한 서버 영상 재생현생살며 토이플젝 2021. 7. 11. 22:42
AWS S3 영상을 재생하는 기능의 요구사항이 생겼다. JSP의 태그에 videoJS를 써서 버킷에 있는 파일을 불러올 수 있다. 또 다양한 옵션을 제공한다. 공식 레퍼런스 : https://docs.videojs.com/module-videojs-videojs.html Namespace: videojs | Video.js Documentation A safe getComputedStyle. This is needed because in Firefox, if the player is loaded in an iframe with display:none, then getComputedStyle returns null, so, we do a null-check to make sure that the playe..