mobile-safari

Safari(iOS): Embed YouTube Video Always Plays In Low Quality

杀马特。学长 韩版系。学妹 提交于 2019-12-12 20:51:26
问题 I need to play YouTube Videos with at least 720p resolution on my mobile tv web app, but safari plays them always with the lowest quality, that sucks. I tried a lot of solutions that have been already posted, but they seem to be outdated. e.g. &vq=hd720 , &hd=1 , &vq=hd1080 appending to the embed iframe, unfortunately it's not working. I also tried to do it with the youtube javascript api, what a surprise, no luck either. Any other solutions I could try? The Videos are uploaded in portrait

Which browser have this strange user agent? (IOS device)

試著忘記壹切 提交于 2019-12-12 18:37:53
问题 I recently notice that approximately 17 % of users with ios device have browser with strange user agent. This user agent like the Safari user agent but with slight modification: it does not contain "Safari/XXXX" string. Example: normal user agent of Safari: Mozilla/5.0 (iPad; CPU OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5355d Safari/8536.25 user agent of browser that i talk: Mozilla/5.0 (iPad; CPU OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like

Node.js + socket.io app not working in iphone

岁酱吖の 提交于 2019-12-12 18:14:03
问题 I have an issue with node js + socket io which are not working with iphone safari browser and chrome browser. It's working with desktop browsers as well with android phone browsers. In http case it working well with iphone browsers. The only issue with https case that not working with iphone. Here is my code app.js var fs = require('fs'); var https = require('https'); var express = require('express'); var app = express(); var options = { key: fs.readFileSync('./key.pem'), cert: fs

extjs apps on iphone

廉价感情. 提交于 2019-12-12 15:44:20
问题 This is an extjs single-page application which works fine in FF, IE, and Safari. There are several problems with viewing or using this extjs app in the iphone. The extjs panels/windows do not resize, as it would in a normal screen. When the user zooms out, the expanding viewing area is blanked out. An example image is below: Iphone does not recognize the combo box of the extjs. Unable to scroll down. Viewport Issue: The main issue is with the viewport. It does not scroll or zoom properly in

Safari returns incorrect value for Date toISOString()

核能气质少年 提交于 2019-12-12 14:13:20
问题 When I convert the date string 2019-02-16T10:00:00 into a JS Date object in timezone GMT+0100 (CET) , and then call .toISOString() I expect to get the ISO date/time 2019-12-01T09:10:10.000Z (-1 hour) . However, what I am seeing is: Safari (incorrect): new Date('2019-12-01T10:10:10').toISOString() \\ returns 2019-12-01T10:10:10.000Z Chrome (correct): new Date('2019-12-01T10:10:10').toISOString() \\ returns 2019-12-01T09:10:10.000Z FireFox (correct): new Date('2019-12-01T10:10:10').toISOString(

Check if element is fully visible in overflow scrolling DIV [closed]

别等时光非礼了梦想. 提交于 2019-12-12 13:40:21
问题 This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. Closed 7 years ago . I've created a container with overflow scroll for a list of elements, when click on an element, it would then triggers an event, I'm wondering how can I

how do you prevent page scroll in textarea on mobile safari

你说的曾经没有我的故事 提交于 2019-12-12 13:13:59
问题 I am trying to make a little note pad app for mobile safari for funzies but so far it doesn't seem to be working out. I want to prevent page scrolling so it doesn't have the rubberband and feel like a webapp but to do this I am using: document.ontouchmove = function(e){ alert("calling prevent default"); e.preventDefault(); } This works great except for in textarea where it looks like ontouchmove never gets fired so page scrolling still happens. Has anyone figured out how to change apple's

Shadow DOM on textarea in iOS forces padding

只愿长相守 提交于 2019-12-12 10:49:25
问题 I am experiencing an issue which puzzles me a bit. My reference for this issue is Chrome 32 on Mac and Safari on iOS 7.0.4. In the following example, Chrome renders the text in the .background and textarea elements perfect and on top of each other, this is what I want. Safari on iOS though, offsets the text in the textarea with 3 pixel-units. This happens although padding, border and margin are set to the same values on both elements. When I am debugging in Safari's developer tools, both

Mobile Safari Event Issue

假如想象 提交于 2019-12-12 10:39:44
问题 I have designed a website with a menu that is initially invisible. When the user clicks on a button, the menu becomes visible. There are two ways for the user to hide the now visible menu: Click the button that caused the menu to become visible Click anywhere on the webpage that isn't the menu The way I have coded the second option is to tie an onclick event to the window element, and have it compare where the user clicked to the menu's position to determine if the menu should be hidden. This

Why does my node.js / socket.io app not work on iOS6?

坚强是说给别人听的谎言 提交于 2019-12-12 08:33:02
问题 I thought the whole point of socket.io was to not have to worry about modern browsers? lol Anyway, I am new to socket programming. I have a small app that simply mimics mouse movements. You open several browsers and when you move the mouse, your actions are recorded in the other browsers. It moves a small square. Kinda cool. However, when I open it on my iPad (iOS6) nothing! Sockets isn't connecting. I even put an alert message in the connect event and nothing. Works in IE, FF and Chrome just