Closed acasorran closed 6 years ago
On the latest release it should work fine... what kind of issue you have?
I run 3.2.2 version, but, its no possible to have fullscreen if 'useOnMobile' is set to true.
YTPlayer.opt.realfullscreen = isIframe() || YTPlayer.opt.useOnMobile ? false : YTPlayer.opt.realfullscreen;
There are two ways to set the full screen: one is using the browser full screen api that let you use the all screen size never mind the browser window size is (that is in the code the realfullscreen); the other way is to set the player size as big as the browser window is. This second modality is the one adopted for mobiles as you don’t have the capability for the other one.
Il giorno mar 12 giu 2018 alle 10:11 Alejandro notifications@github.com ha scritto:
I run 3.2.2 version, but, its no possible to have fullscreen if 'useOnMobile' is set to true.
YTPlayer.opt.realfullscreen = isIframe() || YTPlayer.opt.useOnMobile ? false : YTPlayer.opt.realfullscreen;
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/pupunzi/jquery.mb.YTPlayer/issues/365#issuecomment-396504578, or mute the thread https://github.com/notifications/unsubscribe-auth/AADdU9tnBuvCJLuwnnuzOjYlo1JiTHorks5t73eugaJpZM4Uijn1 .
--
█
matteo bicocchiart director open lab s.r.l.
via venezia 18b 50121 firenze italia t. +39 055 5522779
pupunzi website http://pupunzi.com/ pupunzi blog http://pupunzi.open-lab.com/ http://pupunzi.open-lab.com/ open Lab website http://open-lab.com/ twproject website http://twproject.com/
█
Ok, thank you for de info, I'll handle with an isMobile() function.
When goes to full screen on iOS (11.4) safari, something it's wrong.