Forum Discussion

ezoolander's avatar
ezoolander
Visitor
14 years ago

Simple Video Player Example - Mixed Media

Hi -

I'm doing some testing using the Simple Video Player example...and I have a channel that has mixed media formats (mp4, m4v, m4a and mp3). It appears to work very well with everything but MP3 (I'm thinking probably because it's designed to be purely a video player?)

The XML I have for the MP3 item generally looks like this...

<item sdImg="http://rokudev.roku.com/rokudev/examples/videoplayer/images/JimFallon.jpg" hdImg="http://rokudev.roku.com/rokudev/examples/videoplayer/images/JimFallon.jpg">
<title>My Song</title>
<contentId>2093</contentId>
<contentType>audio</contentType>
<contentQuality>SD</contentQuality>
<media>
<streamFormat>mp3</streamFormat>
<streamBitrate>128</streamBitrate>
<streamUrl>
http://www.myurl.com/file/debug/audio/Mother.mp3
</streamUrl>
</media>
<synopsis>Just a song</synopsis>
<genres>Clip</genres>
<runtime>335</runtime>
</item>

First - is there something wrong with my item tags? If not - is my supposition correct that the video player example is only meant to handle video? If so - how do I go about adding an additional media type to it so it will support mp3s as well?

Thanks!

4 Replies

  • For the record - that's not a REAL url that I'm pointing to in what I just posted. The legit URL in the feed is a real MP3. I just put that there for illustrative purposes.
  • Thanks for the response! ๐Ÿ™‚

    Quick question - because I'm a total noob at this (just started messing with the ROKU system 2-3 days ago) - when I attempt to install the MRSStemplate example archive on to the ROKU from the sdk - it fails. I get a:

    Install Failure: Compilation Failed.

    response. None of the rest of the examples have failed. Any idea how to fix that?