Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The view for playlist.xml generates this result (only the relevant part)
<jwplayer:image>http://my.site.name/sites/default/files/imagecache/playerthumb/testimage.jpg</jwplayer:image>
<jwplayer:file>testfile.mp3</jwplayer:file>
The jwplayer try to access the testfile.mp3 on this url: http://my.site.name/testfile.mp3
And of course not found. (Jwplayer error #2032)
The correct URL would be: http://my.site.name/sites/default/files/testfile.mp3
How can I get this result to the generated playlist?
According to my tests this works:
<jwplayer:file>http://my.site.name/sites/default/files/testfile.mp3</jwplayer:file>
Comments
Comment #1
btopro CreditAttribution: btopro commentedlook for a theme called blackleaf and look at the views templates that are in there. Find the one associated with video and/or media (there's a lot of them so you'll have to skim through). Find the correct one and mod the output to your hearts content. You also might be able to tweak the view that's kicking fields over there and make sure that the one related to file has the full path to the file instead of the local reference.
Comment #2
npsoft CreditAttribution: npsoft commentedMany thanks! Solved :-)
Comment #3
btopro CreditAttribution: btopro commentedComment #4.0
(not verified) CreditAttribution: commentedformatting problem