|
Post by JLS_RBL on Oct 15, 2015 9:32:13 GMT
Is it possible to detect whether a html page is being accessed by a mobile device (ios or android) to allow me to dictate a lower resolution video to play that won't be so critical on a smaller screen, particularly if people are using mobile network that would potentially struggle on playing a higher resolution video.
|
|
|
Post by Hippani on Oct 18, 2015 19:57:15 GMT
Yes. The function is called: IsMobile()
if(IsMobile()){ PlayLowRes.... }else{ PlayHighRes.... }
|
|
|
Post by JLS_RBL on Oct 21, 2015 12:53:01 GMT
Thanks for the reply, just another quick query, are the videos loaded as and when they are required or do they get all preloaded at the start meaning if I have a reference to two videos, one low res and one high res, that they would both be preloaded making the waiting time at the start as you access the webpage extended?
|
|
|
Post by Hippani on Oct 26, 2015 16:51:41 GMT
Mobile phones don't preload anything.
|
|
|
Post by JLS_RBL on Nov 19, 2015 8:45:07 GMT
Seem to be having a slight issue when on mobiles, particularly ios. I have videos auto play which work fine on desktop, but when viewed on mobile the videos seem to show on a popout window that on ios doesn't auto play so the user has to click 'play' on the screen. As I am using the videos as transitions between two images it kinda ruins the flow if the user is prompted to again to play the video. Also I don't seem to be able to auto play a second video using the on end function.
Is there anyway round this issue?
|
|
|
Post by Hippani on Dec 2, 2015 16:47:59 GMT
Nope, there is no way to auto start video or audio on any mobile phone. We've tried.
|
|