I have been placed in charge of updating a Drupal installation that was woefully out of date. The previous version of EMField was 6.x-1.0-beta1, so I updated to the latest version, 1.18. After the update, embedded custom URL WMV files appear as a flash player that says "Click to play" but does nothing when clicked. I looked at the embed for the player and found that it pointed to a player on http://freevideocoding.com so I searched the custom URL provider file for this URL. This URL appears only in the case that references FLVs in theme_emvideo_zzz_custom_url_embedded_video in zzz_custom_url.inc. It appears that, for some reason, these WMV files are being wrongfully detected as FLVs and passed to the wrong section of the embedding function. Does anyone have any ideas on why this might be occurring? I updated sequentially to each version after I uninstalled 1.18, and found that the issue occurs after the upgrade to 1.12, which has "Add FLV Media Player support to custom url videos" listed as an enhancement.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | add-break-statements-701458-4.patch | 2.08 KB | aaron.r.carlton |
Comments
Comment #1
Herbie commentedI experienced the same problem. It is caused by a bug in zzz_custom_url.inc:
The break statements are missing, so all files are embedded as flv.
Comment #2
aaron.r.carlton commentedi think i am experiencing problems related to this issue also. anyone else? have the maintainers had a chance to look? what about a patch? if all that is needed is the break statements, i can submit a patch, but i think the maintainer or someone more familiar with the code should weigh in...
Comment #3
masondib commentedI was having the same problem, but with rm files being incorrectly embedded as flv. Adding the break statements fixed it for me.
I'm a relative newbie and don't know how to submit a patch, but I just wanted to agree with Herbie that this does seem to be the correct fix.
Comment #4
aaron.r.carlton commentedHere is a patch against the latest development version. Let me know if it doesn't work - I'm still relatively new at submitting patches on d.o :)
Comment #5
aaron commentedthis has been fixed for some time. thanks!