닉네임이 멋이 중헌디 2023. 12. 29. 13:14

1. videoElement.play()

저전력 모드를 활성화한 iOS, macOS : play 메서드 호출 시 NotAllowedError 예외 던짐

 

1. NotSupportedError

- 브라우저가 플레이하지 못하는 포맷인 경우

- 다시 재생 못하므로 

 

2. AbortError

- autoplaystopper : 수동으로 abortError 발생 가능

- 페이지를 백그라운드에서 열면 발생

- 백그라운드에서 열기를 실행하면 쉽게 재현할 수 있다

 

3. NotAllowedError

- isVideoAutoplayEnabled : false로 만들고 이미지를 보여준다

 

 

2. favicon

원래 16*16 

파이어폭스에서 32 * 32로 

이제 48의 배수로 사용 중 

애플만 이상하게 180

안드로이드는 192 (48의 배수) 

 

https://evilmartians.com/chronicles/how-to-favicon-in-2021-six-files-that-fit-most-needs

 

How to Favicon in 2023: Six files that fit most needs—Martian Chronicles, Evil Martians’ team blog

Prefer SVG over PNG, trust browsers to downscale, drop obscure formats—the ultimate, exhaustive guide to favicons for modern web. Includes steps for static HTML and Webpack.

evilmartians.com

 

  • Browsers download favicons in the background, so a bigger favicon image does not affect website performance.
  •  
  • SVG is a great way to reduce image size for images that aren’t supposed to be bitmaps in the first place; for many logos the resulting file will be much smaller than a PNG.
  •  
  • With just three PNG images in this minimum set, you can use advanced tools to optimize their size. This solves a problem for Internet users that don’t have unlimited data plans

 

 

3. firebase app distribution

 

4.  facebook stetho

- 페이스북에서 안드로이드 개발을 위해 만든 디버깅 플랫폼

- 크롬 브라우저의 chrome inspector에서 사용 가능 

- javascript console : chrome 콘솔창에서 자바스크립트 명령 입력이 가능

 

https://jaejong.tistory.com/37

 

 

오늘의 회고

 

새벽 5시반 기상 

6시반 출발 

7시 45분 도착 이틀차

이만한 사람들과 일할 일이 더 이상 없지 않을까? 

내가 괜한 자존심을 부리지 않고 성실하게 노력을 하면 괜찮지 않을까

무서워하는 한두명, 다른 사람들이 나를 어떻게 생각할까 걱정할 시간에 집중을 하면 어떨까?