So, I've been thinking of using JWFLVPlayer for video assets for a new site I'm building for a client..
And I like the XML playlist ability of the player but am looking for a means to integrate an XML document into the site that is editable by the client when they wish to upload and add new videos into the playlist.
Was thinking advanced content would be awesome for building the actual XML template.. as I can use content blocks with drop downs to highlight the videos I wish to place on the front end. But this way means creating a page in order to use the Template.
Does anybody have any hints or suggestions on how to make this smoother?
Would be great to have the ability to generate an XML file/template and also assign a file extension to only this file. I have pretty urls enabled and if I was to assign .xml to the file it would do this for all pages no?
Creating an XML playlist that is editable by users
Re: Creating an XML playlist that is editable by users
If you're using mod_rewrite for pretty URLs, you could have this before your normal rewrite:
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d [NC]
RewriteRule ^playlist.xml$ index.php?page=your_playlist_page_alias&showtemplate=false [L]
Nullig
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d [NC]
RewriteRule ^playlist.xml$ index.php?page=your_playlist_page_alias&showtemplate=false [L]
Nullig
Re: Creating an XML playlist that is editable by users
Thanks Nullig,
This might be what I'm looking for !
if I had 2 playlist files I guess I would just add another rule below it no?
This might be what I'm looking for !
if I had 2 playlist files I guess I would just add another rule below it no?