webcompat / web-bugs

A place to report bugs on websites.
https://webcompat.com
Mozilla Public License 2.0
742 stars 65 forks source link

video.repubblica.it - Video do not load at all, no error messages #742

Closed webcompat-bot closed 9 years ago

webcompat-bot commented 9 years ago

URL: video.repubblica.it Browser / Version: Firefox Android 36 Operating System: Android 4.4 Problem type: Looks like the website has a bug. Site owner: No

Steps to Reproduce 1) Navigate to: video.repubblica.it 2) open a video

jovanamozilla commented 9 years ago

Able to reproduce the bug on Android 4.1.1, Firefox Mobile 36.0.

karlcow commented 9 years ago

with Firefox Desktop and Firefox Android UA. Testing http://m.repubblica.it/mobile/r/repubblicatv/mondo/russia-la-tv-russa-mostra-le-possibili-immagini-dell-assassinio-di-nemtsov/193499/192482?ref=m|home|video|pos_2

We get into the console:

10:54:51.773 "Webtrekk - autorun" config_webtrekk_01.cache.php:4
10:54:51.773 "WebTrekk - Setting configuration pageConfig" config_webtrekk_01.cache.php:4
10:54:51.773 Object { linkTrack: "", heatmap: "0", form: "0", contentId: "http://m.repubblica.it/mobile/r/repubblicatv/mondo/russia-la-tv-russa-mostra-le-possibili-immagini-dell-assassinio-di-nemtsov/193499/192482" } config_webtrekk_01.cache.php:4
10:54:51.773 "WebTrekk - Initalizing webtrekk" config_webtrekk_01.cache.php:4
10:54:51.774 "WebTrekk - Create new webtrekk istance" config_webtrekk_01.cache.php:4
10:54:51.774 "WebTrekk - Setting configuration contentGroup" config_webtrekk_01.cache.php:4
10:54:51.774 Object { 1: "repubblica", 2: "repubblica - mobile", 3: "repubblica - mobile - multimedia", 4: "repubblica - mobile - multimedia - video" } config_webtrekk_01.cache.php:4
10:54:51.774 "WebTrekk - Setting configuration customParameter" config_webtrekk_01.cache.php:4
10:54:51.775 Object { 1: "dettaglio_video", 2: "m|home|video|pos_2", 3: "mrepubblica.it/Video", 4: "no-refresh", 8: "m.repubblica.it", 9: "wifi", 10: "non loggato", 11: "free", 18: "lun", 19: "10" } config_webtrekk_01.cache.php:4
10:54:51.775 "WebTrekk - Setting configuration customSessionParameter" config_webtrekk_01.cache.php:4
10:54:51.775 "WebTrekk - Sending info" config_webtrekk_01.cache.php:4
10:54:51.778 "WebTrekk - Info Sent" config_webtrekk_01.cache.php:4
10:54:52.398 "GeleSocial.init" config_01.cache.php:428
10:54:53.357 "Gigya initialized" config_01.cache.php:432
10:54:53.684 Object { nickname: "", photoURL: "", thumbnailURL: "", birthDay: "", birthMonth: "", birthYear: "", gender: "", email: "", proxiedEmail: "", country: "", 23 more… } config_01.cache.php:453
10:54:56.592 "指定されたURLは、アプリケーションの設定で許可されていません。: 指定されたURLの中にアプリの設定で認められないものが含まれています。ウェブサイトまたはキャンバスのURLと一致しているか、ドメインがアプリのドメインのサブドメインである必要があります。" ping:1
10:54:57.091 The page was reloaded, because the character encoding declaration of the HTML document was not found when prescanning the first 1024 bytes of the file. The encoding declaration needs to be moved to be within the first 1024 bytes of the file. 192482:16
10:54:59.350 TypeError: /Android ([\.\_\d]+)/.exec(...) is null config_rrtv_08.cache.php:279
10:54:59.337 "Webtrekk - not autorun" config_webtrekk_01.cache.php:4
10:55:00.248 TypeError: Player_Config is undefined config_rrtv_08.cache.php:15
10:55:00.249 An unbalanced tree was written using document.write() causing data from the network to be reparsed. For more information https://developer.mozilla.org/en/Optimizing_Your_Pages_for_Speculative_Parsing 192482:78
10:55:00.250 TypeError: PlayerFactory is undefined 192482:118
10:55:00.413 Error: Permission denied to access property 'toString' config_rrtv_08.cache.php:7

