Closed Bug 970849 Opened 10 years ago Closed 9 years ago

cnn.com video doesn't play in Firefox OS

Categories

(Web Compatibility :: Site Reports, defect)

Other
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.1 affected)

RESOLVED FIXED
Tracking Status
b2g-v2.1 --- affected

People

(Reporter: hsteen, Assigned: karlcow, Mentored)

References

()

Details

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

Site: http://edition.cnn.com/video/
cnn.com video doesn't play in Firefox OS

:: Steps To Reproduce

Load edition.cnn.com/video/

Rather than showing video, it shows a "needs Flash"-type error. It should send the HTML5-style <video> player to Firefox OS devices, like it does for other smartphones.

:: Expected Result

Video

:: Actual Result

Flash error

:: Additional Information

Software Version: 1.1
Reporter's User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [mobile-compat-form] → [mobile-compat-form][country-all][contactready][video]
Most smartphone devices are detected by client-side JavaScript on the page edition.cnn.com/video/ and redirected to edition.cnn.com/video/standard.html . This would likely work if they simply included Firefox OS devices among the devices they redirect to the standard.html page.

(The script has an amusing error that could be fixed at the same time: all smartphone devices that try to load edition.cnn.com/video without the trailing slash are taken to a 404 Not Found page, namely edition.cnn.com/videostandard.html )
Whiteboard: [mobile-compat-form][country-all][contactready][video] → [mobile-compat-form][country-all][contactready][video][clientsniff]
Whiteboard: [mobile-compat-form][country-all][contactready][video][clientsniff] → [mobile-compat-form][country-all][contactready][video][clientsniff][mentor=astevenson]
Reached out to a contact via Facebook.
Assignee: nobody → astevenson
Status: NEW → ASSIGNED
Whiteboard: [mobile-compat-form][country-all][contactready][video][clientsniff][mentor=astevenson] → [mobile-compat-form][country-all][sitewait][video][clientsniff][mentor=astevenson]
Mentor: astevenson
Whiteboard: [mobile-compat-form][country-all][sitewait][video][clientsniff][mentor=astevenson] → [mobile-compat-form][country-all][sitewait][video][clientsniff]
Contacted someone from CNN today about it.
Assignee: astevenson → kdubost
Blocks: cnn.com
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(dharris)
Whiteboard: [mobile-compat-form][country-all][sitewait][video][clientsniff] → [mobile-compat-form][country-all][sitewait][video][clientsniff][2.1-exploratory-2]
Flags: needinfo?(dharris)
Whiteboard: [mobile-compat-form][country-all][sitewait][video][clientsniff][2.1-exploratory-2] → [mobile-compat-form][country-all][sitewait][video][clientsniff]
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
The redirect target URL - http://edition.cnn.com/video/standard.html - works in Firefox on Android but not quite in Firefox OS. The reason for that is this extra bit of sniffing:

var html5Check = /\b(iPad|iPod|iPhone|Android|Kindle|Silk|Fire)\b/.test(window.navigator.userAgent);
and the fact that it seems to default to a Flash player and only fall back to a HTML5 player when several requirements including user agent sniffing are met .. Which in turn causes this exception:

TypeError: this.getDOMPlayer(...) is undefined
They rolled out a new site, re-test?
Both the pre-roll ad and the video work on my Flame (http://www.cnn.com/videos/tv/2015/01/05/bts-newday-alan-dershowitz-prince-andrew-sex-scandal-allegations.cnn).
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Web Compatibility
Component: Mobile → Site Reports
You need to log in before you can comment on or make changes to this bug.