JW Player for Flash & HTML5 Video
[Plugin: JW Player Plugin for WordPress] Auto generate xml playlist from custom taxonomy and custom (3 posts)

  1. isaachorton
    Posted 5 years ago #

    Does anyone know how to auto generate an xml playlist for JW Player from post(custom post type) associated to the current page's taxonomy(custom)?

    Currently I have a single flv video contained in each post/page.
    Each video post is associated with a custom taxonomy that groups related posts into a single course of connected links that allow you to browse through the intended video course.

    I would like to be able to dynamically load the videos into an xml playlist by scanning the posts for the player code and loading it into each player's page dynamically.

    Has anyone tried this? Seems like it would be easy. Im not too great at PHP so I'm hoping for a head start with someone elses code. However if no-one chimes in then Ill try my hand at creating a simple wordpress plugin that accomplishes the task.


  2. JW Player
    Plugin Author

    Posted 5 years ago #


    The Plugin doesn't build playlist's by taxonomy, however it does contain code to autogenerate playlists from posts (it's how the Playlist Manager works). As a starting point you can look at the Plugin code, specifically media/JWPlaylistGenerator.php.


  3. Ken Dirschl
    Posted 5 years ago #

    Just wondering if you got anywhere with this isaachorton? I want to do something similar but with search results instead.

    the JWPlaylistGenerator code looks fairly straightforward, so I might go that way.


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic