When a files title has an apostrophe in it, the file will not play.

Comments

vm’s picture

confirmed this bug.

vm’s picture

Priority: Normal » Critical

marking as critical because users won't know not to include files with apostrophes in titles either mediafield needs to strip the apostrophe from the file name or be able to play the files with the apostrophe in the name.

a_c_m’s picture

Status: Active » Closed (works as designed)

I think this is an issue with the player (probably flash based) getting confused due to the apostrophe in the name but not directly the issue of MediaField as its working as designed.

a_c_m’s picture

Title: apostrophes in filename won't play » remove apostrophes from file names
Category: bug » feature
Priority: Critical » Normal
Status: Closed (works as designed) » Postponed (maintainer needs more info)

Is there no way this can be dealt with by the player, escaping the file name string etc?

vm’s picture

there are multiple players that can be used. I too think mediafield should strip all special characters. commas, apostrophies and the like to insure the file gets played in any of the players.

I embed a different player then those shipped with the audio module and this is still and issue when users use commas and apostrophies in the titles of audio files

alanburke’s picture

Can't say I've ever used it, but every time I see this problem reported in other issues...
http://drupal.org/project/transliteration
is seen as the solution

a_c_m’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

thanks alanburke - that module (http://drupal.org/project/transliteration) is brilliant, just install it, and it will fix the problem without any code changes needed to this module , brilliant!

vm’s picture

May want to add that note to the project page if you haven't already.