Closed
Bug 1015673
Opened 10 years ago
Closed 10 years ago
discovery.com sends desktop site to Firefox OS, vides do not play
Categories
(Web Compatibility :: Site Reports, defect)
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
Reporter | ||
Updated•10 years ago
|
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
Reporter | ||
Comment 1•10 years ago
|
||
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]
Assignee | ||
Comment 2•10 years ago
|
||
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]
Comment 3•10 years ago
|
||
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
Assignee | ||
Comment 4•10 years ago
|
||
Hi Carl thanks for the info. That's great to hear, looking forward to the responsive design. :)
Comment 5•10 years ago
|
||
This is fixed. Thanks Adam.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 6•10 years ago
|
||
The sniffing is fixed. Video still doesn't show up.
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 7•10 years ago
|
||
(The video issue is being analyzed in bug 1121921)
See Also: → 1121921
Updated•6 years ago
|
Product: Tech Evangelism → Web Compatibility
Updated•8 months ago
|
Component: Mobile → Site Reports
You need to log in
before you can comment on or make changes to this bug.
Description
•