Play media on chrome via xbmc

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Closed
mianbarray Offline
Junior Member
Posts: 2
Joined: Apr 2014
Reputation: 0
Post: #1
Hi there,

I am trying to play videos from xbmc thru my Chrome browser. So basically, when I choose a movie, I want it to play within the browser instead from within xbmc. I tried to follow instructions in this youtube video: https://www.youtube.com/watch?v=HmyxUVDMYEU but the videos still play within xbmc.

I am attaching my playercorefactory.xml with the updated path to Chrome. I am pretty sure my chrome path is correct. I have put the playercorefactory.xml in /Users/<username>/Library/Application Support/XBMC/system

Just to point out, the only file in the system folder is playercorefactory.xml and not sure if there should be more?

My end goal is to use chrome browser to cast the videos to my tv using Chromecast
Code:
<playercorefactory>
<players>
<player name="MXPlayerFree" type="ExternalPlayer" audio="false" video="true">
<filename>com.mxtech.videoplayer.ad</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="MXPlayerPro" type="ExternalPlayer" audio="false" video="true">
<filename>com.mxtech.videoplayer.pro</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="TPlayer" type="ExternalPlayer" audio="false" video="true">
<filename>com.tiantian.android.player.app</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="DicePlayerFree" type="ExternalPlayer" audio="false" video="true">
<filename>com.inisoft.mediaplayer.trial</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="VLCPlayer" type="ExternalPlayer" audio="false" video="true">
<filename>com.vlcforandroid.vlcdirectprofree</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="DicePlayerPaid" type="ExternalPlayer" audio="false" video="true">
<filename>com.inisoft.mediaplayer.a</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="RockPlayerLite" type="ExternalPlayer" audio="false" video="true">
<filename>com.redirectin.rockplayer.android.unified.lite</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="RockPlayer" type="ExternalPlayer" audio="false" video="true">
<filename>com.rockplayer</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="BSPlayerFree" type="ExternalPlayer" audio="false" video="true">
<filename>com.bsplayer.bspandroid.free</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="MoboplayerFree" type="ExternalPlayer" audio="false" video="true">
<filename>com.clov4r.android.nilz</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="mVideoplayerFree" type="ExternalPlayer" audio="false" video="true">
<filename>afzkl.development.mVideoPlayer</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="Vplayer" type="ExternalPlayer" audio="false" video="true">
<filename>me.abitno.vplayer.t</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="WondersharePlayer" type="ExternalPlayer" audio="false" video="true">
<filename>com.wondershare.player</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="ArchosVideo" type="ExternalPlayer" audio="false" video="true">
<filename>com.archos.mediacenter.video</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="SopCast" type="ExternalPlayer" audio="false" video="true">
<filename>org.sopcast.android</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="Chrome" type="ExternalPlayer" audio="false" video="true">
<filename>/Applications/Google Chrome.app/Contents/MacOS/Google Chrome</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>

<player name="DaroonPlayer" type="ExternalPlayer" audio="false" video="true">
<filename>com.daroonplayer.dsplayer</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>
</players>
<rules action="prepend">
<!---
********** **********
********** EDIT THIS SECTION **********
********** **********
-->
<rule protocols="smb" player="Chrome" />
<rule dvdimage="true" player="Chrome"/>
<rule protocols="rtmp" player="Chrome"/>
<rule protocols="rtsp" player="Chrome" />
<rule protocols="sop" player="Chrome" />
<rule internetstream="true" player="Chrome" />
<rule video="true" player="Chrome"/> <!-- Default for anything else not listed -->
</rules>
</playercorefactory>
[/quote]
find
mianbarray Offline
Junior Member
Posts: 2
Joined: Apr 2014
Reputation: 0
Post: #2
Forgot to include some technical specs

Latest chrome version: 34.0.1847.116
Xbmc version: 12.3 64-bit
MacBook Air, OS X Mavericks
find
nickr Online
Donor
Posts: 12,177
Joined: May 2009
Reputation: 219
Location: Christchurch NZ
Post: #3
Just plug the computer running xbmc into your TV and use it like it was designed!

If I have helped you or increased your knowledge, click the 'thank user' button to give thanks :) (People with less than 20 posts won't see the "Thank you" button.)
find
corinjw Offline
Junior Member
Posts: 2
Joined: Mar 2011
Reputation: 0
Post: #4
You need to place the playercorefactory.xml file in the /Applications/Kodi.app/Contents/Resources/Kodi/system folder, works for me Smile. I would backup the original one first, in case you want to use kodi to display your content.

Cheers

Corin
find
Ned Scott Offline
Team-Kodi Wiki Guy
Posts: 25,846
Joined: Jan 2011
Reputation: 359
Location: Arizona, USA
Post: #5
(2015-03-20 12:37)corinjw Wrote:  You need to place the playercorefactory.xml file in the /Applications/Kodi.app/Contents/Resources/Kodi/system folder, works for me Smile. I would backup the original one first, in case you want to use kodi to display your content.

Cheers

Corin

Sorry, that is incorrect. You never want to edit those files directly. Instead, you place the file in the userdata folder (wiki), which is automatically loaded when Kodi starts.

You can make easy links to the Kodi Wiki Manual using double brackets around common Kodi words: [[debug log]] = debug log (wiki), [[Video library]] = Video library (wiki), [[SMB]] = SMB (wiki) , [[userdata]] = userdata (wiki), etc
find