如何将YouTube和其他网络视频投射到Kodi(例如Chromecast)

kodi-chromecast-featured

Ever wish you could send YouTube and other web videos from your phone or laptop to your TV? It’s a trick you’ve probably seen Chromecast and Apple TV users pull, but don’t feel left out: you can get it working in Kodi too.

曾经希望您可以将YouTube和其他网络视频从手机或笔记本电脑发送到电视吗? 您可能曾经看过Chromecast和Apple TV用户,这是一个技巧,但不要感到被淘汰:您也可以在Kodi中使用它。

Kodi has plenty of add-ons that let you play videos from YouTube, Twitch, and other streaming sites, but sometimes, you don’t want to navigate Kodi with your remote just to play something–especially if you already have it up on your phone. With these tools, you can send videos from your phone or laptop right to your TV, like you would on a Chromecast.

Kodi有许多附加组件,可让您播放来自YouTube,Twitch和其他流媒体网站的视频,但是有时,您不想仅通过遥控器就可以导航Kodi来播放某些东西,尤其是如果您已经将它放在自己的手机上电话。 借助这些工具,您可以像通过Chromecast一样将视频从手机或笔记本电脑直接发送到电视。

Unfortunately, the way this works means you can only cast videos from services that Kodi has an add-on for–which means no Netflix. But YouTube and plenty of other services should work, as long as you install the appropriate add-on first. Here’s how to set it all up.

不幸的是,这种方式的工作方式意味着您只能从Kodi附带了附件的服务中投射视频,这意味着没有Netflix。 但是,只要您先安装适当的附加组件,YouTube以及许多其他服务都可以使用。 这是全部设置的方法。

第一:在Kodi中启用远程控制 (First: Enable Remote Control in Kodi)

Before we can send media over to Kodi, we need to enable a few things. On your media center, head to Settings > Services.

在将媒体发送到Kodi之前,我们需要启用一些功能。 在媒体中心上,转到“设置”>“服务”。

kodi-settings-services

From here, head to the Web Server tab.

从这里转到“ Web服务器”选项卡。

kodi-remote-settings

Make sure “Allow remote control via HTTP” is checked. You can set a custom port number if you’d like, though it’s fine to leave the default “8080” if you don’t have a specific port in mind. You can also set a username and password, which is a good idea if you share a network and don’t want anyone else taking control of your TV.

确保选中“允许通过HTTP进行远程控制”。 您可以根据需要设置自定义端口号,但是如果您没有特定的端口号,可以保留默认的“ 8080”。 您还可以设置用户名和密码,如果您共享网络并且不希望其他人控制您的电视,那么这是个好主意。

Next, head to the “Remote Control” tab.

接下来,转到“远程控制”选项卡。

kodi-allow-remote-controls

Make sure that “Allow remote control by programs on this system” and “Allow remote control by programs on other systems” are both enabled.

确保同时启用“允许通过此系统上的程序进行远程控制”和“允许通过其他系统上的程序进行远程控制”。

Finally, for your own reference, find your media center’s computer’s local IP address by heading over to System Information > Network.

最后,转到系统信息>网络,找到媒体中心计算机的本地IP地址,以供您自己参考。

ip-address-kodi

Remember this IP address. Ideally, you’d also set a static IP address on your router so you don’t have to change your settings later. You might need both this IP address and your port number to set up the other programs in this article.

记住这个IP地址。 理想情况下,您还要在路由器上设置静态IP地址,这样以后就不必更改设置了。 您可能需要此IP地址和端口号来设置本文中的其他程序。

从计算机的浏览器发送YouTube(和其他网络视频)链接 (Send YouTube (and Other Web Video) Links From Your Computer’s Browser)

On your computer, you can send YouTube links to Kodi using browser extensions. Here are a few for the major browsers:

在您的计算机上,您可以使用浏览器扩展程序将YouTube链接发送到Kodi。 以下是一些主要浏览器:

  • Chrome: Play To Kodi, which supports not only YouTube, but Hulu, Twitch, and a few other sites

    Chrome: Play To Kodi ,不仅支持YouTube,还支持Hulu,Twitch和其他一些网站

  • Firefox: Send To XBMC/Kodi, which also lets you cast local videos from your computer

    Firefox:发送到XBMC / Kodi ,它还允许您从计算机投射本地视频

  • Safari: KodiPlay, which supports YouTube, Vimeo, DailyMotion, Hulu, Twitch, and more

    Safari: KodiPlay ,支持YouTube,Vimeo,DailyMotion,Hulu,Twitch等

