<?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>17828</bug_id>
          
          <creation_ts>2008-03-13 10:39:17 -0700</creation_ts>
          <short_desc>WebKit is rendering the video even in a display:none iframe</short_desc>
          <delta_ts>2022-07-01 11:35:04 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Plug-ins</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=107236</see_also>
          <bug_file_loc>http://www.oldeenglish.org/dvd/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="jasneet">jasneet</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>ap</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>eric</cc>
    
    <cc>jamesr</cc>
    
    <cc>jasneet</cc>
    
    <cc>mitz</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>73588</commentid>
    <comment_count>0</comment_count>
    <who name="jasneet">jasneet</who>
    <bug_when>2008-03-13 10:39:17 -0700</bug_when>
    <thetext>I Steps:
Go to 
http://www.oldeenglish.org/dvd/

II Issue:
In Safari: On clicking the video links, the videos are shown in such a way that all the videos are playing in one player.It starts playing the audio content of all the videos on the page concurrently. It should start playing along with the video only when the video link is clicked.

FF: On click of the video link, it closes the previous video that&apos;s open(if any) and opens the new one that&apos;s clicked. So only one video is played at a time and all the others are closed.

IE: On click of the video link, it opens the video without closing or pausing the previous video that&apos;s playing(if any). So, any number of videos can be running at a time. To change the viewing video, click on the link of that video.

III Conclusion:
The problem is that WebKit is rendering the video even though it&apos;s in a display:none iframe. If you put the video in a display:none div, then it doesn&apos;t autoplay. Things that are display:none should not render. This includes iframes.
Therefore WebKit should not render the contents of display:none iframes. This breaks sites that load videos in display:none iframes.

IV Other browsers:
IE7: ok
FF2: ok
Opera: not ok

V Nightly tested: 30881</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73589</commentid>
    <comment_count>1</comment_count>
      <attachid>19732</attachid>
    <who name="jasneet">jasneet</who>
    <bug_when>2008-03-13 10:41:58 -0700</bug_when>
    <thetext>Created attachment 19732
reduction</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73639</commentid>
    <comment_count>2</comment_count>
    <who name="">mitz</who>
    <bug_when>2008-03-13 15:27:29 -0700</bug_when>
    <thetext>On Mac OS X, the non-displaying iframes do not render video (they do play audio, which is fine, I think).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>371826</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-03-22 17:00:44 -0700</bug_when>
    <thetext>Is this still an issue?  I thought that display:none plugins should load and play normally per HTML5?  Or am I remembering incorrectly?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>518515</commentid>
    <comment_count>4</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-12-09 14:25:20 -0800</bug_when>
    <thetext>The reduction doesn&apos;t work, but the original site still has trouble.  This is a spec question I think.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>518553</commentid>
    <comment_count>5</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-12-09 14:55:03 -0800</bug_when>
    <thetext>I was wrong.  This bug is not about &lt;video&gt; but rather a quicktime movie inside an &lt;object&gt; tag:

	&lt;OBJECT classid=&quot;clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B&quot; 
               codebase=&quot;http://www.apple.com/qtactivex/qtplugin.cab&quot; 
               width=&quot;480&quot; height=&quot;375&quot; 
               id=&quot;movie1&quot; &gt; 
        &lt;PARAM name=&quot;src&quot; value=&quot;OldeEnglish.org_-_Breaking_News.mov&quot;&gt; 
        &lt;PARAM name=&quot;autoplay&quot; value=&quot;true&quot;&gt; 
        &lt;EMBED width=&quot;480&quot; height=&quot;375&quot; 
               src=&quot;OldeEnglish.org_-_Breaking_News.mov&quot; 
               TYPE=&quot;video/quicktime&quot;
               PLUGINSPAGE=&quot;www.apple.com/quicktime/download&quot;
               name=&quot;movie1&quot; 
               enablejavascript=&quot;true&quot;
			   autoplay=&quot;true&quot;&gt; 
        &lt;/EMBED&gt; 
	&lt;/OBJECT&gt;

view-source:http://www.oldeenglish.org/dvd/iframe1.html

The site is setting the various iframes to display: none in the main page:

		iframe {
			border: 0px;
			display: none;
			background-color: transparent;
			padding: 0px;
		}

		&lt;div id=&quot;stage&quot;&gt;
			&lt;iframe id=&quot;frame1&quot; src=&quot;iframe1.html&quot; width=&quot;500&quot; height=&quot;400&quot; ALLOWTRANSPARENCY=&quot;true&quot;&gt;&lt;/iframe&gt;
			&lt;iframe id=&quot;frame2&quot; src=&quot;iframe2.html&quot; width=&quot;500&quot; height=&quot;400&quot; ALLOWTRANSPARENCY=&quot;true&quot;&gt;&lt;/iframe&gt;
			&lt;iframe id=&quot;frame3&quot; src=&quot;iframe3.html&quot; width=&quot;500&quot; height=&quot;400&quot; ALLOWTRANSPARENCY=&quot;true&quot;&gt;&lt;/iframe&gt;
			&lt;iframe id=&quot;frame4&quot; src=&quot;iframe4.html&quot; width=&quot;500&quot; height=&quot;400&quot; ALLOWTRANSPARENCY=&quot;true&quot;&gt;&lt;/iframe&gt;
			&lt;iframe id=&quot;frame5&quot; src=&quot;iframe5.html&quot; width=&quot;500&quot; height=&quot;400&quot; ALLOWTRANSPARENCY=&quot;true&quot;&gt;&lt;/iframe&gt;
		&lt;/div&gt;

It appears that other browsers do not play video in an &lt;object&gt; tag when the document containing that &lt;object&gt; tag is not rendered.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1879865</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2022-07-01 11:35:04 -0700</bug_when>
    <thetext>Mass closing plug-in bugs, as plug-in support has been removed from WebKit.

Please comment and/or reopen if this still affects WebKit in some way.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>19732</attachid>
            <date>2008-03-13 10:41:58 -0700</date>
            <delta_ts>2008-03-13 10:41:58 -0700</delta_ts>
            <desc>reduction</desc>
            <filename>player1.htm</filename>
            <type>text/html</type>
            <size>871</size>
            <attacher name="jasneet">jasneet</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMDEgVHJhbnNpdGlvbmFs
Ly9FTiIgImh0dHA6Ly93d3cudzMub3JnL1RSL2h0bWw0L2xvb3NlLmR0ZCI+DQo8aHRtbCBsYW5n
PSJlbiI+DQo8Ym9keT4NCgk8c3R5bGU+CWlmcmFtZSB7ZGlzcGxheTogbm9uZTt9CTwvc3R5bGU+
DQoJPHNjcmlwdD4NCgkJdmFyIGdsb2JhbExhc3RNb3ZpZSA9IDA7DQoJCWZ1bmN0aW9uIHBsYXlN
b3ZpZSAobmV3TW92aWUpew0KCQkJaWYgKGdsb2JhbExhc3RNb3ZpZSkNCgkJCQlkb2N1bWVudC5n
ZXRFbGVtZW50QnlJZCgnZnJhbWUnICsgZ2xvYmFsTGFzdE1vdmllKS5zdHlsZS5kaXNwbGF5ID0g
Im5vbmUiOw0KCQkJZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoJ2ZyYW1lJyArIG5ld01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