Bug 174257 - [Gstreamer] Unable to reproduce some SWF content
Summary: [Gstreamer] Unable to reproduce some SWF content
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-07 08:23 PDT by Sergio Villar Senin
Modified: 2018-02-09 09:14 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergio Villar Senin 2017-07-07 08:23:30 PDT
* Steps
1- Go to http://www.ondacero.es/directo/eventos/
2- Click on the play button (Note that it's possible that you don't see it very well due to some rendering artifacts I see sometimes on that page)

* Actual results
The stream is not played

* Expected result
The stream is played

* Misc
Some interesting output in the console
[23129:1] 18 SECURITY: Extensions disabled
[23129:2] 18 UNIMPLEMENTED: This SWF file requires AVM2: there will be no ActionScript interpretation
[23129:2] 18 ERROR: Encountered unknown tag DOABCDEFINE. These usually store creation tool data and do not affect playback
[23129:2] 18 ERROR: Encountered unknown tag SYMBOLCLASS. These usually store creation tool data and do not affect playback
Comment 1 Charlie Turner 2017-07-12 03:35:21 PDT
Hmm, I inclined to blame this webpage for doing weird things here.

There's a number of errors in the console inside MiniBrowser, none of which align with the ones you see :)

[Error] TypeError: undefined is not an object (evaluating 'this.captionMenu.style')
	handleControlsChange (Anonymous Script 1 (line 122))
	handleControlsChange
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (spinner.png, line 0)
[Error] Did not load script at 'https://cdn.syndication.twimg.com/widgets/followbutton/info.json?screen_names=OndaCero_es&callback=jQuery214025314287082633413_1499854796469&_=1499854796470' because non script MIME types are not allowed when 'X-Content-Type: nosniff' is given.

The Firefox console gives even more worrisome messages:

11:15:26.480 VIDEOJS: ERROR: InternalError: too much recursion
Stack trace:
[object Object] 1 mod2.min.js:18:12560
	h http://cdnjs.atresmedia.com/ondacero-js/latest/mod2.min.js:18:12560
	[147]</d.error http://cdnjs.atresmedia.com/ondacero-js/latest/mod2.min.js:18:12727
	f/d.dispatcher http://cdnjs.atresmedia.com/ondacero-js/latest/mod2.min.js:18:8164
	h http://cdnjs.atresmedia.com/ondacero-js/latest/mod2.min.js:18:8803
<... large stack trace omitted ...>

Whether we don't handle the "too much recursion" stuff in the same way as Firefox, and subsequently get stuck for a while and go off into the weeds, I have no idea.

Regardless, what I've noticed is this,

 - On first load of http://www.ondacero.es/directo/eventos/ we often seem to get blocked indefinitely. The entire page is unresponsive and never finishes loading (probably that unbounded recursion). I'm guessing the resource fetching for the Icecast stream is similarly stuck as this point, leading you to think there's media playback issues. I blame the webpage for this.
 - If you stop the webpage loading at this point (I click the stop sign in MiniBrowser), the playback starts. (This step is nondeterministic, I continue to blame the webpage)
 - If you click the big play button at the top of the page (you have to make the screen bigger to see it probably, it only appears after a certain screen width ...), a popup window appears in which the stream plays fine. 
 - If you navigate directly to  http://www.ondacero.es/directo/ the stream plays fine. In addition, we're don't get the unbounded recursion here on this page.


My gut feel is that this should be triaged to a JavaScript issue, and handled however Firefox recovers from this. Or just tell the site authors to fix their webpage :)
Comment 2 Philippe Normand 2018-02-09 09:14:26 PST
No issue here. Playback actually autostarts fine, the stream played is from an Icecast server.

Please reopen if needed.