<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic intent play video in external players in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/intent-play-video-in-external-players/m-p/1068032#M57086</link>
    <description>&lt;P&gt;Hello, can I standard intent-filters in build parameters for android set external process video-link?&lt;/P&gt;

&lt;P&gt;Now I simply call new location for curent window in javascript:&lt;/P&gt;

&lt;P&gt;function playVideo(sUrl){&lt;BR /&gt;
	&lt;SPAN style="font-size: 1em;"&gt;&amp;nbsp; &amp;nbsp;location.href = sUrl;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;}&lt;/P&gt;

&lt;P&gt;But some links .m3u8 automatically start play video, however some .mp4 links just only download without asking for using external players&lt;/P&gt;

&lt;P&gt;I hope get final result from using intent-filter as this:&lt;/P&gt;

&lt;PRE class="default prettyprint prettyprinted" style="margin-top: 0px; margin-bottom: 1em; padding: 5px; border: 0px; font-size: 13px; width: auto; max-height: 600px; overflow: auto; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; background-color: rgb(239, 240, 241); color: rgb(57, 51, 24); word-wrap: normal;"&gt;&lt;CODE style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; white-space: inherit;"&gt;&lt;SPAN class="typ" style="margin: 0px; padding: 0px; border: 0px; color: rgb(43, 145, 175);"&gt;Intent&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt; intent &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="margin: 0px; padding: 0px; border: 0px; color: rgb(16, 16, 148);"&gt;new&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt; &lt;/SPAN&gt;&lt;SPAN class="typ" style="margin: 0px; padding: 0px; border: 0px; color: rgb(43, 145, 175);"&gt;Intent&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;(&lt;/SPAN&gt;&lt;SPAN class="typ" style="margin: 0px; padding: 0px; border: 0px; color: rgb(43, 145, 175);"&gt;Intent&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;ACTION_VIEW&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt; &lt;/SPAN&gt;&lt;SPAN class="typ" style="margin: 0px; padding: 0px; border: 0px; color: rgb(43, 145, 175);"&gt;Uri&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;parse&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;newVideoPath&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;));&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;
intent&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;setDataAndType&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;(&lt;/SPAN&gt;&lt;SPAN class="typ" style="margin: 0px; padding: 0px; border: 0px; color: rgb(43, 145, 175);"&gt;Uri&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;parse&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;newVideoPath&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;),&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(125, 39, 39);"&gt;"video/*"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;);&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;
startActivity&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;intent&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;);&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 28 Mar 2017 07:01:07 GMT</pubDate>
    <dc:creator>Alex_S_2</dc:creator>
    <dc:date>2017-03-28T07:01:07Z</dc:date>
    <item>
      <title>intent play video in external players</title>
      <link>https://community.intel.com/t5/Software-Archive/intent-play-video-in-external-players/m-p/1068032#M57086</link>
      <description>&lt;P&gt;Hello, can I standard intent-filters in build parameters for android set external process video-link?&lt;/P&gt;

&lt;P&gt;Now I simply call new location for curent window in javascript:&lt;/P&gt;

&lt;P&gt;function playVideo(sUrl){&lt;BR /&gt;
	&lt;SPAN style="font-size: 1em;"&gt;&amp;nbsp; &amp;nbsp;location.href = sUrl;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;}&lt;/P&gt;

&lt;P&gt;But some links .m3u8 automatically start play video, however some .mp4 links just only download without asking for using external players&lt;/P&gt;

&lt;P&gt;I hope get final result from using intent-filter as this:&lt;/P&gt;

&lt;PRE class="default prettyprint prettyprinted" style="margin-top: 0px; margin-bottom: 1em; padding: 5px; border: 0px; font-size: 13px; width: auto; max-height: 600px; overflow: auto; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; background-color: rgb(239, 240, 241); color: rgb(57, 51, 24); word-wrap: normal;"&gt;&lt;CODE style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; white-space: inherit;"&gt;&lt;SPAN class="typ" style="margin: 0px; padding: 0px; border: 0px; color: rgb(43, 145, 175);"&gt;Intent&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt; intent &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="margin: 0px; padding: 0px; border: 0px; color: rgb(16, 16, 148);"&gt;new&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt; &lt;/SPAN&gt;&lt;SPAN class="typ" style="margin: 0px; padding: 0px; border: 0px; color: rgb(43, 145, 175);"&gt;Intent&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;(&lt;/SPAN&gt;&lt;SPAN class="typ" style="margin: 0px; padding: 0px; border: 0px; color: rgb(43, 145, 175);"&gt;Intent&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;ACTION_VIEW&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt; &lt;/SPAN&gt;&lt;SPAN class="typ" style="margin: 0px; padding: 0px; border: 0px; color: rgb(43, 145, 175);"&gt;Uri&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;parse&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;newVideoPath&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;));&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;
intent&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;setDataAndType&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;(&lt;/SPAN&gt;&lt;SPAN class="typ" style="margin: 0px; padding: 0px; border: 0px; color: rgb(43, 145, 175);"&gt;Uri&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;parse&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;newVideoPath&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;),&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(125, 39, 39);"&gt;"video/*"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;);&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;
startActivity&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;intent&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(48, 51, 54);"&gt;);&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 28 Mar 2017 07:01:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/intent-play-video-in-external-players/m-p/1068032#M57086</guid>
      <dc:creator>Alex_S_2</dc:creator>
      <dc:date>2017-03-28T07:01:07Z</dc:date>
    </item>
    <item>
      <title>This is outside the scope of</title>
      <link>https://community.intel.com/t5/Software-Archive/intent-play-video-in-external-players/m-p/1068033#M57087</link>
      <description>&lt;P&gt;This is outside the scope of the support we can provide. I recommend you search for solutions based on this search query: "using intent links cordova android", for example &amp;gt; &lt;A href="https://www.google.com/webhp?sourceid=chrome-instant&amp;amp;ion=1&amp;amp;espv=2&amp;amp;ie=UTF-8#q=using+intent+links+cordova+android&amp;amp;*" target="_blank"&gt;https://www.google.com/webhp?sourceid=chrome-instant&amp;amp;ion=1&amp;amp;espv=2&amp;amp;ie=UTF-8#q=using+intent+links+cordova+android&amp;amp;*&lt;/A&gt; &amp;lt; there are many solutions out there.&lt;/P&gt;

&lt;P&gt;The Intel XDK creates a standard Cordova CLI project. Solutions you locate for Cordova will work with your XDK project.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 19:57:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/intent-play-video-in-external-players/m-p/1068033#M57087</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2017-03-29T19:57:30Z</dc:date>
    </item>
    <item>
      <title>Ok, I use external plugin</title>
      <link>https://community.intel.com/t5/Software-Archive/intent-play-video-in-external-players/m-p/1068034#M57088</link>
      <description>&lt;P&gt;Ok, I use external plugin with player and now all ok.&lt;/P&gt;

&lt;P&gt;But I have next question - how include in intel XDK support android TV?&lt;/P&gt;

&lt;P&gt;In google market I found this information (https://developer.android.com/training/tv/start/start.html)&lt;/P&gt;

&lt;PRE class="brush:xml;"&gt;&amp;lt;intent-filter&amp;gt;
      &amp;lt;action android:name="android.intent.action.MAIN" /&amp;gt;
      &amp;lt;category android:name="android.intent.category.LEANBACK_LAUNCHER" /&amp;gt;
    &amp;lt;/intent-filter&amp;gt;&lt;/PRE&gt;

&lt;P&gt;But where add this code I don't understand/ Please, help me.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2017 19:33:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/intent-play-video-in-external-players/m-p/1068034#M57088</guid>
      <dc:creator>Alex_S_2</dc:creator>
      <dc:date>2017-04-10T19:33:26Z</dc:date>
    </item>
    <item>
      <title>Those are AndroidManifest.xml</title>
      <link>https://community.intel.com/t5/Software-Archive/intent-play-video-in-external-players/m-p/1068035#M57089</link>
      <description>&lt;P&gt;Those are AndroidManifest.xml file changes being recommended. Making such changes with our build system is difficult. I recommend you use Cordova CLI to make an app that requires such changes. You can also &lt;A href="https://github.com/dpa99c/cordova-custom-config"&gt;use a general plugin for that purpose&lt;/A&gt; (which is not compatible with PhoneGap Build or with the XDK) or you can &lt;A href="https://www.npmjs.com/package/cordova-plugin-intent"&gt;use a specialized plugin&lt;/A&gt; for this specific purpose (which is no longer maintained). There are many other plugins and articles that will help. Search for something like "cordova plugin intent" to find them.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2017 21:00:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/intent-play-video-in-external-players/m-p/1068035#M57089</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2017-04-10T21:00:51Z</dc:date>
    </item>
    <item>
      <title>Hello again.</title>
      <link>https://community.intel.com/t5/Software-Archive/intent-play-video-in-external-players/m-p/1068036#M57090</link>
      <description>&lt;P&gt;Hello again.&lt;/P&gt;

&lt;P&gt;I solve my problem with this plugins:&lt;/P&gt;

&lt;P&gt;com.hughisaacs2.cordova.plugins.androidtvplugin&amp;nbsp;&lt;/P&gt;

&lt;P&gt;com.qdev.webintent&amp;nbsp;&lt;/P&gt;

&lt;P&gt;But now, when i try publish my app in google market, i recieve message from google team:&lt;/P&gt;

&lt;P&gt;Your app does not contain a full-size app banner.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://developer.android.com/training/tv/start/start.html#banner" target="_blank"&gt;http://developer.android.com/training/tv/start/start.html#banner&lt;/A&gt;&lt;BR xmlns="http://www.w3.org/1999/xhtml" /&gt;
	&lt;A href="http://developer.android.com/design/tv/patterns.html#banner" target="_blank"&gt;http://developer.android.com/design/tv/patterns.html#banner&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;And now i have same problem with change&amp;nbsp;&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp;AndroidManifest.xml&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;Can you help me?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 08:33:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/intent-play-video-in-external-players/m-p/1068036#M57090</guid>
      <dc:creator>Alex_S_2</dc:creator>
      <dc:date>2017-04-13T08:33:37Z</dc:date>
    </item>
    <item>
      <title>Since the Intel XDK build</title>
      <link>https://community.intel.com/t5/Software-Archive/intent-play-video-in-external-players/m-p/1068037#M57091</link>
      <description>&lt;P&gt;Since the Intel XDK build system is going to be retired at the end of June, I recommend you try using PhoneGap Build and their technique for modifying the AndroidManifest.xml file &amp;gt; &lt;A href="http://docs.phonegap.com/phonegap-build/configuring/config-file-element/" target="_blank"&gt;http://docs.phonegap.com/phonegap-build/configuring/config-file-element/&lt;/A&gt; &amp;lt; or you do this directly using Cordova CLI (where you can modify the AndroidManifest.xml file directly in the Cordova CLI platform folder).&lt;/P&gt;

&lt;P&gt;You should be able to add the PhoneGap Build changes to your project's intelxdk.config.additions.xml file to have it included in the exported config.xml file.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 14:39:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/intent-play-video-in-external-players/m-p/1068037#M57091</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2017-04-13T14:39:59Z</dc:date>
    </item>
  </channel>
</rss>

