video_item

kavulix

Item type: video
Roku component: roSpringboardScreen + roVideoScreen


Example

<item type="video"
      title="My video title"
      url="http://yoursite.com/video.mp4"
      streamformat="mp4"
      sdposterurl="http://yoursite.com/video_sd.jpg"
      hdposterurl="http://yoursite.com/video_hd.jpg"
      contentid="the_id_of_my_video"
      length="240"
      bitrate="512"/>

Supported Attributes

Name: title
Type: string
Supported values
any string of text

Name: shortdesc
Type: string
Supported values
any string of text

Name: sdposterurl
Type: string
Supported values
any url pointing to a jpg, png or gif image

Name: hdposterurl
Type: string
Supported values
any url pointing to a jpg, png or gif image

Name: enableextensions
Type: boolean
Supported values
true|false

Name: enablescrapers
Type: boolean
Supported values
true|false

Name: disableadrise
Type: boolean
Supported values
true|false
Notes
If adrise is enabled globally then this attribute will disable the pre-roll adrise advertisements on a per-video basis.

Name: live
Type: boolean
Supported values
true|false
Notes
If true then the length will be removed from the video player and a live logo will be displayed instead.

Name: streamformat
Type: string
Supported values
mp4|wmv|hls
Notes
Use mp4 for m4v or mov. Use wmv for asf. Use hls for m3u8 or .ts live streams. Audio codecs must be AAC LC (CBR), AC3 Passthrough or WMA 9.2 (CBR). Max audio bitrate is 256kbps. Video codecs must be H.264/AVC, VC-1 AP (WVC1) or WMV9.

Name: contentid
Type: string
Supported values
any string of text

Name: rbsurl
Type: string
Supported values
any url pointing to a "report broken stream" script
Notes
If this attribute is not included on a video item then the global rbsurl pref will be used instead. This attribute is useful if you need to add a unique parameter to the rbsurl for each item. For example, you could add a different category parameter to each rbsurl attribute. rbsurl="http://yoursite.com/rbs.php?category=podcast"

Name: eiurl
Type: string
Supported values
any url pointing to an "email information" script
Notes
If this attribute is not included on a video item then the global eiurl pref will be used instead. This attribute is useful if you need to add a unique parameter to the eiurl for each item.

Name: length
Type: integer
Supported values
the length of the video in seconds

Name: stickyredirects
Type: boolean
Supported values
true|false
Notes
Determines whether the http endpoint should be sticky and not subject to change on subsequent requests. This attribute is optional and if omitted the default value of false will be used.

Name: url
Type: string
Supported values
any url pointing to a compatible video stream

Name: ishd
Type: boolean
Supported values
true|false
Notes
Set to true if video quality is 720p or better

Name: bitrate
Type: integer
Supported values
the bitrate of the video in kbps

Name: subtitleurl
Type: string
Supported values
any url pointing to a srt file

Name: sdbifurl
Type: string
Supported values
any url pointing to a bif file
Notes
SD bif files must be 240x180

Name: hdbifurl
Type: string
Supported values
any url pointing to a bif file
Notes
HD bif files must be 320x240

Name: releasedate
Type: string
Supported values
any string of text
Notes
There is no specific format for the date string. You can use "November 10, 2012" or "11/10/12" or "Sat Nov 10" or any other date format.

Name: starrating
Type: integer
Supported values
any integer between 1-100

Name: rating
Type: string
Supported values
G|PG|PG-13|R|NC-17|UR|UNRATED|NR|TV-Y|TV-Y7|TV-Y7-FV|TV-G|TV-PG|TV-14|TV-MA

Name: genre1
Type: string
Supported values
any film genre

Name: genre2
Type: string
Supported values
any film genre

Name: actor1
Type: string
Supported values
the name of an actor

Name: actor2
Type: string
Supported values
the name of an actor

Name: actor3
Type: string
Supported values
the name of an actor

Name: director
Type: string
Supported values
the name of the director

Name: disableresumebtn
Type: boolean
Supported values
true|false
Notes
If this attribute is omitted the resume button will be displayed by default.

Name: disableplaybtn
Type: boolean
Supported values
true|false
Notes
If this attribute is omitted the play button will be displayed by default.

Name: disabledescriptionbtn
Type: boolean
Supported values
true|false
Notes
If this attribute is omitted the "view full description" button will be displayed by default.

Name: enablereportstreambtn
Type: boolean
Supported values
true|false

Name: enableemailmebtn
Type: boolean
Supported values
true|false

Name: enableemailfriendbtn
Type: boolean
Supported values
true|false


Supported Child Nodes

description

extension

scraper

stream


MongoDB Logo MongoDB