Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要 api 在 javascript 中查找屏幕分辨率,然后将其传递给 html5 视频播放器。我试过 //document.write(screen.width+'x'+screen.height); 但它不适合我。