mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-20 15:56:51 +00:00
remove play on roku sections (#29172)
This commit is contained in:
parent
b963f746aa
commit
0321345502
@ -148,49 +148,6 @@ action:
|
|||||||
media_content_type: channel
|
media_content_type: channel
|
||||||
```
|
```
|
||||||
|
|
||||||
## Play on Roku
|
|
||||||
|
|
||||||
The `media_player.play_media` service may be used to send media URLs (primarily videos) for direct playback on your device. This feature makes use of the built-in PlayOnRoku application.
|
|
||||||
|
|
||||||
| Service data attribute | Optional | Description | Example |
|
|
||||||
| ---------------------- | -------- | ----------- | ------- |
|
|
||||||
| `entity_id` | no | Target a specific media player. |
|
|
||||||
| `media_content_id` | no | A media URL. | http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4
|
|
||||||
| `media_content_type` | no | A media type. | `url`
|
|
||||||
| `extra.format` | no | A media format. Should be one of `mp4` (supports mov and m4v), `mp3`, `hls`, `ism` (smooth streaming), `dash` (MPEG-DASH), `mkv`, `mka`, `mks` | `mp4`
|
|
||||||
| `extra.name` | yes | A name for the media. | Big Buck Bunny
|
|
||||||
| `extra.thumbnail` | yes | A thumbnail URL for the media. |
|
|
||||||
| `extra.artist_name` | yes | The name of the media artist. | Blender
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
action:
|
|
||||||
- service: media_player.play_media
|
|
||||||
target:
|
|
||||||
entity_id: media_player.roku
|
|
||||||
data:
|
|
||||||
media_content_id: http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4
|
|
||||||
media_content_type: url
|
|
||||||
extra:
|
|
||||||
format: mp4
|
|
||||||
name: Big Buck Bunny
|
|
||||||
```
|
|
||||||
|
|
||||||
## Camera Stream Integration
|
|
||||||
|
|
||||||
The `camera.play_stream` service may be used to send camera streams (HLS) directly to your device. This feature requires the `stream` integration and makes use of the built-in PlayOnRoku application.
|
|
||||||
|
|
||||||
### Example
|
|
||||||
```yaml
|
|
||||||
action:
|
|
||||||
service: camera.play_stream
|
|
||||||
target:
|
|
||||||
entity_id: camera.camera
|
|
||||||
data:
|
|
||||||
media_player: media_player.roku
|
|
||||||
```
|
|
||||||
|
|
||||||
## Content Deeplinking
|
## Content Deeplinking
|
||||||
|
|
||||||
The `media_player.play_media` service may be used to deep link to content within an application.
|
The `media_player.play_media` service may be used to deep link to content within an application.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user