The TypeError: /Android ([\.\_\d]+)/.exec(...) is null is fishy.

Trying with a Firefox Android fake UA containing an Android version number.

This time the placeholder for the video is being displayed. The console has more extensive logging. There are also two arrows for the play button.

10:57:16.408 "Webtrekk - autorun" config_webtrekk_01.cache.php:4
10:57:16.408 "WebTrekk - Setting configuration pageConfig" config_webtrekk_01.cache.php:4
10:57:16.408 Object { linkTrack: "", heatmap: "0", form: "0", contentId: "http://m.repubblica.it/mobile/r/repubblicatv/mondo/russia-la-tv-russa-mostra-le-possibili-immagini-dell-assassinio-di-nemtsov/193499/192482" } config_webtrekk_01.cache.php:4
10:57:16.408 "WebTrekk - Initalizing webtrekk" config_webtrekk_01.cache.php:4
10:57:16.409 "WebTrekk - Create new webtrekk istance" config_webtrekk_01.cache.php:4
10:57:16.409 "WebTrekk - Setting configuration contentGroup" config_webtrekk_01.cache.php:4
10:57:16.409 Object { 1: "repubblica", 2: "repubblica - mobile", 3: "repubblica - mobile - multimedia", 4: "repubblica - mobile - multimedia - video" } config_webtrekk_01.cache.php:4
10:57:16.409 "WebTrekk - Setting configuration customParameter" config_webtrekk_01.cache.php:4
10:57:16.410 Object { 1: "dettaglio_video", 2: "m|home|video|pos_2", 3: "mrepubblica.it/Video", 4: "no-refresh", 8: "m.repubblica.it", 9: "wifi", 10: "non loggato", 11: "free", 18: "lun", 19: "10" } config_webtrekk_01.cache.php:4
10:57:16.410 "WebTrekk - Setting configuration customSessionParameter" config_webtrekk_01.cache.php:4
10:57:16.410 "WebTrekk - Sending info" config_webtrekk_01.cache.php:4
10:57:16.413 "WebTrekk - Info Sent" config_webtrekk_01.cache.php:4
10:57:17.314 "GeleSocial.init" config_01.cache.php:428
10:57:18.696 "Gigya initialized" config_01.cache.php:432
10:57:18.699 Object { nickname: "", photoURL: "", thumbnailURL: "", birthDay: "", birthMonth: "", birthYear: "", gender: "", email: "", proxiedEmail: "", country: "", 23 more… } config_01.cache.php:453
10:57:19.308 "指定されたURLは、アプリケーションの設定で許可されていません。: 指定されたURLの中にアプリの設定で認められないものが含まれています。ウェブサイトまたはキャンバスのURLと一致しているか、ドメインがアプリのドメインのサブドメインである必要があります。" ping:1
10:57:19.736 The page was reloaded, because the character encoding declaration of the HTML document was not found when prescanning the first 1024 bytes of the file. The encoding declaration needs to be moved to be within the first 1024 bytes of the file. 192482:16
10:57:20.576 "Webtrekk - not autorun" config_webtrekk_01.cache.php:4
10:57:20.634 An unbalanced tree was written using document.write() causing data from the network to be reparsed. For more information https://developer.mozilla.org/en/Optimizing_Your_Pages_for_Speculative_Parsing 192482:78
10:57:20.638 "WebTrekkVideo - contructor" config_webtrekk_01.cache.php:4
10:57:20.638 "WebTrekkVideo - categories:repubblica,repubblicatv,mondo,," config_webtrekk_01.cache.php:4
10:57:20.638 "WebTrekkVideo - new contructor" config_webtrekk_01.cache.php:4
10:57:20.640 "WebTrekkVideo - init called" config_webtrekk_01.cache.php:4
10:57:20.640 "WebTrekkVideo - init - {trackDomain: gruppoespresso01.webtrekk.net,trackId: 253822047730481}" config_webtrekk_01.cache.php:4
10:57:20.640 "WebTrekkVideo - this._init(): true" config_webtrekk_01.cache.php:4
10:57:20.640 "WebTrekkVideo - this.categories: repubblica,repubblicatv,mondo,," config_webtrekk_01.cache.php:4
10:57:20.641 "WebTrekkVideo - categoriesString: mg1=repubblica;mg2=repubblicatv;mg3=mondo;mg4=;mg5=" config_webtrekk_01.cache.php:4
10:57:20.641 "WebTrekkVideo - sending - init" config_webtrekk_01.cache.php:4
10:57:20.641 "WebTrekkVideo - send - {title: Russia: la tv russa mostra le possibili immagini dellassassinio di Nemtsov (193499-192482),action: init,secondsPostion: 0,secondsDuration: 24.32,categoriesString: mg1=repubblica;mg2=repubblicatv;mg3=mondo;mg4=;mg5=,this.bandwidth: 0,volume: 1,mute: 1}" config_webtrekk_01.cache.php:4
10:57:20.642 "GENERIC EVENT: video.url.m.repubblica.it/mobile/r/repubblicatv/mondo/russia-la-tv-russa-mostra-le-possibili-immagini-dell-assassinio-di-nemtsov/193499/192482" config_rrtv_08.cache.php:380
10:57:20.642 "WebTrekkVideo - generic called" config_webtrekk_01.cache.php:4
10:57:20.642 "WebTrekkVideo - this._init(): true" config_webtrekk_01.cache.php:4
10:57:20.642 "WebTrekkVideo - this.categories: repubblica,repubblicatv,mondo,," config_webtrekk_01.cache.php:4
10:57:20.642 "WebTrekkVideo - categoriesString: mg1=repubblica;mg2=repubblicatv;mg3=mondo;mg4=;mg5=" config_webtrekk_01.cache.php:4
10:57:20.642 "WebTrekkVideo - sending - video.url.m.repubblica.it/mobile/r/repubblicatv/mondo/russia-la-tv-russa-mostra-le-possibili-immagini-dell-assassinio-di-nemtsov/193499/192482" config_webtrekk_01.cache.php:4
10:57:20.642 "WebTrekkVideo - send - {title: Russia: la tv russa mostra le possibili immagini dellassassinio di Nemtsov (193499-192482),action: video.url.m.repubblica.it/mobile/r/repubblicatv/mondo/russia-la-tv-russa-mostra-le-possibili-immagini-dell-assassinio-di-nemtsov/193499/192482,secondsPostion: 0,secondsDuration: 24.32,categoriesString: mg1=repubblica;mg2=repubblicatv;mg3=mondo;mg4=;mg5=,this.bandwidth: 0,volume: undefined,mute: undefined}" config_webtrekk_01.cache.php:4
10:57:20.642 "GENERIC EVENT: video.landing.embed" config_rrtv_08.cache.php:380
10:57:20.642 "WebTrekkVideo - generic called" config_webtrekk_01.cache.php:4
10:57:20.642 "WebTrekkVideo - this._init(): true" config_webtrekk_01.cache.php:4
10:57:20.642 "WebTrekkVideo - this.categories: repubblica,repubblicatv,mondo,," config_webtrekk_01.cache.php:4
10:57:20.642 "WebTrekkVideo - categoriesString: mg1=repubblica;mg2=repubblicatv;mg3=mondo;mg4=;mg5=" config_webtrekk_01.cache.php:4
10:57:20.642 "WebTrekkVideo - sending - video.landing.embed" config_webtrekk_01.cache.php:4
10:57:20.643 "WebTrekkVideo - send - {title: Russia: la tv russa mostra le possibili immagini dellassassinio di Nemtsov (193499-192482),action: video.landing.embed,secondsPostion: 0,secondsDuration: 24.32,categoriesString: mg1=repubblica;mg2=repubblicatv;mg3=mondo;mg4=;mg5=,this.bandwidth: 0,volume: undefined,mute: undefined}" config_webtrekk_01.cache.php:4
10:57:20.643 "GENERIC EVENT: video.technology.html5" config_rrtv_08.cache.php:380
10:57:20.643 "WebTrekkVideo - generic called" config_webtrekk_01.cache.php:4
10:57:20.643 "WebTrekkVideo - this._init(): true" config_webtrekk_01.cache.php:4
10:57:20.643 "WebTrekkVideo - this.categories: repubblica,repubblicatv,mondo,," config_webtrekk_01.cache.php:4
10:57:20.643 "WebTrekkVideo - categoriesString: mg1=repubblica;mg2=repubblicatv;mg3=mondo;mg4=;mg5=" config_webtrekk_01.cache.php:4
10:57:20.643 "WebTrekkVideo - sending - video.technology.html5" config_webtrekk_01.cache.php:4
10:57:20.643 "WebTrekkVideo - send - {title: Russia: la tv russa mostra le possibili immagini dellassassinio di Nemtsov (193499-192482),action: video.technology.html5,secondsPostion: 0,secondsDuration: 24.32,categoriesString: mg1=repubblica;mg2=repubblicatv;mg3=mondo;mg4=;mg5=,this.bandwidth: 0,volume: undefined,mute: undefined}" config_webtrekk_01.cache.php:4
10:57:20.643 "GENERIC EVENT: video.adblock.false" config_rrtv_08.cache.php:380
10:57:20.643 "WebTrekkVideo - generic called" config_webtrekk_01.cache.php:4
10:57:20.643 "WebTrekkVideo - this._init(): true" config_webtrekk_01.cache.php:4
10:57:20.643 "WebTrekkVideo - this.categories: repubblica,repubblicatv,mondo,," config_webtrekk_01.cache.php:4
10:57:20.644 "WebTrekkVideo - categoriesString: mg1=repubblica;mg2=repubblicatv;mg3=mondo;mg4=;mg5=" config_webtrekk_01.cache.php:4
10:57:20.644 "WebTrekkVideo - sending - video.adblock.false" config_webtrekk_01.cache.php:4
10:57:20.644 "WebTrekkVideo - send - {title: Russia: la tv russa mostra le possibili immagini dellassassinio di Nemtsov (193499-192482),action: video.adblock.false,secondsPostion: 0,secondsDuration: 24.32,categoriesString: mg1=repubblica;mg2=repubblicatv;mg3=mondo;mg4=;mg5=,this.bandwidth: 0,volume: undefined,mute: undefined}" config_webtrekk_01.cache.php:4
10:57:20.644 "GENERIC EVENT: video.pagetype.dettaglio_video" config_rrtv_08.cache.php:380
10:57:20.644 "WebTrekkVideo - generic called" config_webtrekk_01.cache.php:4
10:57:20.644 "WebTrekkVideo - this._init(): true" config_webtrekk_01.cache.php:4
10:57:20.644 "WebTrekkVideo - this.categories: repubblica,repubblicatv,mondo,," config_webtrekk_01.cache.php:4
10:57:20.644 "WebTrekkVideo - categoriesString: mg1=repubblica;mg2=repubblicatv;mg3=mondo;mg4=;mg5=" config_webtrekk_01.cache.php:4
10:57:20.644 "WebTrekkVideo - sending - video.pagetype.dettaglio_video" config_webtrekk_01.cache.php:4
10:57:20.645 "WebTrekkVideo - send - {title: Russia: la tv russa mostra le possibili immagini dellassassinio di Nemtsov (193499-192482),action: video.pagetype.dettaglio_video,secondsPostion: 0,secondsDuration: 24.32,categoriesString: mg1=repubblica;mg2=repubblicatv;mg3=mondo;mg4=;mg5=,this.bandwidth: 0,volume: undefined,mute: undefined}" config_webtrekk_01.cache.php:4
10:57:20.645 "GENERIC EVENT: video.type.ondemand" config_rrtv_08.cache.php:380
10:57:20.645 "WebTrekkVideo - generic called" config_webtrekk_01.cache.php:4
10:57:20.645 "WebTrekkVideo - this._init(): true" config_webtrekk_01.cache.php:4
10:57:20.645 "WebTrekkVideo - this.categories: repubblica,repubblicatv,mondo,," config_webtrekk_01.cache.php:4
10:57:20.645 "WebTrekkVideo - categoriesString: mg1=repubblica;mg2=repubblicatv;mg3=mondo;mg4=;mg5=" config_webtrekk_01.cache.php:4
10:57:20.645 "WebTrekkVideo - sending - video.type.ondemand" config_webtrekk_01.cache.php:4
10:57:20.645 "WebTrekkVideo - send - {title: Russia: la tv russa mostra le possibili immagini dellassassinio di Nemtsov (193499-192482),action: video.type.ondemand,secondsPostion: 0,secondsDuration: 24.32,categoriesString: mg1=repubblica;mg2=repubblicatv;mg3=mondo;mg4=;mg5=,this.bandwidth: 0,volume: undefined,mute: undefined}" config_webtrekk_01.cache.php:4
10:57:20.645 Object { addEventListener: Event_Handler/this.addEventListener(), removeEventListener: Event_Handler/this.removeEventListener(), removeEvent: Event_Handler/this.removeEvent(), removeAllListeners: Event_Handler/this.removeAllListeners(), dispatchEvent: Event_Handler/this.dispatchEvent() } config_rrtv_08.cache.php:371
10:57:20.843 Error: Permission denied to access property 'toString' config_rrtv_08.cache.php:7
10:57:21.280 "GENERIC EVENT: xml_loaded" config_rrtv_08.cache.php:380
10:57:21.280 "WebTrekkVideo - generic called" config_webtrekk_01.cache.php:4
10:57:21.280 "WebTrekkVideo - this._init(): true" config_webtrekk_01.cache.php:4
10:57:21.280 "WebTrekkVideo - this.categories: repubblica,repubblicatv,mondo,," config_webtrekk_01.cache.php:4
10:57:21.280 "WebTrekkVideo - categoriesString: mg1=repubblica;mg2=repubblicatv;mg3=mondo;mg4=;mg5=" config_webtrekk_01.cache.php:4
10:57:21.280 "WebTrekkVideo - sending - xml_loaded" config_webtrekk_01.cache.php:4
10:57:21.280 "WebTrekkVideo - send - {title: Russia: la tv russa mostra le possibili immagini dellassassinio di Nemtsov (193499-192482),action: xml_loaded,secondsPostion: 0,secondsDuration: 24.32,categoriesString: mg1=repubblica;mg2=repubblicatv;mg3=mondo;mg4=;mg5=,this.bandwidth: 0,volume: undefined,mute: undefined}" config_webtrekk_01.cache.php:4
10:57:21.282 "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@" config_rrtv_08.cache.php:129
10:57:21.282 "#ERROR TRAPPED WITH TRY CATCH#" config_rrtv_08.cache.php:129
10:57:21.282 "#592417357#

CONTEXT: " config_rrtv_08.cache.php:129
10:57:21.282 TypeError: elemRoot.attributes.skipafter is undefined
Stack trace:
ManzoniParser.prototype.parse_preroll_tag@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:461:438
ManzoniParser.prototype.parse@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:456:141
AdvParser.prototype.parseXML@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:452:1
AdvLoader.prototype.xmlLoaded@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:440:1239
createDelegate/shim@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:123:72
createDelegate@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:124:8
AdvLoader.prototype.loadXml/this.xmlHttpObject.onreadystatechange</<@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:440:522
 config_rrtv_08.cache.php:129
10:57:21.282 "ManzoniParser.prototype.parse_preroll_tag@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:461:438
ManzoniParser.prototype.parse@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:456:141
AdvParser.prototype.parseXML@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:452:1
AdvLoader.prototype.xmlLoaded@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:440:1239
createDelegate/shim@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:123:72
createDelegate@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:124:8
AdvLoader.prototype.loadXml/this.xmlHttpObject.onreadystatechange</<@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:440:522
" config_rrtv_08.cache.php:129
10:57:21.282 "###############################" config_rrtv_08.cache.php:129
10:57:21.283 "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@" config_rrtv_08.cache.php:129
10:57:21.283 "#ERROR TRAPPED WITH TRY CATCH#" config_rrtv_08.cache.php:129
10:57:21.283 "#77530292#

CONTEXT: " config_rrtv_08.cache.php:129
10:57:21.283 TypeError: elemRoot.getElementsByTagName(...)[0] is undefined
Stack trace:
ManzoniParser.prototype.parse_sponsor_tag@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:467:412
ManzoniParser.prototype.parse@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:457:59
AdvParser.prototype.parseXML@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:452:1
AdvLoader.prototype.xmlLoaded@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:440:1239
createDelegate/shim@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:123:72
createDelegate@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:124:8
AdvLoader.prototype.loadXml/this.xmlHttpObject.onreadystatechange</<@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:440:522
 config_rrtv_08.cache.php:129
10:57:21.283 "ManzoniParser.prototype.parse_sponsor_tag@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:467:412
ManzoniParser.prototype.parse@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:457:59
AdvParser.prototype.parseXML@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:452:1
AdvLoader.prototype.xmlLoaded@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:440:1239
createDelegate/shim@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:123:72
createDelegate@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:124:8
AdvLoader.prototype.loadXml/this.xmlHttpObject.onreadystatechange</<@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:440:522
" config_rrtv_08.cache.php:129
10:57:21.283 "###############################" config_rrtv_08.cache.php:129
10:57:21.283 "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@" config_rrtv_08.cache.php:129
10:57:21.283 "#ERROR TRAPPED WITH TRY CATCH#" config_rrtv_08.cache.php:129
10:57:21.283 "#641588571#