Note that, in order for videos to work, you’ll need the appropriate add-on installed in Kodi. For example, to play YouTube videos you need to install the YouTube add-on, and to play Vimeo videos you need to install the Vimeo add-on.

请注意,为了使视频正常工作,您需要在Kodi中安装适当的附加组件。 例如,要播放YouTube视频,您需要安装YouTube插件,而要播放Vimeo视频,则需要安装Vimeo插件。

Otherwise, all of these extensions essentially work the same way. Open a YouTube video on your computer, then click the extension’s icon.

否则,所有这些扩展基本上都以相同的方式工作。 在计算机上打开YouTube视频,然后单击扩展程序的图标。

kodi-send-to-chrome

This will either send the video over to Kodi or give you the option to do so. In Play To Kodi for Chrome, seen above, you can also control Kodi entirely from the browser extension, which is a nice added bonus if you like to use your laptop while watching TV.

这将把视频发送到Kodi或让您选择这样做。 在上方的Play To Kodi for Chrome中,您还可以完全通过浏览器扩展程序控制Kodi,如果您想在看电视的同时使用笔记本电脑,这是一个不错的附加奖励。

使用这些小部件从Mac发送YouTube视频 (Send YouTube Videos from Your Mac with These Widgets)

Here’s a bonus for Mac users. You probably already know you can set up the Notification Center with all kinds of widgets, and as it turns out, there’s a pretty good widget for Kodi out there, which you can download from the Kodi forum.

这是Mac用户的奖励。 您可能已经知道可以使用各种小部件设置通知中心,事实证明,那里有一个不错的Kodi小部件,您可以从Kodi论坛下载

kodi-widget-mac-notification-center

You can use this to control Kodi using the on-screen buttons, or you can click the widget and then control Kodi using your Mac’s keyboard. It’s seriously like magic. But I mention this widget here because you can also paste YouTube URLs on the widget to get them to play on your home theater PC. If you prefer old-school widgets, there’s a Dashboard widget that works the same way.

您可以使用此按钮通过屏幕上的按钮控制Kodi,也可以单击小部件,然后使用Mac的键盘控制Kodi。 就像魔术一样。 但是我在这里提到此小部件是因为您还可以将YouTube URL粘贴到小部件上,以使其在家庭影院PC上播放。 如果您更喜欢老式的窗口小部件,那么有一个Dashboard窗口小部件的工作方式相同

I haven’t found any tool quite like these for Windows or Linux, sadly, but they’re a good alternative for Mac users that don’t like the browser extensions mentioned above.

遗憾的是,我还没有找到像Windows或Linux那样的工具,但是对于不喜欢上述浏览器扩展的Mac用户,它们是不错的选择。

使用Kore或Yatse从Android发送视频链接 (Send Video Links From Android With Kore or Yatse)

We’ve talked about Yatse, the ultimate Kodi remote for Android. There’s also Kore, the official remote for Kodi. If you have either of these programs set up, you can share YouTube and other links from your Android phone over to your home theater PC. In the YouTube app, tap the “Share” button for any video.

我们已经讨论过Yatse,这是Android的终极Kodi遥控器。 还有Kore,这是Kodi的官方遥控器。 如果您设置了这些程序之一,则可以将YouTube和其他链接从Android手机共享到家庭影院PC。 在YouTube应用中,点击任何视频的“共享”按钮。

youtube-share-kodi

From the list of options, select “Play on Kodi.”

从选项列表中,选择“在Kodi上播放”。

kodi-remote-push-youtube

Just like that, the video will start playing on your TV.

这样,视频将开始在电视上播放。

YouTube is the only site that’s supported by Kore, the official Kodi remote. The third-party Yatse remote, though, supports a few more sites: Vimeo, Justin.TV, DailyMotion, and any video you have a direct URL for.

YouTube是唯一由Kodi官方遥控器Kore支持的网站。 但是,第三方Yatse远程支持更多站点:Vimeo,Justin.TV,DailyMotion以及您直接访问其网址的任何视频。

使用Pushbullet从iOS或Android发送音乐,照片和YouTube视频 (Send Music, Photos, and YouTube Videos from iOS or Android Using Pushbullet)

If you’ve already set up Pushbullet to see Android notifications on your PC or Mac, you’ll be happy to know there’s also an extension for Kodi. Head to System > AddOns > Install From Repository > All Repositories > Services, then you’ll find Pushbullet.

