<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>174257</bug_id>
          
          <creation_ts>2017-07-07 08:23:30 -0700</creation_ts>
          <short_desc>[Gstreamer] Unable to reproduce some SWF content</short_desc>
          <delta_ts>2018-02-09 09:14:26 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Media</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sergio Villar Senin">svillar</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cturner</cc>
    
    <cc>pnormand</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1326493</commentid>
    <comment_count>0</comment_count>
    <who name="Sergio Villar Senin">svillar</who>
    <bug_when>2017-07-07 08:23:30 -0700</bug_when>
    <thetext>* Steps
1- Go to http://www.ondacero.es/directo/eventos/
2- Click on the play button (Note that it&apos;s possible that you don&apos;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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1327988</commentid>
    <comment_count>1</comment_count>
    <who name="Charlie Turner">cturner</who>
    <bug_when>2017-07-12 03:35:21 -0700</bug_when>
    <thetext>Hmm, I inclined to blame this webpage for doing weird things here.

There&apos;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 &apos;this.captionMenu.style&apos;)
	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 &apos;https://cdn.syndication.twimg.com/widgets/followbutton/info.json?screen_names=OndaCero_es&amp;callback=jQuery214025314287082633413_1499854796469&amp;_=1499854796470&apos; because non script MIME types are not allowed when &apos;X-Content-Type: nosniff&apos; 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]&lt;/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
&lt;... large stack trace omitted ...&gt;

Whether we don&apos;t handle the &quot;too much recursion&quot; 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&apos;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&apos;m guessing the resource fetching for the Icecast stream is similarly stuck as this point, leading you to think there&apos;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&apos;re don&apos;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 :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1397961</commentid>
    <comment_count>2</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2018-02-09 09:14:26 -0800</bug_when>
    <thetext>No issue here. Playback actually autostarts fine, the stream played is from an Icecast server.

Please reopen if needed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>