CONTEXT: " config_rrtv_08.cache.php:129
10:57:21.283 TypeError: elemRoot.getElementsByTagName(...)[0] is undefined
Stack trace:
ManzoniParser.prototype.parse_postroll_tag@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:478:488
ManzoniParser.prototype.parse@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:458:60
AdvParser.prototype.parseXML@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:452:1
AdvLoader.prototype.xmlLoaded@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:440:1239
createDelegate/shim@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:123:72
createDelegate@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:124:8
AdvLoader.prototype.loadXml/this.xmlHttpObject.onreadystatechange</<@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:440:522
 config_rrtv_08.cache.php:129
10:57:21.283 "ManzoniParser.prototype.parse_postroll_tag@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:478:488
ManzoniParser.prototype.parse@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:458:60
AdvParser.prototype.parseXML@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:452:1
AdvLoader.prototype.xmlLoaded@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:440:1239
createDelegate/shim@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:123:72
createDelegate@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:124:8
AdvLoader.prototype.loadXml/this.xmlHttpObject.onreadystatechange</<@http://www.repubblica.it/minify/sites/repubblica/video/config_rrtv_08.cache.php?name=rrtv_videoplayer_js:440:522
" config_rrtv_08.cache.php:129
10:57:21.283 "###############################" config_rrtv_08.cache.php:129
10:57:21.283 "GENERIC EVENT: xml_parse_complete" config_rrtv_08.cache.php:380
10:57:21.283 "WebTrekkVideo - generic called" config_webtrekk_01.cache.php:4
10:57:21.283 "WebTrekkVideo - this._init(): true" config_webtrekk_01.cache.php:4
10:57:21.283 "WebTrekkVideo - this.categories: repubblica,repubblicatv,mondo,," config_webtrekk_01.cache.php:4
10:57:21.283 "WebTrekkVideo - categoriesString: mg1=repubblica;mg2=repubblicatv;mg3=mondo;mg4=;mg5=" config_webtrekk_01.cache.php:4
10:57:21.283 "WebTrekkVideo - sending - xml_parse_complete" config_webtrekk_01.cache.php:4
10:57:21.284 "WebTrekkVideo - send - {title: Russia: la tv russa mostra le possibili immagini dellassassinio di Nemtsov (193499-192482),action: xml_parse_complete,secondsPostion: 0,secondsDuration: 24.32,categoriesString: mg1=repubblica;mg2=repubblicatv;mg3=mondo;mg4=;mg5=,this.bandwidth: 0,volume: undefined,mute: undefined}" config_webtrekk_01.cache.php:4