如果您已经设置了Pushbullet在PC或Mac上查看Android通知,您将很高兴知道Kodi还有一个扩展。 转到系统>附加组件>从存储库安装>所有存储库>服务,然后您会找到Pushbullet。

kodi-pushbullet-install

Install the add-on and you’ll find it under “Programs”. Once configured, you can push content from any Pushbullet device over to Kodi.

安装加载项,您将在“程序”下找到它。 配置完成后,您可以将内容从任何Pushbullet设备推送到Kodi。

kodi-pushbullet

Supported media will start playing automatically, or be added to the current playlist. Notably, this is the only way to send YouTube links from iOS over to Kodi.

支持的媒体将自动开始播放,或添加到当前播放列表中。 值得注意的是,这是将YouTube链接从iOS发送到Kodi的唯一方法。

通过AirPlay发送音频 (Send Audio Over AirPlay)

It isn’t video, but we thought Kodi’s built-in AirPlay support also deserved a mention here. Kodi offers built-in support for Apple’s Airport standards, but videos are only supported on devices running iOS 8 or older. Audio still works great, however, meaning you can stream music from your phone or your computer.

这不是视频,但我们认为Kodi的内置AirPlay支持在这里也值得一提。 Kodi提供对Apple机场标准的内置支持,但视频仅在运行iOS 8或更旧版本的设备上受支持。 音频仍然运作良好,但是,这意味着您可以从手机或计算机中播放音乐。

To enable this, head to Settings > Services > Airplay.

要启用此功能,请转到“设置”>“服务”>“ Airplay”。

kodi-airplay-support

Enable Airplay support, and optionally set a password. You can now stream audio from iOS devices or iTunes.

启用Airplay支持,并选择设置密码。 您现在可以从iOS设备或iTunes流音频。

kodi-airplay-working

Note that Windows users will need to download Bonjour for Windows in order for this feature to work, and Linux users will need to install avahi-daemon using their distro’s package manager.

请注意,Windows用户将需要下载Windows的Bonjour才能使用此功能,而Linux用户将需要使用其发行版的程序包管理器安装avahi-daemon。

翻译自: https://www.howtogeek.com/277116/how-to-cast-youtube-and-other-web-videos-to-kodi-like-the-chromecast/

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
运行Kodi Online以播放和查看大多数流媒体,例如视频,音乐,播客和音频播放列表 这个Kodi在线是官方的Kodi,但在线运行并通过网络浏览器访问。此Kodi在线版还提供对流媒体内容的访问,包括视频和音乐。它是一款开源免费软件,专为家庭娱乐而设计,因此对喜欢电影,体育和电视节目的人来说非常有用。虽然它最初是为标题为Xbox Media Center(XBMC)的Microsoft Xbox设计的,但它仍在不断发展。 与Chromecast或Plex等大公司不同,Kodi由非营利性XBMC基金会管理,并且不断被全球开发人员修改和升级。此外,与Apple TV,Chromecast和亚马逊消防电视棒等其他电视流媒体不同,Kodi并没有受到许可或应用程序商店的阻碍,因此它允许最终用户下载应用程序或插件来观看或收听任何内容。 其最重要的特点是: - 在音乐方面,Kodi可以播放各种格式,包括AAC,MP3和OGG。它还配有智能播放列表和标记不同曲目的功能。 - 就视频而言,Kodi可以使用ISO,3D和H.264等格式,也可以通过互联网传输内容。 - 在电视节目方面,Kodi允许存储最终用户喜爱的节目电视节目。 - 在图片方面,Kodi允许将图像导入库并开始幻灯片放映。 其中一个最重要的功能是附加组件,旨在增强使用该服务的整体体验。它的附加组件具有许多功能,从简单的屏幕保护程序和天气应用程序到可以增强程序查看体验的工具。有些附加组件包含多个通道。还有用于流式播客的应用程序以及将播放您播放的每首歌曲的歌词的程序。您甚至可以通过Twitter Feed插件跟踪社交媒体上发生的事情。 请注意,附加组件是由与XBMC Foundation无关的独立开发人员设计的。因此,最终用户有责任确保应用程序真正合法且按预期工作。科迪是合法的。事实上,Kodi是一个空白画布,按原样提供,允许用户做他们想要的。用户有责任遵守其所在国家/地区的所有适用法律。 支持语言:Deutsch,English,Français,Nederlands,Türkçe,español,español (Latinoamérica),italiano,polski,português (Brasil),português (Portugal),русский,українська,हिन्दी,‫العربية,中文 (简体),日本語,한국어
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值