Kodi Community Forum

Full Version: How to make YouTube trailers work in XBMC?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

Now I am trying out the trailers section with EMBER MM and XBMC. I can get EMBER to save the url to the trailer in the NFO file. But it saves the link like these. But I cannot get XBMC to play these trailers. Any help? Huh

Code:
http://www.youtube.com/watch?v=sFXGrTng0gQ

Code:
rtmp://amazonimdb.fcod.llnwd.net/a2643/o25/s/theaters/.........blah blah blah

I saw somewhere that I have to change the youtube link to something else to get that to be played. Is there anyway to configure EMBER to save the trailer link in that format?

Thanks. Smile
Links like http://www.youtube.com/watch?v=sFXGrTng0gQ are the link to the page containing YouTube's Flash player. They aren't links to the stream itself. Working out the URL to the stream is a non-trivial process, and I'm not sure that the link to the stream stays constant. The YouTube add-on reads the HTML behind the page and uses that to work out where the stream is.

JR
jhsrennie Wrote:Links like http://www.youtube.com/watch?v=sFXGrTng0gQ are the link to the page containing YouTube's Flash player. They aren't links to the stream itself. Working out the URL to the stream is a non-trivial process, and I'm not sure that the link to the stream stays constant. The YouTube add-on reads the HTML behind the page and uses that to work out where the stream is.

JR

I have installed the YouTube add-on. But when I select the trailer with youtube link in XBMC, it just shows "WORKING" and then disappears. Rolleyes
If there's a problem with the YouTube add-on a debug log might help identify the problem. The YouTube add-on wasn't written by the XBMC team, so you'd need to contact the author(s) for support.

Is it just the one video that gives problems? Will other YouTube videos play in the add-on?

JR
make the link in the nfo

plugin://plugin.video.youtube/?action=play_video&videoid=sFXGrTng0gQ

remember that the nfo is an xml file so those ampersands need to be escaped ( & )
Sorry to bump this old thread, but spiff just made my day! On a pre-eden install, this solution works just great.

Any tips on checking if the extension is installed? Or can I set a dependancy somewhere?
trailers are after falling apart recently!!
can never get tehm to work
ok i know they must be in the format as so!!
plugin://plugin.video.youtube/?action=play_video&videoid=
but ember scrapes them as a webpage url
is ther a way of editing line 22 in all my nfo in a batch format?
or else get ember tio scare them in the plugin format