What needs to be done to make multiple screen support for Javascript happen?

前端 未结 1 925
一个人的身影
一个人的身影 2020-12-07 04:40

As I was wondering about the multi-monitor/screen support of javascript i found the follwing stackexchange questions relevant for the topic:

  • 2013 - 40k views:
相关标签:
1条回答
  • 2020-12-07 05:28

    Since Version 66 of Chrome it is possible to use the Presentation API There is a W3C Draft for it since 2019-04

    The Example at

    • https://googlechrome.github.io/samples/presentation-api/

    will work in Chrome 66+ and given an error message

    ReferenceError: PresentationRequest is not defined (Your browser may not support this feature.)
    

    for other browsers when clicking presentationRequest.start(). On Chrome 66+ a selection dialog appears

    and after picking the desired screen is used in full screen mode.

    0 讨论(0)
提交回复
热议问题