Now that I've worked past the bug in FLV Media player that wasn't displaying the playlist, XSPF Playlist + FLV Media player seems like a pretty good solution for embedding video and creating playlists automatically.
Only problem is, the displayed playlist just shows the same node title for every item in the playlist, and that's it :(
None of the media fields I've tried seem to offer any extra fields for text, just the upload fields (CCK, media field, standard upload). Is there a module out there I'm missing that can create these additional fields for me? What is everyone else doing to add titles/captions to their playlist data?
Comments
Comment #1
sansui commentedOk, I got the titles working (FileField Meta was blocking my file description field), by using the description field for each attachment. Any possible way to also have a caption field?
Comment #2
arthurf commentedCaptions aren't supported in the XSPF standard. There is something called "annotation" which could be implemented, but it's unclear to me what should automatically be entered into these fields- any ideas?
Comment #3
sansui commentedYeah, I see what you mean. There's no custom fields that have an additional field for this information anyway, not sure I'd want it at this point either :) I retract my thoughts on a caption field
Comment #4
riyana56 commentedSometimes it is useful to have a caption for your videos. For example, if you have a long playlist that has a thumbnail and a title, you may want to add a short description. The annotation tag in XSPF does this. However, I have found nowhere in the admin screens that will let you enable the "annotation" field. Therefore, a hack is necessary:
In version 6.x:
Open up xspf_playlist\xspf_playlist_node\xspf_playlist_node.module and go to approximately line 414
You will have to add a new item to the array. Copy the following code and paste it in:
What this code does is add a new tag called annotation to the XML output. In my example above, the annotation value is populated by whatever is in the "Body" field of the node.
Now, when you view your playlist, you will see a caption underneath the title.
Comment #5
riyana56 commentedIf you want to populate the annotation field by a custom created field, then just create the new field for your content type (Content Management -> Edit Content Type -> Manage Fields). Then, go back to the xspf_playlist_node.module and go to approximately line 414 and add the following chunk of code:
In this example, you will replace field_annotation with whatever name you gave your field.
Comment #6
aaron commentedthere is no patch to review. additionally, we've dropped the xspf_playlist_node module, so there's now no automatic way to do this currently, anyway.