So I guess the initialization requires an Android version number which Firefox Android doesn't have. It probably fails on Firefox OS too.

The script is in rrtv_videoplayer_js

They got a line for Fennec which is not used anymore.

var mobile = /Mobile|mini|Fennec|Android|iP(ad|od|hone)/.test(nVer);

but here at least Mobile is being matched and Android. We get a mobile true. So far so good.

switch (os) {
case 'Mac OS X':
osVersion = /Mac OS X (10[\.\_\d]+)/.exec(nAgt) [1];
break;
case 'Android':
osVersion = /Android ([\.\_\d]+)/.exec(nAgt) [1];
break;
case 'iOS':
osVersion = /OS (\d+)_(\d+)_?(\d+)?/.exec(nVer);
osVersion = osVersion[1] + '.' + osVersion[2] + '.' + (osVersion[3] | 0);
break;
}

with nAgt: "Mozilla/5.0 (Android; Mobile; rv:35.0) Gecko/35.0 Firefox/35.0" osVersion is unknown.

The script has to be modified to take into account Firefox OS and Firefox Android.

@hallvors a suggestion for the best way to fix it?

missic commented 9 years ago

The website is owned by Gruppo Editoriale l'Espresso. Contact information (choose the one you see fit):

espressonline@espressoedit.it (website editorial staff, address taken from http://espresso.repubblica.it/gerenza )

Companysecretary@gruppoespresso.it (contact details in newspaper association website, address taken from http://www.fieg.it/chisiamo.asp?sector=imp_imp&id=056 )

info@keytech.it (credited for the corporate website, may be old, address taken from http://www.gruppoespresso.it/it/service/credits.html )

missic commented 9 years ago

Directly contacted a developer found on LinkedIn

giegi commented 9 years ago

Thank you for the suggestion. I'll fix it on the next week. It should've been better if Firefox Mobile showed Android version number, which is important to determine if the Android device could or couldn't play HLS videos, if the device is able to play a specific kind of adv (older Gingerbread devices open videos in a standalone player, ie., like iphone still does). Almost all the mobile browsers (the most important ones do it) pass the Android version and Firefox is the only one missing of it.

Kind Regards Davide.

missic commented 9 years ago

Hi @giegi, thank you for your reply. I'm not sure I understood what you mean, but Firefox for Android is not capable of playing http live streams directly AFAIK [1], instead it relies on some other application installed on the device. If you want to open the video inside the browser, you should choose another option. This page has links that may be useful: https://developer.mozilla.org/en-US/Apps/Build/Audio_and_video_delivery

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=577084

giegi commented 9 years ago

Hi @missic, This is exactly what I mean. Firefox ain't able to do it. I do not know which video codecs are supported by one specific browser, or if that one will able to play HLS or not. That's the why it is better to rely on the Android Version rather than on a Mobile Flag. It is not useful to write a video tag in page, let people tap to start video, let them see the adv video and then, at the end of the adv.......video not supported......frustrating, don't you agree? The only way to stream live videos on mobile devices is HLS, no other options are available. Starting from 4.2 some Android devices are able to play HLS. WIthout the Android version I cannot determine if the device COULD play the video. It would also be useful to identify Gingerbread devices, because of the reason in my first post. It would be better to have the version number in the UA, as all other mobile browsers do.

miketaylr commented 9 years ago

Hi @giegi. The reason Firefox for Android doesn't include android version tokens in the UA string is because Gecko is updated independently of the operating system. E.g., you can have a modern Gecko running on 2.3 which will support many more web standards than the stock browser.

As for HLS, your'e right we don't support that. However, if you use canPlayType, the browser should be able to tell you that it isn't supported. Depending on the mime type you're serving your m3u8 file, something like videoElm.canPlayType('application/vnd.apple.mpegURL') should work for you.

missic commented 9 years ago

Let's split this issue in two. I understand there is a problem for live streaming, because the alternatives to HLS, ie DASH and MSE, are currently not enabled on Firefox for Android. They may be the future, but right now they don't work. But I've seen this bug (video not loading) even for recorded videos. In this case you don't need HLS, and the source code of the page includes in fact the direct link for the .mp4 video. It is possible to watch these in Firefox for Android (unless there's a bug with blacklisting, stagefright and all) so at least these can work. What do you think @giegi?

giegi commented 9 years ago

No doubt about it. There is a bug. On next week, i think on tuesday, the issue regarding the os/browser detection willl be solved and the ondemand videos (correct, they are mp4) will be playable on Firefox Mobile.

It'll be up to me to update this page once problem will be solved.

Best regards, Davide Caricato

giegi commented 9 years ago

The bug about the Browser Detection has been fixed. Plaese empty your cache before trying it. To reach directly video.repubblica.it follow these steps:

1) go to m.repubblica.it 2) scroll till the end of the page and tap "Homepage Classica", in the bottom right corner. 3) you'll reach the desktop version of Repubblica. On the upper menu just tap the last icon on the right, RepTv. 4) You should land on the desktop version of the video site, video.repubblica.it. Now I can see all the ondemand videos work fine.

There's still a bug on the mobile version of the site with Firefox, sometimes it writes the iframe containing the player too large, but it's not up to me to fix it. I opened a ticket for this and I hope itll be fixed asap.

For what concerns the videos, could you please confirm everything now works?

missic commented 9 years ago

Yes, thanks @giegi, it works well on my side. I only tested with recorded videos, not live streams.

miketaylr commented 9 years ago

Thanks @giegi!