Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

www.wsj.com - Unable to play video in Firefox for Android #645

Closed
snorp opened this issue Jan 26, 2015 · 7 comments
Closed

www.wsj.com - Unable to play video in Firefox for Android #645

snorp opened this issue Jan 26, 2015 · 7 comments
Milestone

Comments

@snorp
Copy link

snorp commented Jan 26, 2015

URL: http://www.wsj.com/articles/obamas-appearance-at-indias-republic-day-sends-message-to-china-1422245039
Browser / Version: Firefox 38.0
Operating System: Android
Problem type: Looks like the website has a bug.
Site owner: No

Steps to Reproduce

  1. Navigate to: http://www.wsj.com/articles/obamas-appearance-at-indias-republic-day-sends-message-to-china-1422245039
  2. Try to play the video
  3. Observe a message stating my browser does not support HTML5 video

Expected Behavior: Play the video
Actual Behavior: Error

It looks like WSJ is doing some user agent sniffing here. If I view the page with the Fennec UA in desktop I am able to get the same message.

@karlcow
Copy link
Member

karlcow commented Jan 27, 2015

that seems to be a duplicate of https://bugzilla.mozilla.org/show_bug.cgi?id=1125892

@hallvors
Copy link

Indeed same issue as bug 1125892.

            var ua = navigator.userAgent.toLowerCase();
            var is_firefox = navigator.userAgent.toLowerCase().indexOf('firefox') > -1;
            var isIpad = ua.match(/(ipad|iphone|ipod)/i);
            var isAndroid = ua.match(/(android)/i);
            var canPlay =  false;
            if ( isIpad || (ua.match(/(android)/i) && parseFloat(ua.slice(ua.indexOf("android")+8)) >= 4.0)){
              settings.disableHtmlControls = true;
              canPlay = true;
            }

I guess we can close the bugzilla one and keep this one open..

@karlcow
Copy link
Member

karlcow commented Feb 2, 2015

Maybe @MALRMALR can help. He doesn't seem to work directly on WSJ site, but maybe he can put us in contact with the right persons.
https://www.linkedin.com/in/michaelalross

@MALRMALR
Copy link

MALRMALR commented Feb 2, 2015

@karlcow is correct, I do not work directly on the WSJ site, but might be able to identify someone you could speak to concerning this issue. However, before I do, I was able to successfully view this video on firefox for android (Nexus 6 running Lollipop). Are you still seeing this issue?

@snorp
Copy link
Author

snorp commented Feb 2, 2015

Yup, working here now too. Guess they fixed it, woo!

@snorp snorp closed this as completed Feb 2, 2015
@karlcow
Copy link
Member

karlcow commented Feb 3, 2015

Very cool. Thanks to both of you.

@karlcow
Copy link
Member

karlcow commented Jul 20, 2016

fixed.

@karlcow karlcow added this to the fixed milestone Oct 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants