Giter Site home page Giter Site logo

Comments (16)

Anislav avatar Anislav commented on July 16, 2024

One way the problem can be fixed is by adding the following CSS:

    body { margin: 0; width:100%%; height:100%%; }
    html { width:100%%; height:100%%; }

to Assets / YTPlayerView-iframe-player.html file.

from youtube-ios-player-helper.

sojitrajay avatar sojitrajay commented on July 16, 2024

It's working properly, Good Solution!!! πŸ‘

from youtube-ios-player-helper.

guillaumervls avatar guillaumervls commented on July 16, 2024

πŸ‘ Thanks !

from youtube-ios-player-helper.

lephukhanhhuy avatar lephukhanhhuy commented on July 16, 2024

πŸ‘ Thank @Anislav

from youtube-ios-player-helper.

 avatar commented on July 16, 2024

Great! Finally I got to fix this issue

from youtube-ios-player-helper.

attiq-khan avatar attiq-khan commented on July 16, 2024

Thanks :)

from youtube-ios-player-helper.

amacymind avatar amacymind commented on July 16, 2024

anyone check it in ios6? In ios 6, After video playback start its goes to full screen then after press Done button for normal screen, so that video view goes down continuously.

from youtube-ios-player-helper.

banaslee avatar banaslee commented on July 16, 2024

I'd suggest you try my fork, it uses a different approach to this problem. I was using it on iOS 6 and didn't find any problem.

from youtube-ios-player-helper.

amacymind avatar amacymind commented on July 16, 2024

@banaslee in landscape mode its frame not changed.

from youtube-ios-player-helper.

banaslee avatar banaslee commented on July 16, 2024

Are you saying that when you change the phone's orientation the video doesn't change orientation? Did you have this problem before or are you having it only with my fork?

I'm sorry but I may have not understand your last comment completely.

from youtube-ios-player-helper.

amacymind avatar amacymind commented on July 16, 2024

My app support orientation. So it YTPlayer in landscape mode not resized. Its same as portrait mode.

from youtube-ios-player-helper.

 avatar commented on July 16, 2024

My app support orientation as well and as the screen size change, the
YTPlayerView resize appropriately.

I added the following to the player YTPlayerView-iframe-player.html page -
see if that makes a difference:

<style> body { margin: 0; width:100%%; height:100%%; } html { width:100%%; height:100%%; } </style>

On Tue, Aug 5, 2014 at 4:56 PM, amacymind [email protected] wrote:

My app support orientation. So it YTPlayer in landscape mode not resized.
Its same as portrait mode.

β€”
Reply to this email directly or view it on GitHub
#7 (comment)
.

from youtube-ios-player-helper.

amacymind avatar amacymind commented on July 16, 2024

@asafam are you check this code in ios6? It works in ios7. Try to run this on iphone/ipod as i told previously. YTPlayer goes down when exit from full screen

from youtube-ios-player-helper.

freemansion avatar freemansion commented on July 16, 2024

+1 to iOS 6 playback issue
In iOS 6 when YTPlayer started playing, video content goes down.

from youtube-ios-player-helper.

JV17 avatar JV17 commented on July 16, 2024

Thanks a lot..!!! I was looking for this as well.. Lol I tried with css as well but targeting the div and iframe tags not luck..

from youtube-ios-player-helper.

freemansion avatar freemansion commented on July 16, 2024

@amacymind You previously wrote, that you have issue when video goes down in iOS 6. I had the same issue. @banaslee's fork of youtube iframe player resolves that problem. Thank you FΓ‘bio!

from youtube-ios-player-helper.

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.