In the same way than in xspf_playlist_cck we use file_create_url to complete the url of the cck filefield files, for thumbnails we should do the same.

Using file_create_url() would allow to alter the local path in order to use CDN's, this could be done using the CDN Integration module or Pressflow. In the case of Drupal 7 that is integrated.

CommentFileSizeAuthor
xspf_playlist_thumb_file_create_url.patch590 bytesjcmarco

Comments

jcmarco’s picture

This patch requires another patch that fixes a bug when using full url for files.
#800224: Using full url paths for files doesn´t return anything in xspf

aaron’s picture

Version: 6.x-1.x-dev » 6.x-2.x-dev
Status: Needs review » Fixed

committed, thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.