question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"webkit-playsinline" attribute in JSX is not supported

See original GitHub issue

Hi, the ‘webkit-playsinline’ in JSX will be ignored. Is there any solution to solve this problem?

<video webkit-playsinline controls src='foo' poster='bar' style={ videoStyle }></video>

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:15 (1 by maintainers)

github_iconTop GitHub Comments

6reactions
gztchancommented, Sep 28, 2016

v15.3.0 supports playsInline 😄

1reaction
awearycommented, Dec 13, 2016

@marktani looks like an error with your type system, not React. If you’re using flow, then it looks like the included DOM lib doesn’t have playsInline on HTMLVideoElement

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTML5 video not working on iphone with react jsx
I have a react application where i am using html5 video tag to show a cover video. It works on ipad, android and...
Read more >
Autoplay muted HTML5 video using React on mobile (Safari ...
To be able to play inline, webkit requires you to pass playsinline attribute to allow a muted video to autoplay without requiring fullscreen....
Read more >
WebView - React Native
Defaults to GET if not specified. On Android, the only supported methods are GET and POST. headers (object) - Additional HTTP headers to...
Read more >
What Does `playsinline` Mean in Web Video? | CSS-Tricks
The answer actually is quite clear and I feel a little silly for not knowing it. With it in place, like this: <video...
Read more >
New <video> Policies for iOS - WebKit
On iPhone, <video playsinline> elements will now be allowed to play inline, and will not automatically enter fullscreen mode when playback ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found