Closed Bug 978820 Opened 6 years ago Closed 2 years ago

tn.com.ar sends desktop site to Firefox OS

Categories

(Web Compatibility :: Mobile, defect, P5)

All
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: gaby2300, Unassigned, Mentored)

References

()

Details

(Whiteboard: [country-ar][serversniff][contactready] [m3u8])

No description provided.
The tn.com.ar site is set up to redirect mobile browsers to their mobile site.

Unfortunately, it does not recognise Firefox OS devices as smartphones. Here's some HTTP traffic analysis that shows how their server-side detection works:

Firefox Android and Safari on iPhone get redirected to http://m.tn.com.ar/, Firefox OS not redirected

Selected HTTP response headers (Firefox OS, Firefox on Android, Safari on iPhone):

Response for: 'Mozilla/5.0 (Mobile; rv:18.1) Gecko/18.1 Firefox/18.1'
Response Status: 200
content-length: 35215
content-type: text/html; charset=utf-8

Response for: 'Mozilla/5.0 (Android; Mobile; rv:26.0) Gecko/26.0 Firefox/26.0'
Response Status: 302
content-length: 182
location: http://m.tn.com.ar/
content-type: text/html; charset=iso-8859-1

Response for: 'Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25'
Response Status: 302
content-length: 182
location: http://m.tn.com.ar/
content-type: text/html; charset=iso-8859-1
Whiteboard: [country-ar] → [country-ar][serversniff][contactready][mentor=hsteen]
This bug is now fully analysed and anyone in the Mozilla community is welcome to reach out (politely! ;)) to tn.com.ar. 

You can use this letter template or tweet:
https://wiki.mozilla.org/Compatibility/StdLetters#Spanish

and also include this URL:
http://webcompat.com/simplebug/?id=978820
to give the site's webmaster a quick overview of the bug.

If you contact the site, please assign the bug to yourself and change "[contactready]" to "[sitewait]" in the box named "Whiteboard" (ask me if you can't change it).

Thank you!
Mentor: hsteen
Whiteboard: [country-ar][serversniff][contactready][mentor=hsteen] → [country-ar][serversniff][contactready]
this is fixed.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
We get a more complex site than the iPhone browser gets - but it's become responsive enough to *almost* work fine. I see a bit of overlapping in the layout when scrolling down. Also video fails to play (uses M3U8 on iPhone, tries to stream rtsp:// protocol data on Firefox OS mobile - no idea what it does on Firefox OS tablet, appears to do nothing at all.)

Gabriela, could you check this site and decide if we should reopen this bug?
Flags: needinfo?(gmontagu)
The desktop site is not very well displayed, some words overlap others and some syllable divisions are not correct. The video fails to play. The site's links open in a similar way.

Note: when I mention desktop site I mean the URL isn't the mobile one starting "m." The displayed site is very similar to the desktop one but it's not exactly the same.
Flags: needinfo?(gmontagu)
OK, thanks. We probably want to look into this a bit more..
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Marking notcontactready pending analysis of two things:
1) Overlapping - if there's a simple CSS fix we can recommend to make the site sufficiently responsive. (We don't necessarily want to demand being redirected to m. if they are working on making their site more responsive anyway)
2) Video - does any version of this site serve content we can play?
Whiteboard: [country-ar][serversniff][contactready] → [country-ar][serversniff][notcontactready] [m3u8]
Status: REOPENED → NEW
The site is the same as before. In portrait mode I still see overlapping and incorrect syllable divisions. Trying to watch a video the system crashed and the phone rebooted from the Firefox OS blue screen. When I got back to the video's site, the page didn't load. Sometimes the site gets stuck so it doesn't scroll up or down. The site's links open in a similar way. In landscape mode I don't see the syllable issue but there's still some overlapping.

Still no "m" in the URL.
Assigning to self to do another technical analysis of these issues. Thanks for re-testing!
Assignee: nobody → hsteen
Status: NEW → ASSIGNED
Retested. I can play videos now. :)

Sometimes the "Compartidas .. Comentarios .. Votos" underneath the ingress of articles is rendered vertically on top of the ingress. This looks more like an issue with CSS floats as it's not consistent for all these elements (I assume they are all styled the same way, so for example a Flexbox CSS problem should affect all of them)
(Sometimes the video was very slow to start)
Still no "m" in the URL.
In portrait mode I still see overlapping and incorrect syllable divisions.
I could watch the videos.
I couldn't watch the live broadcast: a network error caused video download to fail part-way: rtsp://stream.tn.com.ar/live/tnmovil3
Where on the site do you find the live broadcast?
(In reply to Hallvord R. M. Steen [:hallvors] from comment #13)
> Where on the site do you find the live broadcast?

At the top left corner of the site, where it reads "EN VIVO". "En vivo" means live in Spanish.
If you spoof as iPhone you will get the m. version, but the "en vivo" video will still fail because it uses M3U8 playlists.
(In reply to Hallvord R. M. Steen [:hallvors] from comment #15)
> If you spoof as iPhone you will get the m. version, but the "en vivo" video
> will still fail because it uses M3U8 playlists.

I still get the desktop version, even after updating to the v18D base image. 
In portrait mode I still see overlapping and incorrect syllable divisions. Videos are correctly played.
They have obviously been tweaking their desktop site to be more responsive, but in fact the markup is still pretty different between the m.tn.com.ar version (which works fine on Fx OS) and the tn.com.ar version (which Firefox OS gets by default, and has bad layout issues with overlapping headers and items). I think we should contact them again.

The "live" feature now uses rtsp:// on Firefox OS. This works (well, doesn't work) the same way in the desktop version and the m version, so we should ask them to switch regardless of this.
Assignee: hsteen → nobody
Status: ASSIGNED → NEW
Whiteboard: [country-ar][serversniff][notcontactready] [m3u8] → [country-ar][serversniff][contactready] [m3u8]
Priority: -- → P5
Closing as we are not working on Firefox OS anymore.
Status: NEW → RESOLVED
Closed: 5 years ago2 years ago
Resolution: --- → WONTFIX
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.