1

检测浏览器是否支持来自 youtube 的 360 度视频(通过 JS)的最佳解决方案是什么?Youtube 支持团队这样说。有人可以提供如下代码吗

    if(video360supported) {
    // my code
    } else {...}
4

1 回答 1

-1

上面的代码应该可以正常工作,例如:

if(video360support) {
#play video
}else
     print('Sorry your browser doesn't support the video type')

或类似的规定。

于 2016-11-03T19:32:17.340 回答