Code Monkey home page Code Monkey logo

Comments (10)

LonelyCpp avatar LonelyCpp commented on May 20, 2024 1

@pelaxa overlays on the player is not allowed by youtube's ToS. The app will definitely not pass the android store review if detected.

a more native web way would be the ideal solution (similar to chrome)

however you can try your implementation on top of this pacakge and report if it works, as a proof of concept. (others might find it helpful incase they are not planning to put it on the play/app store)

from react-native-youtube-iframe.

triniwiz avatar triniwiz commented on May 20, 2024

Dropping this gem for you it should help you

from react-native-youtube-iframe.

anisfrontmen avatar anisfrontmen commented on May 20, 2024

what is the status of this?

from react-native-youtube-iframe.

braincore avatar braincore commented on May 20, 2024

@LonelyCpp Any progress here? Do you know of any other valid approach besides hooking into iOS fullscreen APIs (seen this in the other youtube & video libs)?

from react-native-youtube-iframe.

LonelyCpp avatar LonelyCpp commented on May 20, 2024

Haven't found any solutions yet :(

Since expo support is critical, native code is not an option

from react-native-youtube-iframe.

fhugoduarte avatar fhugoduarte commented on May 20, 2024

Hi @LonelyCpp
Any solution? I'm using bare workflow.

from react-native-youtube-iframe.

microooji avatar microooji commented on May 20, 2024

Hi @LonelyCpp! Any progress here?

from react-native-youtube-iframe.

SamiJazmati avatar SamiJazmati commented on May 20, 2024

@LonelyCpp I found this recent comment here https://bugs.webkit.org/show_bug.cgi?id=174626

webkitfullscreenchange is dispatched on element fullscreen, not on video fullscreen.

For video fullscreen we dispatch:
webkitbeginfullscreenEvent / webkitendfullscreenEvent

However, when using the new element fullscreen, you should now see webkitfullscreenchange, but not webkitpresentationmodechanged or webkitbeginfullscreenEvent

from react-native-youtube-iframe.

pelaxa avatar pelaxa commented on May 20, 2024

An alternative may be to not use the player controls but instead use an overlay for controls which would allow you to detect the orientation. This will also allow further customization of the player for some use cases.

from react-native-youtube-iframe.

pelaxa avatar pelaxa commented on May 20, 2024

Thanks for pointing this out. I did find them here: https://developers.google.com/youtube/terms/required-minimum-functionality#overlays-and-frames

from react-native-youtube-iframe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.