Android Mediaplayer error 2005
<p>I'm getting a strange error code while trying to play video.</p>

<p>I get error code 1 (Which is ERROR_ UNKNOWN) and extra -2005 which has no documentation at all.</p>

<p>How can I possibly know why is this happening?</p>

<p>Thanks </p>

<pre><code>01-09 09:50:36.903: E/MediaPlayer(3062): Error (1,-2005)
</code></pre>

<p>Here is the part when I play the video</p>

<pre><code>if(m_videoView.canSeekForward() &amp;&amp; seekTo &gt; 0 &amp;&amp; seekTo &lt;= m_videoView.getDuration())
                    m_videoView.seekTo(seekTo);
                m_videoView.start();
                m_videoView.requestFocus();
                m_videoView.setKeepScreenOn(true);
</code></pre>

<p>Here is where I get the url for playing</p>

<pre><code>String url = data.replace('\"', ' ').trim();
                        try
                        {
                            URL _url = new URL(url);
                            _url.toURI();
                        }
                        catch(URISyntaxException ex)
                        {
                            Log.e("url from media", ex.getMessage() + " for " + url);
                            SystemUtils.alertMsg(getContext(), "There is a problem with this film right now.\nPlease try again later.");//getContext().getResources().getString(R.string.not_subscribed_msg));
                            dismiss(); 
                            playerLayout.findViewWithTag("progressbar").setVisibility(View.GONE);
                            return;  
                        } 
                        catch (MalformedURLException e) 
                        {
                            Log.e("url from media", e.getMessage() + " for " + url);
                            SystemUtils.alertMsg(getContext(), "There is a problem with this film right now.\nPlease try again later.");//getContext().getResources().getString(R.string.not_subscribed_msg));
                            dismiss();
                            playerLayout.findViewWithTag("progressbar").setVisibility(View.GONE);
                            return;
                        }

                        url = url.replace("http", "widevine").replace("16.109", "16.1");  

                        setFilePath(url);
</code></pre>
