Skip to content

allowFullScreen not working? #7018

Closed
Closed

Description

@caub

it seems that it's not possible to pass this attribute like in #2041

test script: https://jsfiddle.net/crl/4p2orbuw/7

note; is camelCase only for attribute names with an hyphen? it would be clearer if so

Activity

  1. simonkberg commented on Jun 11, 2016

    @simonkberg

    allowFullScreen is the correct casing and the only variant that will work, just like in your example.

    Correctly adds allowfullscreen to DOM node: https://jsfiddle.net/4p2orbuw/9/
    Does not add allowfullscreen to DOM node: https://jsfiddle.net/4p2orbuw/10/
    Docs: https://facebook.github.io/react/docs/tags-and-attributes.html#html-attributes

    But maybe I misunderstand you?

    Note: you can't test the actual fullscreen button in jsfiddle as the result is displayed inside a sandboxed iframe that doesn't allow fullscreen control.

  2. caub commented on Jun 11, 2016

    @caub
    Author

    Sorry, it's working, I made an error earlier

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions