Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

creator line

6 replies [Last post]

I don't get it. The examples show the <creator> line being used successfully including being two lines long. I download the player and no matter what I do I can't get the <creator> line to work at all. Do the examples run a different version of the player than what is downloaded? A good example of this is in the example located at:

http://home5.inet.tele.dk/nyboe/flash/mediaplayer4/JW_API_xmpl_1-1-1-4.html

Thank You

some help please???

The example that you posted is NOT displaying the creator data. In fact, there is no creator data (credit in a MediaRSS format playlist) in the playlist that is used in that example.

Some skins do display the creator data, some don't. Some skins have a multi-line display with Title and Description, some don't. You have to test them to find the one that suits your needs.

All available skins: http://www.longtailvideo.com/addons/skins

Thank you for your reply. I have downloaded various skins and still have not accomplished it. I read that some people use <annotate> to get a line which is not what I want to do. I just want to do what the example does but even though I can copy and paste the code into my page I don't know how they set up the playlist to get the miltiple lines below the title. Is there an example for this? I can only see one side of the equation. I certainly am not a coder but I can follow directions.

Documentation for the MediaRSS playlist is here: http://developer.longtailvideo.com/trac/wiki/FlashFormats#XMLPlaylists

The table shows the playlist element that corresponds to the equivalent flashvar for each playlist format.

For 2-line playlist displays, the first line is the Title and the second line is the Description, which is usually two lines of smaller text, automatically wrapped. (Some skins may display Creator, Title, Duration, and other information on the first line.)

For the playlist used in this example: http://home5.inet.tele.dk/nyboe/flash/mediaplayer4/JW_API_xmpl_1-1-1-4.html which is at: http://home5.inet.tele.dk/nyboe/flash/mediaplayer4/playlist_chapters.xml there is a title element and a description element for each track.

<item>
<title>Opening credits</title>
<media:content url="http://content.bitsontherun.com/videos/cdqMNeoG.m4v" type="video/x-m4v" start="00:00" />
<media:thumbnail url="http://www.jeroenwijering.com/upload/ed1.jpg" />
<description>In which we meet Proog and Emo, the two characters of this movie.</description>
<link>http://orange.blender.org/</link>
</item>

I'm really frustrated. I can not get the second line to show anything. I have attached the playlist code below. Please let me know what I am missing.

---------------------------------------------------

<?xml version="1.0" encoding="urf-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
<trackList>
<item>
<title>I Get Around</title>
<description>The Beachboys - 7/4/1964</description>
</item>

<item>
<title>Rag Doll</title>
<description>The_4_Seasons</<description>>
<location>No1Songs/Rag Doll.mp3</location>
<media:thumbnail url="http://www.mysite.com/Nostalgia 2/4seasons.jpg" />
</item>

</trackList>
</playlist>

You've mixed up the XSPF format playlist with the MediaRSS format playlist, you are missing a location element (which is the only absolutely required element) in the first track, and you have some typOs (double "<" and ">" in the description element of the second track).

Let's start with a valid XSPF playlist:

<?xml version='1.0' encoding='UTF-8'?>
<playlist version='1' xmlns='http://xspf.org/ns/0/'>
  <trackList>
    <track>
      <title>I Get Around</title>
      <annotation>The Beachboys - 7/4/1964</annotation>
      <location>http://www.mysite.com/path/song.mp3</location>
      <image>http://www.mysite.com/path/image.jpg</image>
    </track>
    <track>
      <title>Rag Doll</title>
      <annotation>The_4_Seasons</annotation>
      <location>http://www.mysite.com/No1Songs/Rag Doll.mp3</location>
      <image>http://www.mysite.com/Nostalgia 2/4seasons.jpg</image>
    </track>
  </trackList>
</playlist>

Adjust the location and image URIs to your domain, path(s), and files.