You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jörn Heid (JIRA)" <ji...@apache.org> on 2017/05/07 17:08:04 UTC

[jira] [Created] (CB-12768) Replacing video tags results in a video player inconsistent state

Jörn Heid created CB-12768:
------------------------------

             Summary: Replacing video tags results in a video player inconsistent state
                 Key: CB-12768
                 URL: https://issues.apache.org/jira/browse/CB-12768
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-ios
    Affects Versions: cordova7
         Environment: Tested on iOS 10.3 with the normal webview and wkwebview
            Reporter: Jörn Heid


If you add something like this:

<div id="video"></div>
<button onclick="document.getElementById('video').innerHTML='&lt;video preload src=&quot;1.mp4&quot;&gt;&lt;/video&gt;';return false">Show Video again</button>

to your index.html and recreate the video several times by clicking the button after starting the video (so click the button, start the video, click the button, start the video and so on), after about 13 tries (no kidding) the video can't be started anymore. 

This might be related to a memory bug with the video playback, but there's no "low memory" message.

I tested it with the old webview and WKWebView but there's no different.

Seems to be an internal problem of iOS I think.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org