Detect if client allows inline media playback for HTML5 video
问题 Is there a good way to detect if a client browser allows inline media playback for HTML5 video? Update I am not trying to simply detect video support. I am trying to detect if a video can only play fullscreen or also inline. Because on the iPhone safari iOS videos only play in fullscreen, but on iPad videos may be played inline. And by inline I mean in the page without switching to fullscreen. 回答1: In iOS10 you can now have a video play inline if the playsinline attribute is added to the