Closed Bug 1015673 Opened 6 years ago Closed 5 years ago

discovery.com sends desktop site to Firefox OS, vides do not play

Categories

(Web Compatibility :: Mobile, defect)

Other
Gonk (Firefox OS)
defect
Not set

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: hsteen, Assigned: adamopenweb)

References

()

Details

(Whiteboard: [mobile-compat-form][country-us][clientsniff][sitewait][video])

Site: http://dsc.discovery.com
dsc.discovery.com sends desktop site to Firefox OS, vides do not play

:: Steps To Reproduce

The desktop site doesn't play video on mobile phones (I assume it uses Flash or something like that) while the mobile site does work fine in Firefox on Android. 

The discovery.com team should review their browser detection and make sure Firefox OS gets the same version of the site as Firefox on Android does.

:: Expected Result

mobile content and video

:: Actual Result

Desktop site

:: Additional Information

Software Version: 1.3
Reporter's User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0
Summary: dsc.discovery.com sends desktop site to Firefox OS, vides do not play → discovery.com sends desktop site to Firefox OS, vides do not play
Their browser detection happens in this JavaScript:

<script> 
    var mobile = (/iphone|ipod|android|blackberry|opera mini|opera mobi|skyfire|maemo|windows phone|palm|iemobile|symbian|symbianos|fennec/i.test(navigator.userAgent.toLowerCase()));    
    if (mobile) {var userAgent = navigator.userAgent.toLowerCase();if ((userAgent.search("android") > -1) && (userAgent.search("mobile") > -1) || (userAgent.search("blackberry") > -1) || (userAgent.search("iphone") > -1) || (userAgent.search("ipod") > -1))            if (window.location.search.indexOf('mobile=false') > -1) {document.cookie = 'disableDSCMobile=true;path=/;max-age='+60*60*24*3+';';}else {if (document.cookie.indexOf('disableDSCMobile=true') < 0) {setTimeout(function(){window.location.replace('http://m.discovery.com?mobile=true');},100);}}}
</script>
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [mobile-compat-form] → [mobile-compat-form][country-us][clientsniff][contactready][video]
Let's try reaching out to Cory Key "Interactive Creative Director at Discovery Communications" by email.

http://www.linkedin.com/in/corykey
Assignee: nobody → astevenson
Status: NEW → ASSIGNED
Whiteboard: [mobile-compat-form][country-us][clientsniff][contactready][video] → [mobile-compat-form][country-us][clientsniff][sitewait][video]
The reported behavior is expected. Site updates can be expected within the next quarter providing users with a responsive experience.

http://www.linkedin.com/in/carllewin
Hi Carl thanks for the info. That's great to hear, looking forward to the responsive design. :)
This is fixed. Thanks Adam.
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
The sniffing is fixed. Video still doesn't show up.
Status: RESOLVED → VERIFIED
(The video issue is being analyzed in bug 1121921)
See Also: → 1121921
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.