mobile forwarding not working
I posted this once, but somehow I closed it by accident and it's marked as resolved.
Anyway, no mobile browsers would redirect to /mobile during my 7:05 pm CST service on 02/22. The iOS video is the only huge concern with this, but it is still a bummer. I put a userAgent detection script in each of my video embed areas as a workaround until everything is taken care of.
Has anyone else had this issue?
Comments are currently closed for this discussion. You can start a new one.
2 Posted by phil on 23 Feb, 2012 02:57 PM
Yes! I had this same problem last night. I had everyone type /mobile in their URL to get to our stream. Huge problem
3 Posted by Eric on 23 Feb, 2012 07:06 PM
I haven't heard back about this yet, but I can tell you that placing a userAgent detection script in the video embed boxes will kick the user to the /mobile site. You don't need to use and if / else, just put the close script tag before your actual embed.
4 Posted by phil on 23 Feb, 2012 07:25 PM
I don't know how to use that script. Can I get the code?
5 Posted by Eric on 23 Feb, 2012 08:27 PM
@phil
I tried to post a text file, but it didn't work. Put this code in your pre-event and event embed boxes BEFORE your actual embed code. Replace YOURDOMAIN with your actual domain.
http://YOURDOMAIN/mobile
6 Posted by Eric on 23 Feb, 2012 08:30 PM
Ha ha! That didn't work! It parsed my code and dropped the redirect URL in there.
Go here:
http://www.enjoychurch.info/misc/mobile_redirect.txt
The one downside of this method is that the iPad goes there, but short of writing a crazy conditional script to stay on the full site as an iPad but load the HLS embed is just too much!
I hope this helps!
7 Posted by phil on 23 Feb, 2012 08:34 PM
Haha. Thanks Eric. The script shows up fine in the email though
Support Staff 8 Posted by Alex Tran on 23 Feb, 2012 09:24 PM
Hey guys, yeah, we realize something went bonkers with the mobile detection. We will be pushing a fix here in the next couple hours (max).
9 Posted by phil on 26 Feb, 2012 04:48 PM
been working great
10 Posted by Eric on 26 Feb, 2012 05:07 PM
I never took the code I dropped in the video embed box back out to see if it was working or not. I had forgotten all about it!
Everyone seems to like the new format. The ChurchOnline platform looks fantastic, and the functionality is way better than what I was doing before. Fantastic job by all those involved.
Alex Tran closed this discussion on 27 Feb, 2012 07:57 PM.